1 |
2 |
sfielding |
VERSION=1.19
|
2 |
|
|
HEADER
|
3 |
|
|
FILE="slaveDirectcontrol.asf"
|
4 |
|
|
FID=406ac3b6
|
5 |
|
|
LANGUAGE=VERILOG
|
6 |
|
|
ENTITY="slaveDirectControl"
|
7 |
|
|
FREEOID=180
|
8 |
|
|
"LIBRARIES=`timescale 1ns / 1ps\n`include \"usbSerialInterfaceEngine_h.v\"\n"
|
9 |
|
|
MULTIPLEARCHSTATUS=FALSE
|
10 |
|
|
SYNTHESISATTRIBUTES=TRUE
|
11 |
|
|
HEADER_PARAM="AUTHOR,Steve"
|
12 |
|
|
HEADER_PARAM="COMPANY,Base2Designs"
|
13 |
|
|
HEADER_PARAM="CREATIONDATE,3/20/2004"
|
14 |
|
|
HEADER_PARAM="TITLE,slaveDirectControl"
|
15 |
|
|
END
|
16 |
|
|
BUNDLES
|
17 |
|
|
B T "Declarations" 0,0,255 0 0 1 255,255,255 0 3333 0 0000 0 "Arial" 0
|
18 |
|
|
B T "Conditions" 236,0,236 0 0 0 255,255,255 0 3333 0 0110 0 "Arial" 0
|
19 |
|
|
B F "States" 0,0,0 0 0 1 0,255,0 1 3527 1480 0000 0 "Arial" 0
|
20 |
|
|
B T "Actions" 0,0,0 0 0 1 255,255,255 0 3333 0 0000 0 "Arial" 0
|
21 |
|
|
B T "Labels" 0,0,0 0 0 0 0,0,0 0 3333 0 0000 0 "Arial" 0
|
22 |
|
|
B L "Transitions" 0,0,0 0 0 1 0,0,0 1 3527 1480 0000 0 "Arial" 0
|
23 |
|
|
B F "Ports" 0,0,0 0 0 1 0,255,255 1 3527 1480 0000 0 "Arial" 0
|
24 |
|
|
B L "Errors" 255,0,0 0 3 1 255,255,255 1 3527 1480 0000 0 "Arial" 0
|
25 |
|
|
B T "State Labels" 0,0,0 0 0 0 0,0,0 0 3333 0 0000 0 "Arial" 4
|
26 |
|
|
B F "Current State" 255,255,0 0 0 1 255,255,0 1 3527 1480 0000 0 "Arial" 0
|
27 |
|
|
B T "Comments" 157,157,157 0 0 1 255,255,255 0 3333 0 0000 0 "Arial" 0
|
28 |
|
|
B L "Info" 0,255,0 0 3 1 255,255,255 1 3527 1480 0000 0 "Arial" 0
|
29 |
|
|
B F "Junction" 0,0,0 0 0 1 255,0,0 1 3527 1480 0000 0 "Arial" 0
|
30 |
|
|
B F "Initial State Indicator" 0,0,0 0 0 1 240,140,40 1 3527 1480 0000 0 "Arial" 0
|
31 |
|
|
END
|
32 |
|
|
INSTHEADER 1
|
33 |
|
|
PAGE 0,0 215900,279400
|
34 |
|
|
MARGINS 12700,12700 12700,12700
|
35 |
|
|
END
|
36 |
|
|
INSTHEADER 78
|
37 |
|
|
PAGE 0,0 215900,279400
|
38 |
|
|
MARGINS 12700,12700 12700,12700
|
39 |
|
|
END
|
40 |
|
|
INSTHEADER 127
|
41 |
|
|
PAGE 0,0 215900,279400
|
42 |
|
|
MARGINS 12700,12700 12700,12700
|
43 |
|
|
END
|
44 |
|
|
OBJECTS
|
45 |
|
|
G 1 0 0 TEXT 0,0,0 0 0 0 255,255,255 0 3527 1480 0000 0 "Arial" 0 | 97950,263700 1 0 0 "Module: slaveDirectControl"
|
46 |
|
|
A 5 0 1 TEXT "Actions" | 17700,253700 1 0 0 "// diagram ACTION"
|
47 |
|
|
F 6 0 671089152 16 0 "" 0 RECT 0,0,0 0 0 1 255,255,255 0 | 15700,15700 200200,233700
|
48 |
|
|
L 7 6 0 TEXT "Labels" | 18700,230700 1 0 0 "slvDrctCntl"
|
49 |
|
|
L 8 9 0 TEXT "State Labels" | 100900,212200 1 0 0 "START_SDC\n/0/"
|
50 |
|
|
S 9 6 0 ELLIPSE "States" | 100900,212200 6500 6500
|
51 |
|
|
L 10 11 0 TEXT "State Labels" | 102500,176200 1 0 0 "CHK_DRCT_CNTL\n/1/"
|
52 |
|
|
S 11 6 4096 ELLIPSE "States" | 102500,176200 6500 6500
|
53 |
|
|
I 13 6 0 Builtin Reset | 48900,215400
|
54 |
|
|
W 14 6 0 13 9 BEZIER "Transitions" | 48900,215400 60300,214600 83007,213291 94407,212491
|
55 |
|
|
L 15 16 0 TEXT "Labels" | 187300,263800 1 0 0 "clk"
|
56 |
|
|
I 16 0 3 Builtin InPort | 181300,263800 "" ""
|
57 |
|
|
L 17 18 0 TEXT "Labels" | 187500,257400 1 0 0 "rst"
|
58 |
|
|
I 18 0 2 Builtin InPort | 181500,257400 "" ""
|
59 |
|
|
C 19 14 0 TEXT "Conditions" | 76744,213569 1 0 0 "rst"
|
60 |
|
|
L 20 21 0 TEXT "Labels" | 63252,239123 1 0 0 "directControlEn"
|
61 |
|
|
I 21 0 2 Builtin InPort | 57252,239123 "" ""
|
62 |
|
|
W 26 6 0 9 11 BEZIER "Transitions" | 100525,205718 101125,199618 101292,188766 101892,182666
|
63 |
|
|
W 27 6 8193 11 78 BEZIER "Transitions" | 99393,170493 94693,161093 75357,144887 70657,135487
|
64 |
|
|
C 28 27 0 TEXT "Conditions" | 80136,160617 1 0 0 "directControlEn == 1'b1"
|
65 |
|
|
W 51 6 8194 11 127 BEZIER "Transitions" | 108159,173005 122851,164817 139855,136277 144754,128309
|
66 |
|
|
L 77 78 0 TEXT "State Labels" | 68590,129326 1 0 0 "DRCT_CNTL"
|
67 |
|
|
S 78 6 8196 ELLIPSE 0,0,0 0 0 1 0,255,255 1 | 68590,129326 6500 6500
|
68 |
|
|
H 79 78 0 RECT 0,0,0 0 0 1 255,255,255 0 | 15700,15700 200200,263700
|
69 |
|
|
W 88 79 4096 124 90 BEZIER "Transitions" | 105569,175900 100869,166500 70569,161175 65869,151775
|
70 |
|
|
S 90 79 12288 ELLIPSE "States" | 62621,146145 6500 6500
|
71 |
|
|
L 91 90 0 TEXT "State Labels" | 62621,146145 1 0 0 "WAIT_GNT\n/2/"
|
72 |
|
|
W 92 79 8194 93 102 BEZIER "Transitions" | 62907,72842 59107,76242 50421,81945 48421,85645\
|
73 |
|
|
46421,89345 46021,97345 47471,100295 48921,103245\
|
74 |
|
|
55748,105011 58848,106911
|
75 |
|
|
S 93 79 16384 ELLIPSE "States" | 68621,69745 6500 6500
|
76 |
|
|
A 94 93 4 TEXT "Actions" | 87021,72145 1 0 0 "SCTxPortWEn <= 1'b0;"
|
77 |
|
|
W 95 79 0 102 93 BEZIER "Transitions" | 65496,102474 65896,97574 67230,81067 67630,76167
|
78 |
|
|
A 96 95 16 TEXT "Actions" | 62372,93902 1 0 0 "SCTxPortWEn <= 1'b1; \nSCTxPortData <= {6'b000000, directControlLineState}; \nSCTxPortCntl <= `TX_DIRECT_CONTROL;"
|
79 |
|
|
C 97 95 0 TEXT "Conditions" | 67437,101104 1 0 0 "SCTxPortRdy == 1'b1"
|
80 |
|
|
L 98 93 0 TEXT "State Labels" | 68621,69745 1 0 0 "CHK_LOOP\n/3/"
|
81 |
|
|
W 99 79 0 90 102 BEZIER "Transitions" | 62834,139649 63234,133449 64005,121613 64405,115413
|
82 |
|
|
C 100 99 0 TEXT "Conditions" | 62221,136545 1 0 0 "SCTxPortGnt == 1'b1"
|
83 |
|
|
S 102 79 20480 ELLIPSE "States" | 65021,108945 6500 6500
|
84 |
|
|
L 103 102 0 TEXT "State Labels" | 65021,108945 1 0 0 "WAIT_RDY\n/4/"
|
85 |
|
|
I 122 79 0 Builtin Exit | 138103,36586
|
86 |
|
|
I 124 79 0 Builtin Entry | 109800,175900
|
87 |
|
|
W 125 6 0 78 11 BEZIER "Transitions" | 62548,131721 58511,135864 49941,141807 48613,147491\
|
88 |
|
|
47285,153175 50048,167625 56316,171290 62585,174956\
|
89 |
|
|
84856,175714 96012,175820
|
90 |
|
|
L 126 127 0 TEXT "State Labels" | 147819,122579 1 0 0 "IDLE"
|
91 |
|
|
S 127 6 24580 ELLIPSE 0,0,0 0 0 1 0,255,255 1 | 147819,122579 6500 6500
|
92 |
|
|
H 128 127 0 RECT 0,0,0 0 0 1 255,255,255 0 | 15700,15700 200200,263700
|
93 |
|
|
W 135 128 0 143 146 BEZIER "Transitions" | 110317,146150 110717,139950 111488,128114 111888,121914
|
94 |
|
|
C 136 135 0 TEXT "Conditions" | 109704,143046 1 0 0 "SCTxPortGnt == 1'b1"
|
95 |
|
|
S 137 128 28672 ELLIPSE "States" | 115898,76040 6500 6500
|
96 |
|
|
L 138 137 0 TEXT "State Labels" | 115898,76040 1 0 0 "FIN\n/5/"
|
97 |
|
|
W 139 128 0 146 137 BEZIER "Transitions" | 112979,108975 113379,104075 114551,87365 114951,82465
|
98 |
|
|
C 140 139 0 TEXT "Conditions" | 114907,107589 1 0 0 "SCTxPortRdy == 1'b1"
|
99 |
|
|
A 141 139 16 TEXT "Actions" | 109766,100293 1 0 0 "SCTxPortWEn <= 1'b1; \nSCTxPortData <= 8'h00; \nSCTxPortCntl <= `TX_IDLE;"
|
100 |
|
|
A 142 137 4 TEXT "Actions" | 130303,68109 1 0 0 "SCTxPortWEn <= 1'b0;\nSCTxPortReq <= 1'b0;"
|
101 |
|
|
S 143 128 32768 ELLIPSE "States" | 110104,152646 6500 6500
|
102 |
|
|
L 144 143 0 TEXT "State Labels" | 110104,152646 1 0 0 "WAIT_GNT\n/6/"
|
103 |
|
|
W 145 128 4096 150 143 BEZIER "Transitions" | 71299,204814 85991,196626 102015,166277 106914,158309
|
104 |
|
|
S 146 128 36864 ELLIPSE "States" | 112504,115446 6500 6500
|
105 |
|
|
L 147 146 0 TEXT "State Labels" | 112504,115446 1 0 0 "WAIT_RDY\n/7/"
|
106 |
|
|
A 148 145 16 TEXT "Actions" | 91825,176461 1 0 0 "SCTxPortReq <= 1'b1;"
|
107 |
|
|
I 150 128 0 Builtin Entry | 67068,204814
|
108 |
|
|
I 151 128 0 Builtin Exit | 67380,61048
|
109 |
|
|
W 153 6 0 127 11 BEZIER "Transitions" | 152988,126518 159136,134574 171720,147536 171773,153843\
|
110 |
|
|
171826,160150 159742,169266 150997,171704 142252,174142\
|
111 |
|
|
120424,175336 108976,175654
|
112 |
|
|
I 154 0 2 Builtin OutPort | 108837,257571 "" ""
|
113 |
|
|
L 155 154 0 TEXT "Labels" | 114837,257571 1 0 0 "SCTxPortCntl[7:0]"
|
114 |
|
|
I 156 0 2 Builtin OutPort | 109440,251139 "" ""
|
115 |
|
|
L 157 156 0 TEXT "Labels" | 115440,251139 1 0 0 "SCTxPortData[7:0]"
|
116 |
|
|
I 158 0 2 Builtin OutPort | 109163,245109 "" ""
|
117 |
|
|
L 159 158 0 TEXT "Labels" | 115163,245109 1 0 0 "SCTxPortWEn"
|
118 |
|
|
C 175 174 0 TEXT "Conditions" | 95181,61437 1 0 0 "directControlEn == 1'b0"
|
119 |
|
|
W 174 79 8193 93 122 BEZIER "Transitions" | 74339,66657 90586,60011 118717,43232 134964,36586
|
120 |
|
|
I 160 0 2 Builtin InPort | 111543,239893 "" ""
|
121 |
|
|
L 161 160 0 TEXT "Labels" | 117543,239893 1 0 0 "SCTxPortRdy"
|
122 |
|
|
I 162 0 2 Builtin InPort | 162999,244717 "" ""
|
123 |
|
|
L 163 162 0 TEXT "Labels" | 168999,244717 1 0 0 "SCTxPortGnt"
|
124 |
|
|
I 164 0 2 Builtin OutPort | 160587,239893 "" ""
|
125 |
|
|
L 165 164 0 TEXT "Labels" | 166587,239893 1 0 0 "SCTxPortReq"
|
126 |
|
|
A 166 9 2 TEXT "Actions" | 121708,221292 1 0 0 "SCTxPortCntl <= 8'h00;\nSCTxPortData <= 8'h00;\nSCTxPortWEn <= 1'b0; \nSCTxPortReq <= 1'b0;"
|
127 |
|
|
A 167 88 16 TEXT "Actions" | 75140,165538 1 0 0 "SCTxPortReq <= 1'b1;"
|
128 |
|
|
W 173 128 0 137 151 BEZIER "Transitions" | 109732,73984 99784,70853 80467,64179 70519,61048
|
129 |
|
|
I 179 0 2 Builtin InPort | 57352,247790 "" ""
|
130 |
|
|
L 178 179 0 TEXT "Labels" | 63352,247790 1 0 0 "directControlLineState[1:0]"
|
131 |
|
|
A 177 174 16 TEXT "Actions" | 102262,47300 1 0 0 "SCTxPortReq <= 1'b0;"
|
132 |
|
|
END
|