tc_max_abs_dif_mx21.v
2.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
// Module instances modified by /home/rws/workarea/rf/sw/bbplayer/tools/necprimfix
//
// 15 instances of mx21d1h changed to j_mx21.
// 2 instances of ni01d5 changed to j_ni01.
//
/*
*************************************************************************
* *
* Copyright (C) 1994, Silicon Graphics, Inc. *
* *
* These coded instructions, statements, and computer programs contain *
* unpublished proprietary information of Silicon Graphics, Inc., and *
* are protected by Federal copyright law. They may not be disclosed *
* to third parties or copied or duplicated in any form, in whole or *
* in part, without the prior written consent of Silicon Graphics, Inc. *
* *
*************************************************************************
*/
/*
*************************************************************************
* *
* Project Reality *
* *
* module: tc_max_abs_dif_mx21.v *
* description: 14 bit 2 to 1 high performance mux using j_mx21 cells *
* *
* designer: Phil Gossett *
* date: 6/11/95 *
* *
*************************************************************************
*/
// $Id: tc_max_abs_dif_mx21.v,v 1.2 2002/11/13 02:11:41 rws Exp $
module tc_max_abs_dif_mx21 (s, i0, i1, z) ;
input s;
input [13:0] i0;
input [13:0] i1;
output [13:0] z;
wire sa;
wire sb;
j_ni01 nisa (.i(s), .z(sa));
j_ni01 nisb (.i(s), .z(sb));
j_mx21 mx0 (.z(z[0]), .i0(i0[0]), .i1(i1[0]), .s(sa));
j_mx21 mx1 (.z(z[1]), .i0(i0[1]), .i1(i1[1]), .s(sa));
j_mx21 mx2 (.z(z[2]), .i0(i0[2]), .i1(i1[2]), .s(sa));
j_mx21 mx3 (.z(z[3]), .i0(i0[3]), .i1(i1[3]), .s(sa));
j_mx21 mx4 (.z(z[4]), .i0(i0[4]), .i1(i1[4]), .s(sa));
j_mx21 mx5 (.z(z[5]), .i0(i0[5]), .i1(i1[5]), .s(sa));
j_mx21 mx6 (.z(z[6]), .i0(i0[6]), .i1(i1[6]), .s(sa));
j_mx21 mx7 (.z(z[7]), .i0(i0[7]), .i1(i1[7]), .s(sa));
j_mx21 mx8 (.z(z[8]), .i0(i0[8]), .i1(i1[8]), .s(sb));
j_mx21 mx9 (.z(z[9]), .i0(i0[9]), .i1(i1[9]), .s(sb));
j_mx21 mx10 (.z(z[10]), .i0(i0[10]), .i1(i1[10]), .s(sb));
j_mx21 mx11 (.z(z[11]), .i0(i0[11]), .i1(i1[11]), .s(sb));
j_mx21 mx12 (.z(z[12]), .i0(i0[12]), .i1(i1[12]), .s(sb));
j_mx21 mx13 (.z(z[13]), .i0(i0[13]), .i1(i1[13]), .s(sb));
endmodule // tc_max_abs_dif_mx21