Forum Discussion
Altera_Forum
Honored Contributor
20 years ago2 masters accessing a Slave
Hi , I am a nios newbie. We have a slave that has 16 byte address space, Since we do word access, we have used 2 address lines for slave. Nios and another master(created by us) access the s...
Altera_Forum
Honored Contributor
20 years agoHi karthik,
> Since we do word access, we have used 2 address lines for slave. Ok ... it's a 32-bit slave. > Does our master need to have more than 2 address lines? Yes, you'll need at least 4 for a 16-byte slave. From the Avalon Interface Specification:<div class='quotetop'>QUOTE </div> --- Quote Start --- Master addresses represent byte addresses, regardless of the data-width of the master port.[/b] --- Quote End --- > we get a message saying it clashes with address space of flash Change the address to an unused memory region. > Since we have locked the flash address space to start from 0x00, we > can't understand why our slave is assigned the same address range ? I just upgraded to 5.1 so I can't comment on this. I don't recall any problems in earlier versions. You can change the address in the mean time. Regards, --Scott