cc_abs16n.v 1.31 KB
// Module instances modified by /home/rws/workarea/rf/sw/bbplayer/tools/necprimfix 
//
//    1 instance of in01d5 changed to j_in01.
//    16 instances of xo02d1h changed to j_xo02.
//

////////////////////////////////////////////////////////////////////////
//
// Project Reality
//
// module:	cc_abs16n
// description:	S.16 bit nagative absolute value.
//
// designer:	Phil Gossett
// date:	6/26/94
//
////////////////////////////////////////////////////////////////////////

module cc_abs16n (a, sn);

input [16:0] a;

output [15:0] sn;

j_in01  cinb (.i(a[16]), .zn(sgn));
j_xo02 ans0 (.a1(sgn), .a2(a[0]), .z(sn[0]));
j_xo02 ans1 (.a1(sgn), .a2(a[1]), .z(sn[1]));
j_xo02 ans2 (.a1(sgn), .a2(a[2]), .z(sn[2]));
j_xo02 ans3 (.a1(sgn), .a2(a[3]), .z(sn[3]));
j_xo02 ans4 (.a1(sgn), .a2(a[4]), .z(sn[4]));
j_xo02 ans5 (.a1(sgn), .a2(a[5]), .z(sn[5]));
j_xo02 ans6 (.a1(sgn), .a2(a[6]), .z(sn[6]));
j_xo02 ans7 (.a1(sgn), .a2(a[7]), .z(sn[7]));
j_xo02 ans8 (.a1(sgn), .a2(a[8]), .z(sn[8]));
j_xo02 ans9 (.a1(sgn), .a2(a[9]), .z(sn[9]));
j_xo02 ansa (.a1(sgn), .a2(a[10]),.z(sn[10]));
j_xo02 ansb (.a1(sgn), .a2(a[11]),.z(sn[11]));
j_xo02 ansc (.a1(sgn), .a2(a[12]),.z(sn[12]));
j_xo02 ansd (.a1(sgn), .a2(a[13]),.z(sn[13]));
j_xo02 anse (.a1(sgn), .a2(a[14]),.z(sn[14]));
j_xo02 ansf (.a1(sgn), .a2(a[15]),.z(sn[15]));

endmodule // cc_abs16n