Altera_Forum
Honored Contributor
19 years agoRebuilding library after changing hardware design
I am using the standard FPGA design from the Nios II kit and I have a working project with ecos. I want to add another PIO port to my design. After adding the new PIO port in SOPC builder and rebuilding the FPGA design in Quartus, how do I rebuild ecos to give me access to the new PIO port? I tried using the nios2config tool to clean and then rebuild my project, but this did not generate a new copy of install/cyg/hal/system.h in the folders under my ecos project.
I then made a new ecos configuration file in a new folder. When I built that library the system.h file which was generated contained references to the new PIO port I had added. I don't want to have to start a new ecos project every time I tweak my hardware, is there a method to make nios2config regenerate the system.h file after changing the hardware design? Mike