Input file

Hi am new to OrCAD and in learning phase. I am just confuse with the input file creation. My question is that:

1) how to make input file?

    i go through one simple example from book and try to simulate but it won't work. Is it necessary to build a circuit before writing a input file? or it require simultaneously input file and circuit diagram for simulation.

2) How to number the node?

   the input file given in the book is:

 ** DC Circuit Example
  ** Circuit Discription
  VS 1 0 DC 20V
  IS 0 4 DC 50MA
  R1 1 2 500
  R2 2 5 800
  R3 2 3 1 K
  R4 4 0 200
 
  *Analysis Request**
  VX 3 0 DC 0V
  VY 5 4 DC 0V
 
  **Outputs Requests**
  .OP
  .END

and the steps to run the program is :

1) go to start->PSpice

2)File->New->text file

3) type ur input file

4) save input file with .CIR extension

5) from ''Simulation'' menu go to run <input file>

6) the output file will be automatically be given the extension <input file>.out

7) the simulation results file will have the extension <input file>.dat

 

i complete upto 4th steps but after that  the simulation menu is not available (it is inactive)

iam using OrCAD Capture CIS 16.3 demo

 

I run some example from book CD with circuit (.DSN extension). It works well and give output waveform perfectly. But there was no input file for the same ckt. So my question is why do we need input file if we can run simulation creating a circuit diagram only?

 Please help me ....iam really stuck with this input file.

Thnx.

  • In the Probe (PSpice AD) window, close the file, File>Close, and use File>Open, select type of file as CIR, to open the CIR file just created. The "significance" of the file type / name is only interpreted on when the file is opened.

  • Node Numbers: 0 is "reserved", this is the PSpice reference node, all circuit nodes must have a DC path to this node, after that "pertty much" any net name is valid. IF you create a circuit in Capture and run a simulation, a netlist will be created, similar to teh text that you have entered, and the simulation will be run on that netlist. In that case, you circuit netlist will have a 0 node and the other net names will be assigned from the schematic, either default names or user assigned net alises.

  • Thanks a lot oldmouldy ....simulation run like magic!

    but iam still not clear about the difference between OrCAD CIS simulation (building a circuit and simulate) and PSpice simulation (programming and simulate). As if we build circuit in OrCAD CIS and run simulation then it will create netlist which is exactly like the input file we write in PSpice. So what is the difference in simulating the circuit using either simulator?

  • There is no real difference in the simulation and results that you get whether you start from a graphical circuit or a text netlist. The primary differences are that drawing the schematic allows other users to understand the structure of the circuit, this is probably less than clear from just a text netlist; modifying the circuit graphically is easier and, potentially, less error prone than modifying the text netlist; you can add / remove probes from the graphical circuit and the Probe window updates with the node results, using a text netlist you have to use Trace>Add Trace, similar effect, and you can also do this from a graphical circuit simulation, but, perhaps, not quite as intuitive as manipluating probes in the schematic.

CDNS Forum Thread CSS JS
CDNS - Fix Layout