dp_onedet.v
1.94 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
/*
*************************************************************************
* *
* 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_onedet.v *
* description: 16 bit buffer using ni01d5 cells *
* *
* designer: Brian Ferguson *
* date: 4/12/95 *
* *
*************************************************************************
*/
// $Id: dp_onedet.v,v 1.1 2002/03/28 00:26:14 berndt Exp $
module dp_onedet (
input_data,
out
) ;
input [15:0] input_data ;
output out ;
wire [3:0] intonedet;
nd04d1 onedet0to3 ( .zn (intonedet[0]),
.a1 (input_data[3]),
.a2 (input_data[2]),
.a3 (input_data[1]),
.a4 (input_data[0])
) ;
nd04d1 onedet4to7 ( .zn (intonedet[1]),
.a1 (input_data[7]),
.a2 (input_data[6]),
.a3 (input_data[5]),
.a4 (input_data[4])
) ;
nd04d1 onedet8to11 ( .zn (intonedet[2]),
.a1 (input_data[11]),
.a2 (input_data[10]),
.a3 (input_data[9]),
.a4 (input_data[8])
) ;
nd04d1 onedet12to15 ( .zn (intonedet[3]),
.a1 (input_data[15]),
.a2 (input_data[14]),
.a3 (input_data[13]),
.a4 (input_data[12])
) ;
nr04d2 onedetfinal ( .zn (out),
.a1 (intonedet[3]),
.a2 (intonedet[2]),
.a3 (intonedet[1]),
.a4 (intonedet[0])
) ;
endmodule // dp_onedet