Forum Discussion
ab4
New Contributor
7 years agoI want to design bcd to decimal decoder using structural style. I did it successfully but the problem when I simulate it in Modelsim it does not meet with the truth table.
The truth table: Input (ABCD) Output 0000 =>0111111111 0001 => 1011111111 0010 => 1101111111 0011 => 1110111...
AnandRaj_S_Intel
Regular Contributor
7 years agoHi,
Have you implemented 4input NAND gate in entity nandg1?
y<= (a nand b) nand (c nand d);
should be like y<= (a nand b) or (c nand d);
Also check portmap L2.