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

Subversion Repositories async_sdm_noc

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

Show entire file | Details | Blame | View Log

Rev 47 Rev 53
Line 12... Line 12...
 Demux for a 1-of-n buffer stage.
 Demux for a 1-of-n buffer stage.
 
 
 History:
 History:
 31/03/2010  Initial version. <wsong83@gmail.com>
 31/03/2010  Initial version. <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  Make sure the sel pin is considered in the ack process. <wsong83@gmail.com>
 
 
*/
*/
 
 
module ddmux ( /*AUTOARG*/
module ddmux ( /*AUTOARG*/
   // Outputs
   // Outputs
Line 49... Line 50...
      for (i=0; i<VCN; i++) begin: VCD
      for (i=0; i<VCN; i++) begin: VCD
         assign d_out[i] = d_sel[i] ? d_in : 0;
         assign d_out[i] = d_sel[i] ? d_in : 0;
      end
      end
   endgenerate
   endgenerate
 
 
   assign d_in_a = |d_out_a;
   //assign d_in_a = |d_out_a;
 
   c2 CACK (.a0(|d_out_a), .a1(|d_sel), .q(d_in_a));
 
 
endmodule // ddmux
endmodule // ddmux
 
 
 
 
 No newline at end of file
 No newline at end of file

powered by: WebSVN 2.1.0

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