IamElectric
Newbie level 5
- Joined
- Jan 2, 2005
- Messages
- 10
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 78
verilog lookup table
To implement a look up table for such as a multiplier, beside using a two dimentional array such as
reg [10:0] mem_arry[15:0]
and then initialize them in the "initial" block to the value you want?
Is there any other way of doing this?
I know that in VHDL, use can use two dimentional constant to implement a ROM look up table.
Besides using two dimentional array reg, and initialize in "initial" block, can someone recommend a different way?
To implement a look up table for such as a multiplier, beside using a two dimentional array such as
reg [10:0] mem_arry[15:0]
and then initialize them in the "initial" block to the value you want?
Is there any other way of doing this?
I know that in VHDL, use can use two dimentional constant to implement a ROM look up table.
Besides using two dimentional array reg, and initialize in "initial" block, can someone recommend a different way?