Multisim and Ultiboard

cancel
Showing results for 
Search instead for 
Did you mean: 

Digital net and De Morgan curiosity

While implementing a SN74196 (Presettable Decade Counter) as a hierarchical block I have found a strange behavior that I can't understand.

 

Looking at the attached circuit you see that the IC inputs, LOAD/COUNT and CLEAR, are connected to an OR gate with two inverted inputs.

 

I have firstly used an OR gate and two NOT at the inputs but it didn't work: a negative pulse on the CLEAR input correctly set all the Q outputs to zero on the falling edge but the following rising edge set all the Q outputs to the values currently applied to the Data inputs (wrong).

 

After a few trials I have replaced the OR gate and the two NOTs with the De Morgan equivalent, just a NAND gate, and everything was then working fine.

 

Now my question is: why this? Where is the difference in the two versions of this circuit?

 

Is it related to the sequence used by Multisim 13 in evaluating the net events?

 

Ciao and thanks for the attention.

 

Franco

0 Kudos
Message 1 of 3
(4,593 Views)

Hi, I think the OR and double NOT is not equivalent to a NAND, so the behaviour wasn't correct before.

0 Kudos
Message 2 of 3
(4,522 Views)

Hi FatBoyMonchi:

sorry for the delayed reply but only now I saw your post.

 

If you look in the left-bottom corner of the attached circuit you see the LOAD/COUNT (I1) and CLEAR (I2) connected to an OR gate trough two inverted inputs so, I think, the OR output (U) is:

U = Not(I1) OR Not(I2)

 

But, for the De Morgan equivalence,

U = Not(I1) OR Not(I2) = Not(I1 AND I2) = I1 NAND I2.

 

If my previous expressions are correct, I still don't understand the different Multisim behavior.

 

Ciao, thanks for the reply and to the next.

 

Franco

 

0 Kudos
Message 3 of 3
(4,390 Views)