- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using Qaurtus 13.0 and want to make a modification in the build. the memory initialization file that is generated by NIOS II eclipse is 64 bits per row and when I want to integrate this with my RTL build, I see some warnings in Quartus. my NIOS memory is 32 bits. I don't think these warnings cause any problem but I am kind of cleaning up the project and I want to fix this.
As I mentioned, I use NIOS II eclipse for compiling FW. I see there is a script called "create_this_app" that generates a "Makefile". "Makefile" calls a "mem_init.mk" script. as you see here, "mem_init.mk" has some commands for converting elf to hex: $(HEX_FILES): %.hex: $(ELF) $(post-process-info) @$(MKDIR) $(@D) bash -c '$(ELF2HEX) $< $(mem_start_address) $(mem_end_address) --width=$(mem_width) $(mem_endianness) --create-lanes=$(mem_create_lanes) $(elf2hex_extra_args) $@' the mem_width has a default value which is 64 bits. How can I pass a parameter to the "create_this_app" script for changing mem_width to 32 bits automatically? of course one way is changing this manually in "mem_init.mk" but I don't want to do that and ask people to modify their script every time they run their FW. the only place that I want to change and commit into SVN is "create_this_app" script which is top level script. Any idea?Link Copied
0 Replies

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page