PSpice: Display and set simulator options in the schematic (

Guest
Hi.

According to...

http://www.spectrum-soft.com/down/summer2000.pdf
"Flip-flops are set to a value dictated by the value of DIGINITSTATE,
which is set from the Global Settings
menu, or by a .OPTIONS DIGINITSTATE=<value> command somewhere in the
circuit."

.... it should be possible to display and set options within
schematics. Especially for documentation I would like to do that.

But it does not work in PSpice/OrCAD 16. I have put a text string
".OPTIONS DIGINITSTATE=1" into the Capture schematic but the string is
not copied into the .sim file as (which instructs the spice
simulator)...

I also didn't really expect that entering simulator options as text
strings would work. And the PDF above is about Micro-Cap 6...

Does anyone know a solution for PSpice/Capture to set (and display)
simulator option within the schematics?


Regards,
Norbert N.
 
On Thu, 13 Nov 2008 03:58:20 -0800 (PST), norbert.notz@gmx.de wrote:

Hi.

According to...

http://www.spectrum-soft.com/down/summer2000.pdf
"Flip-flops are set to a value dictated by the value of DIGINITSTATE,
which is set from the Global Settings
menu, or by a .OPTIONS DIGINITSTATE=<value> command somewhere in the
circuit."

... it should be possible to display and set options within
schematics. Especially for documentation I would like to do that.

But it does not work in PSpice/OrCAD 16. I have put a text string
".OPTIONS DIGINITSTATE=1" into the Capture schematic but the string is
not copied into the .sim file as (which instructs the spice
simulator)...

I also didn't really expect that entering simulator options as text
strings would work. And the PDF above is about Micro-Cap 6...

Does anyone know a solution for PSpice/Capture to set (and display)
simulator option within the schematics?


Regards,
Norbert N.
Don't know about Capture, but in PSpice Schematics you _could_ simply
make a options PART and make its template as you describe. I have my
own PARAM part that handles a large list. Also "MyLib" allows a check
mark to turn library calls on and off.

Charlie E can tell us if this works in Capture.

You could also put that text line inside a file that's called by
..INCLUDE

...Jim Thompson
--
| James E.Thompson, P.E. | mens |
| Analog Innovations, Inc. | et |
| Analog/Mixed-Signal ASIC's and Discrete Systems | manus |
| Phoenix, Arizona 85048 Skype: Contacts Only | |
| Voice:(480)460-2350 Fax: Available upon request | Brass Rat |
| E-mail Icon at http://www.analog-innovations.com | 1962 |

I love to cook with wine Sometimes I even put it in the food
 
Thanks for your response, Jim. But it does not work. I just have tried
a PARAM part with ".OPTIONS DIGINITSTATE=1". The result is:

--------------- Simulation Profile: SCHEMATIC1-bias ---------------
Simulation running...
** Profile: "SCHEMATIC1-bias" [ D:\Arbeit\Projekte\HRWS_DBFU
\PSpice_EGSE\egse-pspicefiles\schematic1\bias.sim ]
Reading and checking circuit
Invailid Param name - .options
ERROR -- Invailid Param name - .options
Run aborted
Circuit has errors ... run aborted
See output file for details
Simulation aborted


Then I have tried a PARAM part with "DIGINITSTATE=1". It does
nothing. :-(

It leads to the string ".PARAM diginitstate=1" (instead of ".OPTIONS
DIGINITSTATE=1") in the .out file and does not affect the simulation.
As far as I know the PARAM part is only used to define variables
(voltages, frequencies, ...).
 
On Thu, 13 Nov 2008 23:29:46 -0800 (PST), norbert.notz@gmx.de wrote:

Thanks for your response, Jim. But it does not work. I just have tried
a PARAM part with ".OPTIONS DIGINITSTATE=1". The result is:

--------------- Simulation Profile: SCHEMATIC1-bias ---------------
Simulation running...
** Profile: "SCHEMATIC1-bias" [ D:\Arbeit\Projekte\HRWS_DBFU
\PSpice_EGSE\egse-pspicefiles\schematic1\bias.sim ]
Reading and checking circuit
Invailid Param name - .options
ERROR -- Invailid Param name - .options
Run aborted
Circuit has errors ... run aborted
See output file for details
Simulation aborted


Then I have tried a PARAM part with "DIGINITSTATE=1". It does
nothing. :-(

It leads to the string ".PARAM diginitstate=1" (instead of ".OPTIONS
DIGINITSTATE=1") in the .out file and does not affect the simulation.
As far as I know the PARAM part is only used to define variables
(voltages, frequencies, ...).
Looks like I confused you.

MY parameter part:

template=.PARAM @NAME1=@VALUE1 #NAME2/@NAME2=@VALUE2/\n+
#NAME3/@NAME3=@VALUE3/ #NAME4/@NAME4=@VALUE4/\n+
#NAME5/@NAME5=@VALUE5/ #NAME6/@NAME6=@VALUE6/\n+
#NAME7/@NAME7=@VALUE7/ #NAME8/@NAME8=@VALUE8/\n+
#NAME9/@NAME9=@VALUE9/ #NAME10/@NAME10=@VALUE10/\n+
#NAME11/@NAME11=@VALUE11/ #NAME12/@NAME12=@VALUE12/\n+
#NAME13/@NAME13=@VALUE13/ #NAME14/@NAME14=@VALUE14/\n+
#NAME15/@NAME15=@VALUE15/ ?NAME16/@NAME16=@VALUE16/

You want to make a PART with template:

template=.OPTIONS @NAME1=@VALUE1 #NAME2/@NAME2=@VALUE2/\n+
#NAME3/@NAME3=@VALUE3/ #NAME4/@NAME4=@VALUE4/\n+
#NAME5/@NAME5=@VALUE5/ #NAME6/@NAME6=@VALUE6/\n+
#NAME7/@NAME7=@VALUE7/ #NAME8/@NAME8=@VALUE8/\n+
#NAME9/@NAME9=@VALUE9/ #NAME10/@NAME10=@VALUE10/\n+
#NAME11/@NAME11=@VALUE11/ #NAME12/@NAME12=@VALUE12/\n+
#NAME13/@NAME13=@VALUE13/ #NAME14/@NAME14=@VALUE14/\n+
#NAME15/@NAME15=@VALUE15/ ?NAME16/@NAME16=@VALUE16/

...Jim Thompson
--
| James E.Thompson, P.E. | mens |
| Analog Innovations, Inc. | et |
| Analog/Mixed-Signal ASIC's and Discrete Systems | manus |
| Phoenix, Arizona 85048 Skype: Contacts Only | |
| Voice:(480)460-2350 Fax: Available upon request | Brass Rat |
| E-mail Icon at http://www.analog-innovations.com | 1962 |

I love to cook with wine Sometimes I even put it in the food
 
On Thu, 13 Nov 2008 19:18:25 -0700, Jim Thompson
<To-Email-Use-The-Envelope-Icon@My-Web-Site.com> wrote:

On Thu, 13 Nov 2008 03:58:20 -0800 (PST), norbert.notz@gmx.de wrote:

Hi.

According to...

http://www.spectrum-soft.com/down/summer2000.pdf
"Flip-flops are set to a value dictated by the value of DIGINITSTATE,
which is set from the Global Settings
menu, or by a .OPTIONS DIGINITSTATE=<value> command somewhere in the
circuit."

... it should be possible to display and set options within
schematics. Especially for documentation I would like to do that.

But it does not work in PSpice/OrCAD 16. I have put a text string
".OPTIONS DIGINITSTATE=1" into the Capture schematic but the string is
not copied into the .sim file as (which instructs the spice
simulator)...

I also didn't really expect that entering simulator options as text
strings would work. And the PDF above is about Micro-Cap 6...

Does anyone know a solution for PSpice/Capture to set (and display)
simulator option within the schematics?


Regards,
Norbert N.

Don't know about Capture, but in PSpice Schematics you _could_ simply
make a options PART and make its template as you describe. I have my
own PARAM part that handles a large list. Also "MyLib" allows a check
mark to turn library calls on and off.

Charlie E can tell us if this works in Capture.

You could also put that text line inside a file that's called by
.INCLUDE

...Jim Thompson
Hi Jim,
Both work in Capture. IIRC, there is also an option file that you can
put things in, to set up 'wild and crazy' options for the simulator.

the DIGINITSTATE is what is set in the options (1,0,X) so you don't
usually have to put that in as an include file. IIRC, you can set up
each FF with an IC value as well.

Charlie
Edmondson Engineering Inc.
 

Welcome to EDABoard.com

Sponsor

Back
Top