- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi everybody,
I am using SOPC to built avalon interface for my custom external logic.i have selected NiosII as master and my custom logic as slave.Using new component Wizard, I have added signal and interface. In the interface i have selected avalon slave,i got an error before generation. cpu_0:nois ii instruction master cannot address memories over 2^32. cpu_0:nois ii data master cannot address memories over 2^32. My data width is 32 but still getting error. I have tried auto-assign base address and manually edit addresses also but no effect.what base address should i specify for my device. Have anybody experienced this problem. PankajLink Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It's not a data width issue, it's an address span issue. If the memory range that you're trying to address is >2^32, it won't work.
Cheers, - Ura- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You should not create a custom Avalon slave with a 32-bit address width. The maximum address space of the NIOS is 31 bits (upper bit is used for cache bypass). If you make a component with a 31-bit address space, there is no room for anything else on the processor's bus.
Jake- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jakobjones,
Could you pls tell me what are the difference between Nios II instruction bus, address bus and data bus? In actual, does it mean that Nios II has only 2^31 of address bus/address spaces? Thx. Caridee- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Both the Instruction and Data master ports of the Nios II processor are used to address memory. Each master has a 32-bit address space but the highest bit is used by the Nios II processor to bypass the cache.
Jake- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jake,
thank you for ur quick reply. Appreciate it! i wish to confirm last thing, is intruction and data master port are referring to instruction bus and data bus, repectively? If yes, means both instruction bus and data bus are having 2^31 address bus? thx for your confirmation, correct me if i am wrong. caridee- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, each master ( or bus if you wish) has a maximum address space of 31 bits.
Jake- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jake,
I got ur explanation, thanks! Caridee- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page