Hi,
I want to apply a directive to an array of fifos - my pipelined design gets a maximum of four requests per cycle and I want to write the requests into fifos to process them with the same clock speed in a sequential manner (e.g. take request from fifo1 if not empty and process, else take from fifo2, else...).
static tag_stream_t fifo0, fifo1, fifo2, fifo3;
#pragma HLS STREAM variable=fifo0 depth=512 dim=1
#pragma HLS STREAM variable=fifo1 depth=512 dim=1
#pragma HLS STREAM variable=fifo2 depth=512 dim=1
#pragma HLS STREAM variable=fifo3 depth=512 dim=1
As you might guess I'm not that happy with duplicated code, so is there any possibility to apply a directive on all elements from a fixed size?
Thanks in advance, Dominik