Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

BLUESPEC: regarding declaration of fifos using for with different size

Status
Not open for further replies.

seeker_123

Member level 2
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.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top