Forum Discussion
Altera_Forum
Honored Contributor
13 years agoI have added an extra PIO for the green led and my top levels file is as follows:
module PWM_Module (CLOCK_50, KEY, LEDG[0]); input CLOCK_50; input [0:0] KEY; output [0:0] LEDG; embedded_system U0 ( .clk_clk(CLOCK_50), .reset_reset_n(KEY[0]), .pwm_out_export(LEDG), // pwm_out.export ); endmodule I have imported the DE2_115.qsf file and the pin mappings should be fine. I could compile and program the hardware system to the board. Now I have created the NIOS II project in Eclipse but can't find a way to get it working. In the tutorial using SOPC the following step is mentioned: The SW Files tab lets you associate software files with the component, and specify their usage. This component example design provides both a header file that defines the registers and driver software for the Nios II processor This tab wasn't available in Qsys, I tried to manually add these files to the created bsp project without succes.