OpenCores
URL https://opencores.org/ocsvn/async_sdm_noc/async_sdm_noc/trunk

Subversion Repositories async_sdm_noc

[/] [async_sdm_noc/] [trunk/] [common/] [src/] [mutex_arb.v] - Diff between revs 22 and 28

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 22 Rev 28
Line 35... Line 35...
   wire [wd-1:0]      gnt;
   wire [wd-1:0]      gnt;
 
 
   generate
   generate
      for(i=0; i<wd; i=i+1) begin:lv
      for(i=0; i<wd; i=i+1) begin:lv
         for(j=i+1; j<wd; j=j+1) begin:b
         for(j=i+1; j<wd; j=j+1) begin:b
            mutex ME ( .a(arb_w[i][j-1]),     .b(arb_w[j][i]),  .qa(arb_w[i][j]),     .qb(arb_w[j][i+1]));
            mutex2 ME ( .a(arb_w[i][j-1]),     .b(arb_w[j][i]),  .qa(arb_w[i][j]),     .qb(arb_w[j][i+1]));
         end
         end
         assign arb_w[i][0] = req[i];
         assign arb_w[i][0] = req[i];
         assign gnt[i] = arb_w[i][wd-1];
         assign gnt[i] = arb_w[i][wd-1];
      end
      end
   endgenerate
   endgenerate

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.