reg and wire of verilog programming

Status
Not open for further replies.

Vimalab

Banned
Joined
Oct 1, 2014
Messages
12
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
0
reg [3:0]cval.
wire [3:0]quot.

what is the initial value of cval and quot in verilog programming?
 

reg does not have a default initial value. You have to give it one. In simulation, if a register is unintitalized, it will appear as 'X'.

Wires do not have the ability to hold a state. A wire will always take on the value of whatever it is connected to.

r.b.
 

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