beginner_EDA
Full Member level 4
Hi,
How to implement look up table in fpga and what is its purpose in fpga?
How to implement look up table in fpga and what is its purpose in fpga?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Exactly, you got right. Could you please explain little bit lets say for sine generator?I guess the question isn't asking about LUT as logic element in FPGAs but how to implement a ROM table e.g. for a sine generator. The term LUT is unfortunately equivocal.
This you mean like using MATLAB or MS EXCEL?- generating the initialization file (e.g. *.coe) in a spread sheet calculator or math tool.
one thing is still not clear to me.You need to follow specific design templates to get the behavioral table description implemented in block RAM.
This I didn't understand.- describing the look up table completely in VHDL or Verilog, including the calculation of sine values at synthesis time
You can generate finer resolution by linear interpolation. Or implement the table with required number of points. Having 1024 to 4096 points is no problem with mid range FPGA. Or use the sine tables provided by FPGA vendor DDS cores. They are using different "hybrid" methods with optimized memory or logic utilization.Let's say I have generated a .coe file for sine using matlab/excel that have 32 points i.e. "memory_initialization_vector=" contains 32 different values.
This look up table can not be used for sine having more than 32 points?
Many previous posts are discussing sine table calculation in HDL, see e.g.This I didn't understand.