Forum Discussion
Altera_Forum
Honored Contributor
12 years agoHello Daixiwen,
I'm sorry if the attachment is not clear enough ! Here is a brief description about the arch I used : The NEW frame called AST_NEW_* is tied to an SCFIFO (named NEW_FIFO) as follow : AST_NEW_READY <= NOT (NEW_FIFO_FULL) AST_NEW_VALID => NEW_FIFO_WRITE AST_NEW_SOP & AST_NEW_DATA & AST_NEW_EOP => NEW_FIFO_DATA The OLD Frame (named AST_OLD_*) is not tied to a fifo (in previous arch it was) but it's controlled by the output source (named AST_DIFF_*) as follow : AST_OLD_READY <= AST_DIFF_READY and NOT (NEW_FIFO_EMPTY) AST_OLD VALID => NEW_FIFO_READ I attached an image that describe the arch I used For the counters : The NEW_COUNTER counts the data output from the NEW_FIFO so it uses the NEW_Q signals The FRAME_COUNTER counts the data coming from the AST_OLD sink so it uses AST_OLD_EOP (as CLR) and AST_OLD_VALID (as ENABLE) Hope this clarifies things Thank you