Orcad simulation problem

Status
Not open for further replies.

DimaA

Member level 3
Joined
Jan 19, 2004
Messages
66
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
563
orcad mixed analog/digital

I'm trying to simulate a simple frequency divider by usinf D-Flip-Flop, but I get strange output. I guess the simulator doesn't know the initial state of flip-flop. Is there a way to solve the problem?
 

options simulations settings orcad

Hi,

You need to disconnect CLR pin from +5vdc and connect it to a reset signal. This reset can be another STIM source which is at 0 for several microsecond and then goes to 1 for the rest of the time.
 

in toolbars ->power pins ....u can find 'high' and 'low' pins.
use these to insert a high or a low digital input for simulation
or use STIM .................

regards
 

No analog power supply is used in digital circuit. Put HI/LOW ports instead!! And for simulation setting window you have to initialize the state of the flip flop.

Hope this helps
 

Jack// ani said:
And for simulation setting window you have to initialize the state of the flip flop.
How exactly I do it? I didn't find such an option in simulation settings window
 

Hope you will understand everything after looking at this.......
 

Hi,

This also works fine, by using mixed analog/digital simulation. Dont forget to set IC = 0V in C1's parameters
 

Go to the Simulation Settings-Options and click to Gate-level Simulation and Initialize all flip-flops to 0 or 1. This setting you have to do.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…