- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Hello,
i need to extract the start adresses of each component in my SOPC system. Is there any easy way? Or must i write a perl script or something similar? I would like to trigger this script on system generation. thanks, ringo링크가 복사됨
5 응답
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
--- Quote Start --- Hello, i need to extract the start adresses of each component in my SOPC system. Is there any easy way? Or must i write a perl script or something similar? I would like to trigger this script on system generation. thanks, ringo --- Quote End --- 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
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
If you don't have a Nios II core (and hence no system.h) you can call 'sopc-create-header-files' from the Nios II command line shell on any master in your system to get something equivalent to system.h generated.
Alternatively if you created your own mastering component you can have the .tcl file query all the slave ports down stream from it and you could write a parser in .tcl to pull all the information out. This is a lot of work so I recommend the former approach.- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
--- 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
