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.

Rom inference in Verilog

Status
Not open for further replies.

amolgupta87

Newbie level 4
Joined
Aug 11, 2009
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,308
I have a logic function to implement. It's quite an odd/irregular one and large. I have a truth table to represent it. In order to implement it i would like to have a constant array having. How can I have an array in verilog which also gets synthesized(what construct / keyword). The value of array will not change.

P.S. my synthesis tool is rc from cadence.
 

Am not sure try this
Declare 2d array

assign a[0] = 5'd1;
assign a[1] = 5'd2;

since we are driving the constant, i felt that tool may infer this as ROM.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top