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.

How to make an array in verilog equal zero ?

Status
Not open for further replies.

eng_msa_8_8

Junior Member level 3
Joined
Jun 11, 2009
Messages
27
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,468
hi to all
i have an array in verilog code
Code:
  reg [7:0] memory [15:0];

how can i make it equal zero ???
 

array in verilog ?

for (i=0; i<16; i=i+1)
begin
reg = 8'h00;
end
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top