Guest
Hello Everyone,
I am facing some issues with verilog charge strengths. Here's what I
want -- the signal a must reflect the charge strength of the signal
which is driving a. Here's my code:
assign (strong1, weak0) d = 1'b0; // d's strength is now We0
initial #2 $display ("%v", d); // this will print "We0"
assign a = d;
initial #4 $display ("%v", a); // this prints "St0" :-(
Can anyone please help solve my problem? All I need is some verilog
code which lets the assigned signal take on the charge strength of the
driving signal.
Thanks and Regards,
Arpan
I am facing some issues with verilog charge strengths. Here's what I
want -- the signal a must reflect the charge strength of the signal
which is driving a. Here's my code:
assign (strong1, weak0) d = 1'b0; // d's strength is now We0
initial #2 $display ("%v", d); // this will print "We0"
assign a = d;
initial #4 $display ("%v", a); // this prints "St0" :-(
Can anyone please help solve my problem? All I need is some verilog
code which lets the assigned signal take on the charge strength of the
driving signal.
Thanks and Regards,
Arpan