bl_nrma.v 1.44 KB
// Module instances modified by /home/rws/workarea/rf/sw/bbplayer/tools/necprimfix 
//
//    3 instances of an02d1h changed to j_an02.
//    2 instances of fn05d2 changed to j_fn05.
//    4 instances of me41d1h changed to j_me41.
//

////////////////////////////////////////////////////////////////////////
//
// Project Reality
//
// module:	bl_nrma
// description:	6 bit 1 to 4 bit shifter for blend unit.
//
// designer:	Phil Gossett
// date:	11/1/94
//
////////////////////////////////////////////////////////////////////////

module bl_nrma (lsen, sh, i, z);

input lsen;
input [2:0] sh;
input [5:0] i;

output [5:0] z;

wire [2:0] ash;

j_an02 mxa0 (	.a1(lsen), .a2(sh[0]), .z(ash[0]));
j_an02 mxa1 (	.a1(lsen), .a2(sh[1]), .z(ash[1]));
j_an02 mxa2 (	.a1(lsen), .a2(sh[2]), .z(ash[2]));
j_fn05  mxe0 (	.b1(lsen), .a1( i[0]), .zn( z[0]));
j_fn05  mxe1 (	.b1(lsen), .a1( i[1]), .zn( z[1]));
j_me41 mxe2 (	.s0(ash[0]), .s1(ash[1]), .en(ash[2]), 
		.i0(i[2]), .i1(i[3]), .i2(i[4]), .i3(i[5]), 
		                       .z(  z[2]));
j_me41 mxe3 (	.s0(ash[0]), .s1(ash[1]), .en(ash[2]), 
		.i0(i[3]), .i1(i[4]), .i2(i[5]), .i3(1'b0), 
		                       .z(  z[3]));
j_me41 mxe4 (	.s0(ash[0]), .s1(ash[1]), .en(ash[2]), 
		.i0(i[4]), .i1(i[5]), .i2(1'b0), .i3(1'b0), 
		                       .z(  z[4]));
j_me41 mxe5 (	.s0(ash[0]), .s1(ash[1]), .en(ash[2]), 
		.i0(i[5]), .i1(1'b0), .i2(1'b0), .i3(1'b0), 
		                       .z(  z[5]));

endmodule // bl_nrma