Forum Discussion
Altera_Forum
Honored Contributor
19 years agoAre you using Verilog, VHDL or Block Diagram?
Verilog Solution (Top level module):module Top (
CLOCK_50,
KEY
);
input CLOCK_50;
input KEY;
nios_system NIOSII (
.clk (CLOCK_50),
.reset_n (KEY)
);
endmodule Necessary pin assignments: CLOCK_50 = PIN_N2 KEY[0] = PIN_G26 The code assumes that your SOPC Builder system is called nios_system. Also, you will have to add signals for all the other components in your system. A second option is to make the nios_system the top level module and assign clk = PIN_N2 reset_n = PIN_G26 in the pin assignment editor. As for the choice of processors, you can use any version which meets the needs of your application. I like the economy version for its size and lack of caches, but it can be too slow for some applications. - Blair