Forum Discussion
Altera_Forum
Honored Contributor
9 years agoIt seems that you are working with TS packets.
You can use a FIFO with separate clock ports for read & write. Use the input 27 MHz clock as write clock and feed the FIFO data port with the same input data. Design a simple state machine or a sequential code (process for VHDL OR alway block for Verilog) to read from that FIFO with your local 27 MHz clock which is connected to the read clock port. You can now read from FIFO and issue your valid & sync signals based on output of FIFO which is synchronous with your logic.