Ok so lets say I have hardware that does this -> Y=5*a . It takes data from 1 memory location , feeds it to 'a' and then stores the result 'Y' in the same memory location. The module has an address generator which increments the address every clock cycle. So now I have 1 'clock' input, 1 'address' output, 1 'data' inout.
Now in my head, I have 3 parts to the system - my hardware, the NIOS system, and the SDRAM. The SDRAM is connected to the SDRAM controller (built as part of the NIOS system). My hardware is connected to the NIOS system as well. I have no use for the processor since im not going to run any C code on it. All it does is provide a master device for my SDRAM controller. (The only reason im using the NIOS is to get the SDRAM controller)
How do I get NIOS system to redirect the address I generate to the SDRAM and get the data back and forth between my hardware and the SDRAM?