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.

what does reg [((8*20)-1) :0] clocklab[0:28]; means ?

Status
Not open for further replies.

jay_ec_engg

Full Member level 3
Joined
Jun 19, 2004
Messages
155
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,296
Location
India
Activity points
1,581
What does thsi statement means ??

reg [((8*20)-1) :0] clocklab[0:28];
 

This means "clocklab" is memory of 29 locations each location is of 160 bits.
 

it is mean that clocklab is a ram with data width 160 and deepth 29.



jay_ec_engg said:
What does thsi statement means ??

reg [((8*20)-1) :0] clocklab[0:28];
 

This is a memory with depth of 29 and width of 160 bits.width wise bits are located as 0th bit LSB and depth wise locations are located as 28th location being the lower most.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top