Altera_Forum
Honored Contributor
15 years agoNios-controlled LUT
Hello
I am tryingo to implement a very simple system: there is a LUT made up in vhdl (using the case statement), and I would like to modifyLUT's coefficients using a Nios2 processor. The lut is something like this --- Quote Start --- alway@(posedge clock) case (data_in) 8'd0 : data_out=0; 8'd1 : data_out=1; 8'd2 : data_out=2; ...and so on; endcase --- Quote End --- with more case and inserted in a module. I would like to be able to update the values, instead having 0,1,2... But i really don't have many ideas on how to do that. I thought that I could use a small ram block, or a fifo between the Nios master and the custom block, but I don't know if it could be a good idea. Could anyone give me any hint, or any suggestions? best regards Phate.