From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Multisim and Ultiboard

cancel
Showing results for 
Search instead for 
Did you mean: 

How to delay signals

Solved!
Go to solution

As a part of a larger assignment, I have made this 3 bit counter (see attachments). It should output signals in this order:
000
001
010
011
100

 

(and this should repeat endlessly.) But it's not working as intended, I am stuck.

I think the problem is that the triggers' outputs cause them to flip back and on, since input comes instantly from their output.

 

I have trouble finding an element which can cause a few millisecond delay. Any help appreciated.

0 Kudos
Message 1 of 4
(9,591 Views)

Hi, 

 

Every gate has a delay, the AND gate has a longer delay than the OR gates so your feedback signal can arrive at different rates and  it's difficult to pin point which one is causing the problem, even your clock signal is slower than the feedback circuit so control the triggering is difficult.  If you were to ground U5A input, you will see the SR outputs are continuously changing.

 

If I have to create this counter, I would use three cascading flip flops.  This way, the clock will control the counter frequency and I don't have to worry about the gate delays.  

 

Tien P.

National Instruments
0 Kudos
Message 2 of 4
(9,572 Views)
Solution
Accepted by topic author voice3

Hi,

 

In Multisim, there is a component called TRANSPORT_DELAY which you can use to add a delay to your digital signals. This is in the Misc Digital Group and TIL Family. Please take a look at attached example. You can modify the delay times by going in the Properties of this component and under the Value tab, click on Edit model.

 

Hope this helps.

Regards,

Tayyab R,
National Instruments.
0 Kudos
Message 3 of 4
(9,570 Views)

YESSSSS it finally worked. Thanks for replies 🙂

 

Just in case anyone is interested, see attachments.

 

0 Kudos
Message 4 of 4
(9,549 Views)