Forum Discussion
Nios to FPGA Avalon-MM
In Platform Designer, just connect them together. The generated interconnect will automatically include CDC logic, either a FIFO or handshaking, depending on the options you set in PD (I think it's Interconnect Requirements in Standard and the Domains tab in Pro).
If you want more control, you can manually add/insert an Avalon clock crossing bridge from the IP Catalog.
- aamodini2 years ago
New Contributor
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?
- sstrell2 years ago
Super Contributor
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.