[SOLVED] Why Is my Logical Inverter always Giving Me 'z's?

Status
Not open for further replies.

kvn0smnsn

Junior Member level 2
Joined
Nov 20, 2022
Messages
22
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
165
I took my browser to "https://www.edaplayground.com" to run the EDA playground,
and got a display with four windows. In the window on the left I clicked on
(Tools & Simulators) and selected (Synopsys VCS 2021.09). To the right of that
window, on the bottom was a window that output messages; above it was two
windows; in the one on the left I inserted:
and on the right I inserted:
// (c) Kevin Simonson 2024

module Nt ( result, operand);
output result;
input operand;
supply1 power;
supply0 ground;

nmos nm( result, operand, ground);
pmos pm( result, operand, power );

endmodule
Then I clicked on (Run) up at the top, and the window on the bottom gave me the
message:
Why are my values for (negated) each 'z'? Isn't module (Nt) just a logical
inverter? Shouldn't (negated) be '0' when (orig) is '1' and vice versa? What am
I doing wrong?
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…