Forum Discussion
Altera_Forum
Honored Contributor
17 years ago16-bit 4 inputs interfacing with 16-bit 1 input of DCFIFO
hi, i'm thinking to interface these 16-bit 4 inputs to 16-bit 1 input of DCFIFO. i want the data to be written in sequence, starting from Q1 to Q4. when wrreq is asserted in DCFIFO, the output...
Altera_Forum
Honored Contributor
17 years agoi suggest to add an intermediate module between the two blocks, see the picture in attachment, you must feed that block with two clock signals : the fifoclock input determines the writing speed to the fifo, and the fulldataclock input is the clock that synchronizes data on Q1, Q2, Q3 and Q4. I assumed that on the rising edge of fulldataclock, data on Q1,...,Q4 changes. In order to do the task correctly, the frequency of fifoclock must be at least 4 times bigger than the frequency of fulldataclock.
the material description of the block is in the file inter4to1.v in attachment note : i didn't test the verilog code yet, but logically it must work