P
Pankaj Golani
Guest
Hi all
I am facing some problem with the trireg variable and switch level
modeling in my code.The code is as follows
module xyz(A0,A1,B0,B1)
inout A0,A1,B0,B1;
trireg A0,A1,B0,B1;
nmos(A0 , GND,F0);
nmos(A1, GND, F0);
pmos(B0, VDD, D0);
pmos(B1, VDD, D1);
where F0,F1,D0,D1 are some internal nodes.But the problem is that
after initializing A0 = 1, A1 = 0 the correct result should be that
after some delay both A0 and A1 = 0 due to F0 =1 and B0 = 1 and B1 = 0
due to D0 = 1 and D1 = 0 but i am getting a X state in A0 and B0.
Am i doing something wrong.
Thanks
Regards
Pankaj Golani
I am facing some problem with the trireg variable and switch level
modeling in my code.The code is as follows
module xyz(A0,A1,B0,B1)
inout A0,A1,B0,B1;
trireg A0,A1,B0,B1;
nmos(A0 , GND,F0);
nmos(A1, GND, F0);
pmos(B0, VDD, D0);
pmos(B1, VDD, D1);
where F0,F1,D0,D1 are some internal nodes.But the problem is that
after initializing A0 = 1, A1 = 0 the correct result should be that
after some delay both A0 and A1 = 0 due to F0 =1 and B0 = 1 and B1 = 0
due to D0 = 1 and D1 = 0 but i am getting a X state in A0 and B0.
Am i doing something wrong.
Thanks
Regards
Pankaj Golani