dp_zerodet.v
2.07 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
/*
*************************************************************************
* *
* 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: dp_zerodet.v *
* description: 16 bit buffer using ni01d5 cells *
* *
* designer: Brian Ferguson *
* date: 4/12/95 *
* *
*************************************************************************
*/
// $Id: dp_zerodet.v,v 1.1 2002/03/28 00:26:14 berndt Exp $
module dp_zerodet (
input_data,
out
) ;
input [15:0] input_data ;
output out ;
wire [3:0] intzerodet;
wire out ;
nr04d1 zerodet0to3 ( .zn (intzerodet[0]),
.a1 (input_data[3]),
.a2 (input_data[2]),
.a3 (input_data[1]),
.a4 (input_data[0])
) ;
nr04d1 zerodet4to7 ( .zn (intzerodet[1]),
.a1 (input_data[7]),
.a2 (input_data[6]),
.a3 (input_data[5]),
.a4 (input_data[4])
) ;
nr04d1 zerodet8to11 ( .zn (intzerodet[2]),
.a1 (input_data[11]),
.a2 (input_data[10]),
.a3 (input_data[9]),
.a4 (input_data[8])
) ;
nr04d1 zerodet12to15 ( .zn (intzerodet[3]),
.a1 (input_data[15]),
.a2 (input_data[14]),
.a3 (input_data[13]),
.a4 (input_data[12])
) ;
nd04d1 zerodetfinal ( .zn (out_inv),
.a1 (intzerodet[0]),
.a2 (intzerodet[1]),
.a3 (intzerodet[2]),
.a4 (intzerodet[3])
) ;
/*
* in01d7 zerodetinv ( .i (out_inv),
* .zn (out)
* ) ;
*/
assign out = !out_inv;
endmodule // dp_zerodet