Forum Discussion
Altera_Forum
Honored Contributor
15 years ago --- Quote Start --- You could use the tools that the linux guys use to map their addresses into the kernel build process. After you have compiled your SOPC into a SOPCINFO, open a NIOS terminal in the directory of your project and type "sopc-create-header-files --single custom_fpga.h". This should create an h file with all your addresses defined. Hope that helps. David --- Quote End --- Thanks, that's what i needed! I have no Nios Component in my System. So there was no system.h file. Now it's easy to extract the base adresses with a little Perl script ( perl is included in the nios II shell). i would like to generate a shell script to trigger the sopc-create-header-files call and the perl script. Can i add this in the tcl file of die SOPC system so its automatic executed by system generation? Thanks! Ringo