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

Subversion Repositories async_sdm_noc

[/] [async_sdm_noc/] [trunk/] [vc/] [src/] [dcb_vc.v] - Diff between revs 47 and 53

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

Rev 47 Rev 53
Line 13... Line 13...
 
 
 History:
 History:
 04/04/2010  Initial version. <wsong83@gmail.com>
 04/04/2010  Initial version. <wsong83@gmail.com>
 12/05/2010  Use MPxP crossbar. <wsong83@gmail.com>
 12/05/2010  Use MPxP crossbar. <wsong83@gmail.com>
 02/06/2011  Clean up for opensource. <wsong83@gmail.com>
 02/06/2011  Clean up for opensource. <wsong83@gmail.com>
 
 09/06/2011  Remove the C-elements as muxes already have C-elements inside. <wsong83@gmail.com>
 
 
*/
*/
 
 
module dcb_vc (/*AUTOARG*/
module dcb_vc (/*AUTOARG*/
   // Outputs
   // Outputs
Line 167... Line 168...
               .divc ( lrtg[i]      ),
               .divc ( lrtg[i]      ),
               .doa  ( la[i]        )
               .doa  ( la[i]        )
               );
               );
 
 
         // acknowledgement
         // acknowledgement
         c2 SA0 (.a0(srtg[i][0]), .a1(doa[1]), .q(sa[i][0]));
         /*
         c2 SA1 (.a0(srtg[i][1]), .a1(doa[2]), .q(sa[i][1]));
         c2 SA0 (.a0(srtg[i][0]), .a1(doa[1]), .q(sa[i][0]));
         c2 SA2 (.a0(srtg[i][2]), .a1(doa[3]), .q(sa[i][2]));
         c2 SA1 (.a0(srtg[i][1]), .a1(doa[2]), .q(sa[i][1]));
         c2 SA3 (.a0(srtg[i][3]), .a1(doa[4]), .q(sa[i][3]));
         c2 SA2 (.a0(srtg[i][2]), .a1(doa[3]), .q(sa[i][2]));
         c2 WA0 (.a0(wrtg[i][0]), .a1(doa[3]), .q(wa[i][0]));
         c2 SA3 (.a0(srtg[i][3]), .a1(doa[4]), .q(sa[i][3]));
         c2 WA1 (.a0(wrtg[i][1]), .a1(doa[4]), .q(wa[i][1]));
         c2 WA0 (.a0(wrtg[i][0]), .a1(doa[3]), .q(wa[i][0]));
         c2 NA0 (.a0(nrtg[i][0]), .a1(doa[0]), .q(na[i][0]));
         c2 WA1 (.a0(wrtg[i][1]), .a1(doa[4]), .q(wa[i][1]));
         c2 NA1 (.a0(nrtg[i][1]), .a1(doa[1]), .q(na[i][1]));
         c2 NA0 (.a0(nrtg[i][0]), .a1(doa[0]), .q(na[i][0]));
         c2 NA2 (.a0(nrtg[i][2]), .a1(doa[3]), .q(na[i][2]));
         c2 NA1 (.a0(nrtg[i][1]), .a1(doa[1]), .q(na[i][1]));
         c2 NA3 (.a0(nrtg[i][3]), .a1(doa[4]), .q(na[i][3]));
         c2 NA2 (.a0(nrtg[i][2]), .a1(doa[3]), .q(na[i][2]));
         c2 EA0 (.a0(ertg[i][0]), .a1(doa[1]), .q(ea[i][0]));
         c2 NA3 (.a0(nrtg[i][3]), .a1(doa[4]), .q(na[i][3]));
         c2 EA1 (.a0(ertg[i][1]), .a1(doa[4]), .q(ea[i][1]));
         c2 EA0 (.a0(ertg[i][0]), .a1(doa[1]), .q(ea[i][0]));
         c2 LA0 (.a0(lrtg[i][0]), .a1(doa[0]), .q(la[i][0]));
         c2 EA1 (.a0(ertg[i][1]), .a1(doa[4]), .q(ea[i][1]));
         c2 LA1 (.a0(lrtg[i][1]), .a1(doa[1]), .q(la[i][1]));
         c2 LA0 (.a0(lrtg[i][0]), .a1(doa[0]), .q(la[i][0]));
         c2 LA2 (.a0(lrtg[i][2]), .a1(doa[2]), .q(la[i][2]));
         c2 LA1 (.a0(lrtg[i][1]), .a1(doa[1]), .q(la[i][1]));
         c2 LA3 (.a0(lrtg[i][3]), .a1(doa[3]), .q(la[i][3]));
         c2 LA2 (.a0(lrtg[i][2]), .a1(doa[2]), .q(la[i][2]));
 
         c2 LA3 (.a0(lrtg[i][3]), .a1(doa[3]), .q(la[i][3]));
 
          */
 
         assign sa[i][0] = doa[1];
 
         assign sa[i][1] = doa[2];
 
         assign sa[i][2] = doa[3];
 
         assign sa[i][3] = doa[4];
 
         assign wa[i][0] = doa[3];
 
         assign wa[i][1] = doa[4];
 
         assign na[i][0] = doa[0];
 
         assign na[i][1] = doa[1];
 
         assign na[i][2] = doa[3];
 
         assign na[i][3] = doa[4];
 
         assign ea[i][0] = doa[1];
 
         assign ea[i][1] = doa[4];
 
         assign la[i][0] = doa[0];
 
         assign la[i][1] = doa[1];
 
         assign la[i][2] = doa[2];
 
         assign la[i][3] = doa[3];
 
 
      end // block: IMX
      end // block: IMX
   endgenerate
   endgenerate
 
 
   generate
   generate

powered by: WebSVN 2.1.0

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