Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
12 years ago

system.h generation with a script

I have built a design with QSYS on Quartus 13.0. I see it generates a "<my_design>.sopcinfo" file. If we run NIOS IDE most likely it will generate a "system.h" file that can be used as memory map header files in the C codes.

I am not going to run NIOS IDE since I don't want to be involved in C code compilation! I just need a header file for my RTL simualtion environment. is there any script to read the sopc file and generate a "system.h" or any header file that I can use?

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    We use the nios2-bsp command in our build system to automate generation of the Altera HAL BSP.