| Author |
Message |
Tetra
Joined: 19 Jun 2003 Posts: 16
|
14 Jul 2003 11:56 Best way to build big LUT |
|
|
|
I want to build a big LUT in VHDL. What is the best way to build it without sacrifizing the VHDL generality (i.e without using technology specific memory)
regards
|
|
| Back to top |
|
 |
cube007
Joined: 12 Mar 2002 Posts: 538 Helped: 12 Location: Australia
|
14 Jul 2003 12:03 |
|
|
|
| As I understand you correct, you want to write VHDL code with a big LUT in it and you don't want to use special code which is only for e.g. @ltera or Xilinx?
|
|
| Back to top |
|
 |
Tetra
Joined: 19 Jun 2003 Posts: 16
|
14 Jul 2003 12:04 |
|
|
|
| That is right
|
|
| Back to top |
|
 |
cube007
Joined: 12 Mar 2002 Posts: 538 Helped: 12 Location: Australia
|
14 Jul 2003 12:33 |
|
|
|
Good, all you have to do is to declare a big constant array with all the information you want to have as your LUT. The synthesis tool will recognize your code as a ROM. If the array is very big the data will be stored in the system depending space of your FPGA (Altera -> EAB, Xilinx -> Embedded BlockRAM).
by,
cube007
|
|
| Back to top |
|
 |