S
Sridhar_Gadda
Guest
hello Friends
it is possible to produce -1 at the output port. I have written a simple
code.
reg d;
initial
d = -1;
always at (posedge clock)
q = d;
After simulation, I got the value of q as 1. I souppose to get -1. It is
not possible to produce negative voltages in verilog ?? Only we have to
work with 1's and 0's ??
Thanks in advance
Sridhar
it is possible to produce -1 at the output port. I have written a simple
code.
reg d;
initial
d = -1;
always at (posedge clock)
q = d;
After simulation, I got the value of q as 1. I souppose to get -1. It is
not possible to produce negative voltages in verilog ?? Only we have to
work with 1's and 0's ??
Thanks in advance
Sridhar