Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

address calculation

Altera_Forum
Honored Contributor II
1,157 Views

Hello! 

I'm developing master peripheral component (32bit) which should read data from sdram(32bit). I found out(with experiment) that if master should read data from address BASE+OFFSET, master should set BASE+OFFSET/4 on address bus. Why? Is it specific of Avalon bus? 

Thanks a lot!
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
486 Views

Hey 

 

Have you connected the your master addresses correctly to your slave device? 

 

See document mnl_avalon_spec.pdf, p71 

 

For a 32b slave,you should connect your avalon bridge address A2 to slave address A0, master address A3 to slave A1, ..... 

 

Kind regards 

Karel
0 Kudos
Reply