Altera_Forum
Honored Contributor
14 years agoAvalon to Wishbone bridge
Hello,
I need to connect a NIOS system to a custom peripheral that uses the wishbone bus standard. I have made some progress, but I am stuck with a weird problem. But first some background. I am exporting the memory mapped master port from the "Avalon-MM Pipeline Bridge" component in my NIOS system. I am connecting those signals manually in my HDL code. But I need to make the data width 32 bits instead of the default of 16. Which seems easy enough. I just make the data and address widths what I need in Qsys and generate the system. Unfortunately, when I synthesize the resulting HDL system, weird things start to happen. I should point out that there were no unusual warnings or errors in during synthesis. When I go to Eclipse to regenerate the BSP and run the software, my SystemID register is never non-zero. In fact, the whole NIOS system seems to be dead. And very frequently, the Eclipse editor silently disappears (which I assume means it crashed). I resynthesized the design several times, shut down and restarted all the tools, and restarted the computer. Still the same problem. So then I changed the datapath size back to 16. All the problems went away. I would really like to use 32 bits for my data path size, but I can't seem to figure out how. Has anyone seen a problem like this before? Is this more a question for Altera support? This issue is very reproducible. Thanks.