Forum Discussion
Altera_Forum
Honored Contributor
8 years agoIf you don't need at all to send or receive ethernet packets from software, then I would strongly suggest to connect your IP directly to the Avalon Streams on the TSE MAC and just connect the memory mapped slave port to the CPU. You will need to strip off a lot from the Nios driver, keeping probably only the initialization function, and removing from it all the DMA initialization code.
When you say the start of packet signal is stuck at 1, what are the ready and valid signals? If the ready signal is 0 then the stream interface can appear stuck, but it is in fact just waiting for it to become 1 again. Which ready latency did you use on your stream interface? When you create your component in QSys and you configure the stream interface, it will show you a timing diagram, that is automatically updated when you change the interface parameters. There you can see how you are supposed to control the ready and valid signals.