bluespec.com Forum Index bluespec.com
Bluespec Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

vector of vector of gfifof

 
Post new topic   Reply to topic    bluespec.com Forum Index -> Designing with BSV's Rules, Interfaces, ...
View previous topic :: View next topic  
Author Message
ANISHMA



Joined: 02 Jul 2018
Posts: 2

PostPosted: Tue Jul 17, 2018 12:24 am    Post subject: vector of vector of gfifof Reply with quote

i need simultaneous dequeue from a vector of vector of gfifo. my code is not allowing deques multiple fifos from the same vector in a cycle.
Code:
Vector#(Num_ports, Vector#(Num_ports,FIFOF#(Txn_data_struct#(int))))    fifo_check_vec        <- replicateM(replicateM(mkGSizedFIFOF(False,False,15)));

rule rl_fifo_deq;
   for(Integer i=0; i<valueOf(Num_ports); i=i+1)
   begin
      if(--)            
      begin   
         for(Integer k=0; k<valueOf(Num_ports); k=k+1)
         begin
            if(--)
            begin
               for(Integer j=0; j<valueOf(Num_ports); j=j+1)
               begin
                  if(--)   
                  begin               
                     fifo_check_vec[k][j].deq();
                  end
               end
            end            
         end   
      end   
   end
endrule




Error shown -

Error: "../source/Top.bsv", line 90, column 6: (G0004)
Rule `RL_rl_fifo_deq' uses methods that conflict in parallel:
if (...)
fifo_check_vec_0_0.deq()
and
if (...)
fifo_check_vec_0_0.deq()
For the complete expressions use the flag `-show-range-conflict'.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    bluespec.com Forum Index -> Designing with BSV's Rules, Interfaces, ... All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
bluespec.com topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP