st.v
5.43 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
/**************************************************************************
* *
* 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. *
* *
*************************************************************************/
// $Id: st.v,v 1.2 2002/11/22 00:34:20 rws Exp $
/* Project Reality
MDP
Created by Mike M. Cai 5/27/94
*/
`timescale 100 ps / 100 ps
module st ( st_cc_r, st_cc_g, st_cc_b, st_cc_a,
st_bl_z,
st_tc_s, st_tc_t, st_tc_w, // st_tc_l,
ep_st_r, startspan_r, at_st_dxr, at_st_dyr, x_offsetr, y_offsetr,
ep_st_g, startspan_g, at_st_dxg, at_st_dyg, x_offsetg, y_offsetg,
ep_st_b, startspan_b, at_st_dxb, at_st_dyb, x_offsetb, y_offsetb,
ep_st_a, startspan_a, at_st_dxa, at_st_dya, x_offseta, y_offseta,
ep_st_z, startspan_z, at_st_dxz, at_st_dyz, x_offsetz, y_offsetz,
ep_st_s, startspan_s, at_st_dxs, at_st_dys,
ep_st_t, startspan_t, at_st_dxt, at_st_dyt,
ep_st_w, startspan_w, at_st_dxw, at_st_dyw,
// ep_st_l, startspan_l, at_st_dxl,
ncyc_r, ncyc_g, ncyc_b, ncyc_a, ncyc_z, // lsb of cycl_type
ncyc_s, ncyc_t, ncyc_w, // ncyc_l,
left_r, left_g, left_b, left_a, left_z,
left_s, left_t, left_w, // left_l,
start_gclk, clk);
output [7:0] st_cc_r, st_cc_g, st_cc_b, st_cc_a;
output [17:0] st_bl_z;
output [15:0] st_tc_s, st_tc_t, st_tc_w; // st_tc_l;
input startspan_r, startspan_g, startspan_b, startspan_a, startspan_z,
startspan_s, startspan_t, startspan_w;// startspan_l;
input [15:0] ep_st_r, ep_st_g, ep_st_b, ep_st_a;
input [21:0] ep_st_z;
input [21:0] ep_st_s, ep_st_t, ep_st_w; // ep_st_l;
input [21:0] at_st_dxr, at_st_dxg, at_st_dxb, at_st_dxa;
input [31:0] at_st_dxz;
input [26:0] at_st_dxs, at_st_dxt, at_st_dxw; // at_st_dxl;
input [16:0] at_st_dys, at_st_dyt, at_st_dyw;
input [12:0] at_st_dyr, at_st_dyg, at_st_dyb, at_st_dya;
input [21:0] at_st_dyz;
input [1:0] x_offsetr, x_offsetg, x_offsetb, x_offseta, x_offsetz,
y_offsetr, y_offsetg, y_offsetb, y_offseta, y_offsetz;
input ncyc_r, ncyc_g, ncyc_b, ncyc_a, ncyc_z, // lsb of cycl_type
ncyc_s, ncyc_t, ncyc_w; // ncyc_l;
input left_r, left_g, left_b, left_a, left_z,
left_s, left_t, left_w; // left_l;
input start_gclk, clk;
strgba redstepper ( .att_data_out(st_cc_r),
.att_data_in({ep_st_r,5'h0}),
.dx(at_st_dxr), .dy(at_st_dyr),
.x_offset(x_offsetr), .y_offset(y_offsetr),
.left_major(left_r),
.load(startspan_r), .ncyc(ncyc_r),
.clk(clk), .start_gclk(start_gclk));
strgba greenstepper ( .att_data_out(st_cc_g),
.att_data_in({ep_st_g,5'h0}),
.dx(at_st_dxg), .dy(at_st_dyg),
.x_offset(x_offsetg), .y_offset(y_offsetg),
.left_major(left_g),
.load(startspan_g), .ncyc(ncyc_g),
.clk(clk), .start_gclk(start_gclk));
strgba bluestepper ( .att_data_out(st_cc_b),
.att_data_in({ep_st_b,5'h0}),
.dx(at_st_dxb), .dy(at_st_dyb),
.x_offset(x_offsetb), .y_offset(y_offsetb),
.left_major(left_b),
.load(startspan_b), .ncyc(ncyc_b),
.clk(clk), .start_gclk(start_gclk));
strgba alphastepper ( .att_data_out(st_cc_a),
.att_data_in({ep_st_a,5'h0}),
.dx(at_st_dxa), .dy(at_st_dya),
.x_offset(x_offseta), .y_offset(y_offseta),
.left_major(left_a),
.load(startspan_a), .ncyc(ncyc_a),
.clk(clk), .start_gclk(start_gclk));
stz depthstepper ( .att_data_out(st_bl_z),
.att_data_in({ep_st_z,10'h0}),
.dx(at_st_dxz), .dy(at_st_dyz),
.x_offset(x_offsetz), .y_offset(y_offsetz),
.left_major(left_z),
.load(startspan_z), .ncyc(ncyc_z),
.clk(clk), .start_gclk(start_gclk));
ststwl sstepper ( .att_data_out(st_tc_s),
.att_data_in({ep_st_s, 5'h0}), .dx(at_st_dxs),
.dy(at_st_dys),
.left_major(left_s),
.load(startspan_s), .ncyc(ncyc_s),
.clk(clk), .start_gclk(start_gclk));
ststwl tstepper ( .att_data_out(st_tc_t),
.att_data_in({ep_st_t,5'h0}), .dx(at_st_dxt),
.dy(at_st_dyt),
.left_major(left_t),
.load(startspan_t), .ncyc(ncyc_t),
.clk(clk), .start_gclk(start_gclk));
ststwl wstepper ( .att_data_out(st_tc_w),
.att_data_in({ep_st_w,5'h0}), .dx(at_st_dxw),
.dy(at_st_dyw),
.left_major(left_w),
.load(startspan_w), .ncyc(ncyc_w),
.clk(clk), .start_gclk(start_gclk));
/* ststwl lstepper ( .att_data_out(st_tc_l),
.att_data_in({ep_st_l,5'h0}), .dx(at_st_dxl),
.left_major(left_l),
.load(startspan_l), .ncyc(ncyc_l),
.clk(clk), .start_gclk(start_gclk)); */
endmodule // st