Forum Discussion
Altera_Forum
Honored Contributor
14 years agoInterfacing custom module with Nios II
Hello, I have written an AES-128 Encryption module in SystemVerilog, and instead of just flashing it onto the DE2-115 board, and having it show results on LED/7-Segment's etc, I want to connect...
Altera_Forum
Honored Contributor
14 years agoAccording to the pdf file you can set DATA_WIDTH to 128. But the tcl file allows you to select only a 8,16 or 32 bit data width.
I don't know if a 128 width could actually be used and how it would be synthesized. Since Avalon is a 32bit bus, at least 8 bus cycles are required even so. Then, I'd rather define DATA_WIDTH=32 and span the 128 key data on multiple user_data registers. Regarding the 1bit signals there's no problem: you can route one single user_data line to your custom logic and discard all the others.