Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20688 Discussions

Input conduit with clock and Avalon-ST source clock

Altera_Forum
Honored Contributor II
957 Views

I have implemented a series of custom audio IPs, that I've later come to realize resembles Avalon-ST. So I'm going to attempt to port them to Avalon-ST be able to use them from Qsys. One of those IPs is a data receiver which gets its data from a (external) conduit and sends out on an Avalon-ST source port. 

 

The clock for the input data is asynchronous of the (faster) system clock and is among the conduit signals. What is the best approach for setting up the clock system for this? 

 

I) Should I use the input data clock as the only clock source in the IP, and thus setup assosciated clock with both conduit and avalon-ST port? 

 

Because Qsys can and will automatically handle cross clock domain crossings? 

 

II) or, will it be better to accept two clocks into my IP; the conduit data clock and the avalon-ST clock, and handle clock domain crossing myself in the IP?
0 Kudos
0 Replies
Reply