Forum Discussion

ove's avatar
ove
Icon for New Contributor rankNew Contributor
1 month ago
Solved

Nios-V on Cyclone IV

Hi all

Trying to get a NÌOS-V running on Cyclone IV using, just the basics. Using Quartus 25.1.

Just as a test I added just the neccessary components and the sysid as shows in the picture below.

Quartus project was compiled without any errors.

Moving on to the application, created a bsp with the sopcinfo file created by Quartus using the command : niosv-bsp --create --sopcinfo=iwis_top.sopcinfo --type=hal software/bsp/settings.bsp

Then created the application using the command : niosv-app --bsp-dir=software/bsp --app-dir=software/app --srcs=software/app

The application compiles with "empty" main file, but if I try to add system.h and altera_avalon_sysid_qsys to use alt_avalon_sysid_qsys_test() it failes with error "Unknown reference to alt_avalon_sysid_qsys_test".

Should not this work right right out of the box ?

  • Hi ove 

     

     

    I managed to reproduce the issue on my end.

    It seems like this is a valid issue on the driver side to cause the error you are facing.

     

    A workaround currently is to limit the naming of the SystemID IP to "sysid".

     

     

    Could you possible to try that and see if it solves the issue?

     

8 Replies

  • Hi Ove,

    Based on you steps. can you include the altera_avalon_sysid_qsys_regs.h

    Regards,

    WaiMun

    • ove's avatar
      ove
      Icon for New Contributor rankNew Contributor

      I already did, but still compiles with "Unknown reference to alt_avalon_sysid_qsys_test"

      • tehjingy_Altera's avatar
        tehjingy_Altera
        Icon for Regular Contributor rankRegular Contributor

        Hi ove 

         

        Is it possible that you could attached a full log of the command used?

        I tried the steps on the environment here but could not see the error you are facing.