Forum Discussion
Altera_Forum
Honored Contributor
13 years agoUhm... I'm not sure if I get your questions correctly.
Once you've setup your SOPC, with the NIOS, memory, your StatementCoverage component, what SOPC builder will produce is a VHDL module, which you can use however you like. The NIOS component, RAM component, StatementCoverage component, etc and the interconnect between them will all be kept within the SOPC generated module. That module will only have as ports the external signals: clk, reset, exported conduit interfaces (such as your coe_tdrinterface_xxx signals). Then you can use that module as any other module. You can make it the top level module in your design or you can instantiate it from another module. So, to sum up, you need to create a StatementCoverage component which has - conduit interfaces with all the signals you need to connect to the outisde world (HSMC, LEDs, etc) - Avalon-MM slave interfaces with enough address space for all the functions you need (ie, the bit RAM, registers to control the LEDs, etc) - An Avalon Interrupt interface. Then setup your SOPC, export the StatementCoverage's conduit interfaces and generate the SOPC module. Then you could make the SOPC generated module the top level module in your design and proceed to assign it's I/O ports to FPGA pins. However, since you're working with a DE2-115 board, I suspect you've already found an empty project with the pin assignment already done. So, I suggested you begin with that empty project as top level and then instantiate the SOPC generated module within it.