Forum Discussion
Altera_Forum
Honored Contributor
12 years agoHi,
first you need to understand what are the inputs and outputs that the board has and what are the inputs and outputs the algorithm module has. From a quick look, the algorithm module takes a clock, a start and done signal and a 64x64 bit memory input interface and a 64x64 bit memory output interface. Of course, there's nothing on the board that can actually interface with this directly. So, you'll need to create a VHDL module where you instantiate the algorithm module, along with some kind of interface to the board's hardware. One quick way you can get it working in simulation: Create a module when you instantiate the algorithm module plus 2 64x64 altsyncsram modules (from the MegaWizard). One of the memory modules will be your input, the other the output. Create and set a .hex file on the input memory block with some data. Then give the design a "start" pulse and see that it writes the output on the output memory block. Once you have this working on simulation, you can make it work on hardware. - Assign the clock, reset, start and done signals. - Enable the In-System memory editor, this will allow you to write and read the contents of the memory blocks through the JTAG interface.