Altera_Forum
Honored Contributor
10 years agoImplementing a table
Hello all,
I'm trying to implement a table with stored switching angles for an inverter on to an FPGA. I'm a beginner so I'm having a lot of trouble figuring this out so please bare with me. Here's what I have: I have a .hex file, with 4608 lines representing 9 groups of 512 angles. So each angle has 512 increments depending on a modulation index starting from 0.48 to 1.00 in increments of 0.001. What i need to do is make a block that would store this table on to the FPGA and then when i give a modulation index as an input give 9 angles as an output depending on the modulation index. Is there a megafunction block I could use for something like this, or do i need to code it in VHDL? The FPGA i have at my disposal is a Cyclon III and also a Cyclon II training board. So please give me Your guidelines, suggestions and advises on how I could proceed with this. Any help would be appreciated greatly. Thank You.