Forum Discussion
Altera_Forum
Honored Contributor
17 years agoThe way I understand it, the address lines to a NIOS component represent a word address. So a 9 bit address bus will give you 512 words. Assuming a word size of 32 bits, 512 words is 2048 bytes. Assuming a base address of 0x1000, the range would then be 0x1000-0x17FF.
When working with custom components I have also found the address range does not always come out as expected. I haven't verified this, but I suspect when you edit a component to reduce the size of the address bus, the range used in the memory map is not automatically reduced accordingly. To fix this I have either edited the .tcl file manually (this can be dangerous unless you are really sure what you are doing) or recreated the component from scratch.