Forum Discussion
Nios to FPGA Avalon-MM
I am trying to use the Avalon-MM Clock Crossing Bridge, but am confused regarding a few connections on PD.
m0_clk and m0_reset are connected to the Nios processor clk and reset respectively (125 MHz) and s0_clk is connected to the clock bridge at 100 MHz. avalon_slave_0 is my custom Avalon-MM slave component. How should s0 and m0 interfaces be connected, if Nios is the host and avalon_slave_0 is the agent?
Nios connects to s0, and m0 connects to your custom component.
- aamodini2 years ago
New Contributor
Thank you.
I get the following error when I connect m0 to custom component
Error: system.mm_ccb_0.m0: avalon_slave_0.avalon_slave_0 (0x41160..0x4116f) is outside the master's address range (0x0..0x3f)
I have assigned base addresses to all the components.
- sstrell2 years ago
Super Contributor
You set the address width to only 4 bits for the bridge and you're using an address much larger than that. Just turn on "Use automatically determined address width."
- aamodini2 years ago
New Contributor
I get other errors when I turn on "Use automatically-determined address width"