P3.v 289 Bytes
Newer Older
lwc-tester committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
module P3 (/*AUTOARG*/
   // Outputs
   po,
   // Inputs
   pi
   ) ;
   output [15:0] po;
   input  [15:0] pi;

   assign po[3:0] = {pi[2:0],pi[3]};
   assign po[7:4] = {pi[6:4],pi[7]};
   assign po[11:8] = {pi[10:8],pi[11]};
   assign po[15:12] = {pi[14:12],pi[15]};
   
endmodule // P3