Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

reg and wire of verilog programming

Status
Not open for further replies.

Vimalab

Banned
Newbie level 6
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.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top