BLUESPEC: regarding declaration of fifos using for with different size

Status
Not open for further replies.

seeker_123

Member level 2
Joined
Apr 8, 2013
Messages
53
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Location
Bangalore
Visit site
Activity points
1,731
hiii everybody,
I want to declare fifo having different size in bluespec like this

FIFO #(Bit#(1)) q_s1 <- mkFIFO;
FIFO #(Bit#(2)) q_s2 <- mkFIFO;
FIFO #(Bit#(3)) q_s3 <- mkFIFO;
FIFO #(Bit#(4)) q_s4 <- mkFIFO;
.
.
.
FIFO #(Bit#(53)) q_s53 <- mkFIFO;

as it is little bit hectic
can't we write it with for loop

Thanks
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…