T
Tomek
Guest
Hello,
It's the first time I am posting to comp.lang.vhdl,
and I am a complete VHDL beginner, so please bear with me.
Using ActiveHDL's waveform editor I am trying to simulate
a simple NAND gate. The following is an excerpt from the VHDL code:
[...]
input_1 : in bit;
input_2 : in bit;
output : out bit; -- interface declaration;
[...]
output <= not (input_1 and input_2); -- architecture declaration;
[...]
After the simulation is _initialized_, the state of the "output"
port is '0', whereas I expected it to be '1' according to NAND's
truth table. Why doesn't the initialization process initialize
the "output" port?
Thank you very much indeed for all kind comments,
Kindest regards,
Tom
It's the first time I am posting to comp.lang.vhdl,
and I am a complete VHDL beginner, so please bear with me.
Using ActiveHDL's waveform editor I am trying to simulate
a simple NAND gate. The following is an excerpt from the VHDL code:
[...]
input_1 : in bit;
input_2 : in bit;
output : out bit; -- interface declaration;
[...]
output <= not (input_1 and input_2); -- architecture declaration;
[...]
After the simulation is _initialized_, the state of the "output"
port is '0', whereas I expected it to be '1' according to NAND's
truth table. Why doesn't the initialization process initialize
the "output" port?
Thank you very much indeed for all kind comments,
Kindest regards,
Tom