IamElectric
Newbie level 5
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?