Forum Discussion
Altera_Forum
Honored Contributor
19 years agoNIOS II addressing problem
I am having trouble with an SOPC builder component. I am using signaltap to try to debug it. I have a pointer to an address which I write to and then read from. But the address that is asserted is...
Altera_Forum
Honored Contributor
19 years agoIf you are looking at the address coming from Nios, remember that the databus is 32-bits wide. Assuming your peripheral is 16-bits wide, the Avalon Switch Fabric is taking care of the bus-width matching for you. Therefore, if you really want to see the low order address bits, you'll be better off examining the address at the peripheral.
BTW, I assume you have no data cache in your system. Otherwise, these accesses will be cached, and the accesses won't make it to your peripheral as anticipated. --- Quote Start --- originally posted by richy759@Dec 8 2006, 09:30 AM this is not the case however. address bit 1 is 1 when i do a write but when i read, address 1 is 0.bearing in mind these are the nios address lines and not mine.
has anyone come across this before or have any idea what the problem may be?
many thanks,
richard
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=19907)
--- quote end ---
--- Quote End ---