Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

Updating Look-Up Table with .mif or .hex file

Hi,

I am implementing a Look-up Table that would require being updated from either a .mif or .hex file generated from MATLAB. I am thinking of using a two-port RAM block, where one port could be used to update the LUT entirely and the other port for normal operations.

My concerns are as follows:

- is it possible to update the LUT by feeding an updated .mif file (is there any way of getting the RAM to re-read the .mif file for new values) without re-compiling the design?

- is there an option to implement a LUT with two columns, where the input to the LUT would search for itself (the input value) in column 1 and output the corresponding value from column 2?

Your help and guidance will be highly appreciated :).

8 Replies