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

Subversion Repositories async_sdm_noc

[/] [async_sdm_noc/] [trunk/] [sdm/] [src/] [clos_sch.v] - Diff between revs 22 and 28

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

Rev 22 Rev 28
Line 19... Line 19...
 History:
 History:
 11/12/2009  Initial version. <wsong83@gmail.com>
 11/12/2009  Initial version. <wsong83@gmail.com>
 10/06/2010  Change to use PIM structure <wsong83@gmail.com>
 10/06/2010  Change to use PIM structure <wsong83@gmail.com>
 23/08/2010  Fix the non-QDI request withdraw process <wsong83@gmail.com>
 23/08/2010  Fix the non-QDI request withdraw process <wsong83@gmail.com>
 23/09/2010  Modified for Clos SDM router <wsong83@gmail.com>
 23/09/2010  Modified for Clos SDM router <wsong83@gmail.com>
 25/05/2011  Clean up for opensource. <wsong83@gmail.com>
 27/05/2011  Clean up for opensource. <wsong83@gmail.com>
 
 
*/
*/
 
 
// the router structure definitions
// the router structure definitions
`include "define.v"
`include "define.v"
Line 86... Line 86...
   SRIM (
   SRIM (
         .ireq ( sreq      ),
         .ireq ( sreq      ),
         .ira  ( cmra[0]   ),
         .ira  ( cmra[0]   ),
         .oreq ( sr        ),
         .oreq ( sr        ),
         .ora  ( sra       ),
         .ora  ( sra       ),
         .gnt  ( imc[0]    )
         .cfg  ( imc[0]    )
         );
         );
 
 
   // the C-element to force the request withdrawal sequence
   // the C-element to force the request withdrawal sequence
   generate for(i=0; i<N; i++) begin: SA
   generate for(i=0; i<N; i++) begin: SA
      c2 UA (.q(sack[i]), .a0(imra[0][i]), .a1(cmra[0][i]));
      c2 UA (.q(sack[i]), .a0(imra[0][i]), .a1(cmra[0][i]));
Line 111... Line 111...
   WRIM (
   WRIM (
         .ireq ( wreq      ),
         .ireq ( wreq      ),
         .ira  ( cmra[1]   ),
         .ira  ( cmra[1]   ),
         .oreq ( wr        ),
         .oreq ( wr        ),
         .ora  ( wra       ),
         .ora  ( wra       ),
         .gnt  ( imc[1]    )
         .cfg  ( imc[1]    )
         );
         );
 
 
   generate for(i=0; i<N; i++) begin: WA
   generate for(i=0; i<N; i++) begin: WA
      c2 UA (.q(wack[i]), .a0(imra[1][i]), .a1(cmra[1][i]));
      c2 UA (.q(wack[i]), .a0(imra[1][i]), .a1(cmra[1][i]));
   end endgenerate
   end endgenerate
Line 135... Line 135...
   NRIM (
   NRIM (
         .ireq ( nreq      ),
         .ireq ( nreq      ),
         .ira  ( cmra[2]   ),
         .ira  ( cmra[2]   ),
         .oreq ( nr        ),
         .oreq ( nr        ),
         .ora  ( nra       ),
         .ora  ( nra       ),
         .gnt  ( imc[2]    )
         .cfg  ( imc[2]    )
         );
         );
 
 
   generate for(i=0; i<N; i++) begin: NA
   generate for(i=0; i<N; i++) begin: NA
      c2 UA (.q(nack[i]), .a0(imra[2][i]), .a1(cmra[2][i]));
      c2 UA (.q(nack[i]), .a0(imra[2][i]), .a1(cmra[2][i]));
   end endgenerate
   end endgenerate
Line 159... Line 159...
   ERIM (
   ERIM (
         .ireq ( ereq      ),
         .ireq ( ereq      ),
         .ira  ( cmra[3]   ),
         .ira  ( cmra[3]   ),
         .oreq ( er        ),
         .oreq ( er        ),
         .ora  ( era       ),
         .ora  ( era       ),
         .gnt  ( imc[3]    )
         .cfg  ( imc[3]    )
         );
         );
 
 
   generate for(i=0; i<N; i++) begin: EA
   generate for(i=0; i<N; i++) begin: EA
      c2 UA (.q(eack[i]), .a0(imra[3][i]), .a1(cmra[3][i]));
      c2 UA (.q(eack[i]), .a0(imra[3][i]), .a1(cmra[3][i]));
   end endgenerate
   end endgenerate
Line 183... Line 183...
   LRIM (
   LRIM (
         .ireq ( lreq      ),
         .ireq ( lreq      ),
         .ira  ( cmra[4]   ),
         .ira  ( cmra[4]   ),
         .oreq ( lr        ),
         .oreq ( lr        ),
         .ora  ( lra       ),
         .ora  ( lra       ),
         .gnt  ( imc[4]    )
         .cfg  ( imc[4]    )
         );
         );
 
 
   generate for(i=0; i<N; i++) begin: LA
   generate for(i=0; i<N; i++) begin: LA
      c2 UA (.q(lack[i]), .a0(imra[4][i]), .a1(cmra[4][i]));
      c2 UA (.q(lack[i]), .a0(imra[4][i]), .a1(cmra[4][i]));
   end endgenerate
   end endgenerate

powered by: WebSVN 2.1.0

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