I've been implementing a hardware module in VHDL for part of my university dissertation and I want to implement it as part of a NIOS II core in my cyclone 2 FPGA. This uses the Avalon interface, what resources can I look at designing a generic module? I have no idea where to start with this part of my project.
I don't know whether my design will be a slave or a master. Can someone point me in the relevant direction on designing the part of my project.
So I want my hardware module to form some extra instructions of the CPU to speed up the execution of a specific algorithm. So that we have some Assembly call in my C program that uses the hardware encryption co-processor.
My hardware module is DES Encryption module, and i'd like some extra instructions so that I can interface a CPU core to my module.