1 |
74 |
dinesha |
Reading /mtitcl/vsim/pref.tcl
|
2 |
|
|
|
3 |
|
|
# 10.2b
|
4 |
|
|
|
5 |
|
|
# vsim +uart_test_1 -do run.do -c tb_top
|
6 |
|
|
# // Questa Sim-64
|
7 |
|
|
# // Version 10.2b linux_x86_64 May 16 2013
|
8 |
|
|
# //
|
9 |
|
|
# // Copyright 1991-2013 Mentor Graphics Corporation
|
10 |
|
|
# // All Rights Reserved.
|
11 |
|
|
# //
|
12 |
|
|
# // THIS WORK CONTAINS TRADE SECRET AND PROPRIETARY INFORMATION
|
13 |
|
|
# // WHICH IS THE PROPERTY OF MENTOR GRAPHICS CORPORATION OR ITS
|
14 |
|
|
# // LICENSORS AND IS SUBJECT TO LICENSE TERMS.
|
15 |
|
|
# //
|
16 |
|
|
# Loading sv_std.std
|
17 |
|
|
# Loading work.tb_top(fast)
|
18 |
|
|
# Loading work.oc8051_top(fast)
|
19 |
|
|
# Loading work.tb_eth_top(fast)
|
20 |
|
|
# Loading work.AT45DB321(fast)
|
21 |
|
|
# do run.do
|
22 |
|
|
# i : 00
|
23 |
|
|
# i : 00
|
24 |
|
|
# i : 00
|
25 |
|
|
# i : 00
|
26 |
|
|
# i : 00
|
27 |
|
|
# i : 00
|
28 |
|
|
# i : 00
|
29 |
|
|
# i : 00
|
30 |
|
|
# i : 00
|
31 |
|
|
# i : 00
|
32 |
|
|
# NOTE : Load memory with Initial delivery content
|
33 |
|
|
# NOTE : Initial Load End
|
34 |
|
|
# NOTE: COMMUNICATION (RE)STARTED
|
35 |
|
|
# Config-Write: Id: 3 Addr = 0000, Cfg. Data = 00000017
|
36 |
|
|
#
|
37 |
|
|
# ... Writing char 36 ...
|
38 |
|
|
# ... Write data 24 to UART done cnt : 1 ...
|
39 |
|
|
#
|
40 |
|
|
#
|
41 |
|
|
# ... Writing char 129 ...
|
42 |
|
|
# (tb_top.tb_uart.read_char_chk.loop_2) Data match 24
|
43 |
|
|
# ... Read Data from UART done cnt : 1...
|
44 |
|
|
# ... Write data 81 to UART done cnt : 2 ...
|
45 |
|
|
#
|
46 |
|
|
#
|
47 |
|
|
# ... Writing char 9 ...
|
48 |
|
|
# (tb_top.tb_uart.read_char_chk.loop_2) Data match 81
|
49 |
|
|
# ... Read Data from UART done cnt : 2...
|
50 |
|
|
# ... Write data 09 to UART done cnt : 3 ...
|
51 |
|
|
#
|
52 |
|
|
#
|
53 |
|
|
# ... Writing char 99 ...
|
54 |
|
|
# (tb_top.tb_uart.read_char_chk.loop_2) Data match 09
|
55 |
|
|
# ... Read Data from UART done cnt : 3...
|
56 |
|
|
# ... Write data 63 to UART done cnt : 4 ...
|
57 |
|
|
#
|
58 |
|
|
#
|
59 |
|
|
# ... Writing char 13 ...
|
60 |
|
|
# (tb_top.tb_uart.read_char_chk.loop_2) Data match 63
|
61 |
|
|
# ... Read Data from UART done cnt : 4...
|
62 |
|
|
# ... Write data 0d to UART done cnt : 5 ...
|
63 |
|
|
#
|
64 |
|
|
#
|
65 |
|
|
# ... Writing char 141 ...
|
66 |
|
|
# (tb_top.tb_uart.read_char_chk.loop_2) Data match 0d
|
67 |
|
|
# ... Read Data from UART done cnt : 5...
|
68 |
|
|
# ... Write data 8d to UART done cnt : 6 ...
|
69 |
|
|
#
|
70 |
|
|
#
|
71 |
|
|
# ... Writing char 101 ...
|
72 |
|
|
# (tb_top.tb_uart.read_char_chk.loop_2) Data match 8d
|
73 |
|
|
# ... Read Data from UART done cnt : 6...
|
74 |
|
|
# ... Write data 65 to UART done cnt : 7 ...
|
75 |
|
|
#
|
76 |
|
|
#
|
77 |
|
|
# ... Writing char 18 ...
|
78 |
|
|
# (tb_top.tb_uart.read_char_chk.loop_2) Data match 65
|
79 |
|
|
# ... Read Data from UART done cnt : 7...
|
80 |
|
|
# ... Write data 12 to UART done cnt : 8 ...
|
81 |
|
|
#
|
82 |
|
|
#
|
83 |
|
|
# ... Writing char 1 ...
|
84 |
|
|
# (tb_top.tb_uart.read_char_chk.loop_2) Data match 12
|
85 |
|
|
# ... Read Data from UART done cnt : 8...
|
86 |
|
|
# ... Write data 01 to UART done cnt : 9 ...
|
87 |
|
|
#
|
88 |
|
|
#
|
89 |
|
|
# ... Writing char 13 ...
|
90 |
|
|
# (tb_top.tb_uart.read_char_chk.loop_2) Data match 01
|
91 |
|
|
# ... Read Data from UART done cnt : 9...
|
92 |
|
|
# ... Write data 0d to UART done cnt : 10 ...
|
93 |
|
|
#
|
94 |
|
|
#
|
95 |
|
|
# ... Writing char 118 ...
|
96 |
|
|
# (tb_top.tb_uart.read_char_chk.loop_2) Data match 0d
|
97 |
|
|
# ... Read Data from UART done cnt : 10...
|
98 |
|
|
# ... Write data 76 to UART done cnt : 11 ...
|
99 |
|
|
#
|
100 |
|
|
#
|
101 |
|
|
# ... Writing char 61 ...
|
102 |
|
|
# (tb_top.tb_uart.read_char_chk.loop_2) Data match 76
|
103 |
|
|
# ... Read Data from UART done cnt : 11...
|
104 |
|
|
# ... Write data 3d to UART done cnt : 12 ...
|
105 |
|
|
#
|
106 |
|
|
#
|
107 |
|
|
# ... Writing char 237 ...
|
108 |
|
|
# (tb_top.tb_uart.read_char_chk.loop_2) Data match 3d
|
109 |
|
|
# ... Read Data from UART done cnt : 12...
|
110 |
|
|
# ... Write data ed to UART done cnt : 13 ...
|
111 |
|
|
#
|
112 |
|
|
#
|
113 |
|
|
# ... Writing char 140 ...
|
114 |
|
|
# (tb_top.tb_uart.read_char_chk.loop_2) Data match ed
|
115 |
|
|
# ... Read Data from UART done cnt : 13...
|
116 |
|
|
# ... Write data 8c to UART done cnt : 14 ...
|
117 |
|
|
#
|
118 |
|
|
#
|
119 |
|
|
# ... Writing char 249 ...
|
120 |
|
|
# (tb_top.tb_uart.read_char_chk.loop_2) Data match 8c
|
121 |
|
|
# ... Read Data from UART done cnt : 14...
|
122 |
|
|
# ... Write data f9 to UART done cnt : 15 ...
|
123 |
|
|
#
|
124 |
|
|
#
|
125 |
|
|
# ... Writing char 198 ...
|
126 |
|
|
# (tb_top.tb_uart.read_char_chk.loop_2) Data match f9
|
127 |
|
|
# ... Read Data from UART done cnt : 15...
|
128 |
|
|
# ... Write data c6 to UART done cnt : 16 ...
|
129 |
|
|
#
|
130 |
|
|
#
|
131 |
|
|
# ... Writing char 197 ...
|
132 |
|
|
# (tb_top.tb_uart.read_char_chk.loop_2) Data match c6
|
133 |
|
|
# ... Read Data from UART done cnt : 16...
|
134 |
|
|
# ... Write data c5 to UART done cnt : 17 ...
|
135 |
|
|
#
|
136 |
|
|
#
|
137 |
|
|
# ... Writing char 170 ...
|
138 |
|
|
# (tb_top.tb_uart.read_char_chk.loop_2) Data match c5
|
139 |
|
|
# ... Read Data from UART done cnt : 17...
|
140 |
|
|
# ... Write data aa to UART done cnt : 18 ...
|
141 |
|
|
#
|
142 |
|
|
#
|
143 |
|
|
# ... Writing char 229 ...
|
144 |
|
|
# (tb_top.tb_uart.read_char_chk.loop_2) Data match aa
|
145 |
|
|
# ... Read Data from UART done cnt : 18...
|
146 |
|
|
# ... Write data e5 to UART done cnt : 19 ...
|
147 |
|
|
#
|
148 |
|
|
#
|
149 |
|
|
# ... Writing char 119 ...
|
150 |
|
|
# (tb_top.tb_uart.read_char_chk.loop_2) Data match e5
|
151 |
|
|
# ... Read Data from UART done cnt : 19...
|
152 |
|
|
# ... Write data 77 to UART done cnt : 20 ...
|
153 |
|
|
#
|
154 |
|
|
#
|
155 |
|
|
# ... Writing char 18 ...
|
156 |
|
|
# (tb_top.tb_uart.read_char_chk.loop_2) Data match 77
|
157 |
|
|
# ... Read Data from UART done cnt : 20...
|
158 |
|
|
# ... Write data 12 to UART done cnt : 21 ...
|
159 |
|
|
#
|
160 |
|
|
#
|
161 |
|
|
# ... Writing char 143 ...
|
162 |
|
|
# (tb_top.tb_uart.read_char_chk.loop_2) Data match 12
|
163 |
|
|
# ... Read Data from UART done cnt : 21...
|
164 |
|
|
# ... Write data 8f to UART done cnt : 22 ...
|
165 |
|
|
#
|
166 |
|
|
#
|
167 |
|
|
# ... Writing char 242 ...
|
168 |
|
|
# (tb_top.tb_uart.read_char_chk.loop_2) Data match 8f
|
169 |
|
|
# ... Read Data from UART done cnt : 22...
|
170 |
|
|
# ... Write data f2 to UART done cnt : 23 ...
|
171 |
|
|
#
|
172 |
|
|
#
|
173 |
|
|
# ... Writing char 206 ...
|
174 |
|
|
# (tb_top.tb_uart.read_char_chk.loop_2) Data match f2
|
175 |
|
|
# ... Read Data from UART done cnt : 23...
|
176 |
|
|
# ... Write data ce to UART done cnt : 24 ...
|
177 |
|
|
#
|
178 |
|
|
#
|
179 |
|
|
# ... Writing char 232 ...
|
180 |
|
|
# (tb_top.tb_uart.read_char_chk.loop_2) Data match ce
|
181 |
|
|
# ... Read Data from UART done cnt : 24...
|
182 |
|
|
# ... Write data e8 to UART done cnt : 25 ...
|
183 |
|
|
#
|
184 |
|
|
#
|
185 |
|
|
# ... Writing char 197 ...
|
186 |
|
|
# (tb_top.tb_uart.read_char_chk.loop_2) Data match e8
|
187 |
|
|
# ... Read Data from UART done cnt : 25...
|
188 |
|
|
# ... Write data c5 to UART done cnt : 26 ...
|
189 |
|
|
#
|
190 |
|
|
#
|
191 |
|
|
# ... Writing char 92 ...
|
192 |
|
|
# (tb_top.tb_uart.read_char_chk.loop_2) Data match c5
|
193 |
|
|
# ... Read Data from UART done cnt : 26...
|
194 |
|
|
# ... Write data 5c to UART done cnt : 27 ...
|
195 |
|
|
#
|
196 |
|
|
#
|
197 |
|
|
# ... Writing char 189 ...
|
198 |
|
|
# (tb_top.tb_uart.read_char_chk.loop_2) Data match 5c
|
199 |
|
|
# ... Read Data from UART done cnt : 27...
|
200 |
|
|
# ... Write data bd to UART done cnt : 28 ...
|
201 |
|
|
#
|
202 |
|
|
#
|
203 |
|
|
# ... Writing char 45 ...
|
204 |
|
|
# (tb_top.tb_uart.read_char_chk.loop_2) Data match bd
|
205 |
|
|
# ... Read Data from UART done cnt : 28...
|
206 |
|
|
# ... Write data 2d to UART done cnt : 29 ...
|
207 |
|
|
#
|
208 |
|
|
#
|
209 |
|
|
# ... Writing char 101 ...
|
210 |
|
|
# (tb_top.tb_uart.read_char_chk.loop_2) Data match 2d
|
211 |
|
|
# ... Read Data from UART done cnt : 29...
|
212 |
|
|
# ... Write data 65 to UART done cnt : 30 ...
|
213 |
|
|
#
|
214 |
|
|
#
|
215 |
|
|
# ... Writing char 99 ...
|
216 |
|
|
# (tb_top.tb_uart.read_char_chk.loop_2) Data match 65
|
217 |
|
|
# ... Read Data from UART done cnt : 30...
|
218 |
|
|
# ... Write data 63 to UART done cnt : 31 ...
|
219 |
|
|
#
|
220 |
|
|
#
|
221 |
|
|
# ... Writing char 10 ...
|
222 |
|
|
# (tb_top.tb_uart.read_char_chk.loop_2) Data match 63
|
223 |
|
|
# ... Read Data from UART done cnt : 31...
|
224 |
|
|
# ... Write data 0a to UART done cnt : 32 ...
|
225 |
|
|
#
|
226 |
|
|
#
|
227 |
|
|
# ... Writing char 128 ...
|
228 |
|
|
# (tb_top.tb_uart.read_char_chk.loop_2) Data match 0a
|
229 |
|
|
# ... Read Data from UART done cnt : 32...
|
230 |
|
|
# ... Write data 80 to UART done cnt : 33 ...
|
231 |
|
|
#
|
232 |
|
|
#
|
233 |
|
|
# ... Writing char 32 ...
|
234 |
|
|
# (tb_top.tb_uart.read_char_chk.loop_2) Data match 80
|
235 |
|
|
# ... Read Data from UART done cnt : 33...
|
236 |
|
|
# ... Write data 20 to UART done cnt : 34 ...
|
237 |
|
|
#
|
238 |
|
|
#
|
239 |
|
|
# ... Writing char 170 ...
|
240 |
|
|
# (tb_top.tb_uart.read_char_chk.loop_2) Data match 20
|
241 |
|
|
# ... Read Data from UART done cnt : 34...
|
242 |
|
|
# ... Write data aa to UART done cnt : 35 ...
|
243 |
|
|
#
|
244 |
|
|
#
|
245 |
|
|
# ... Writing char 157 ...
|
246 |
|
|
# (tb_top.tb_uart.read_char_chk.loop_2) Data match aa
|
247 |
|
|
# ... Read Data from UART done cnt : 35...
|
248 |
|
|
# ... Write data 9d to UART done cnt : 36 ...
|
249 |
|
|
#
|
250 |
|
|
#
|
251 |
|
|
# ... Writing char 150 ...
|
252 |
|
|
# (tb_top.tb_uart.read_char_chk.loop_2) Data match 9d
|
253 |
|
|
# ... Read Data from UART done cnt : 36...
|
254 |
|
|
# ... Write data 96 to UART done cnt : 37 ...
|
255 |
|
|
#
|
256 |
|
|
#
|
257 |
|
|
# ... Writing char 19 ...
|
258 |
|
|
# (tb_top.tb_uart.read_char_chk.loop_2) Data match 96
|
259 |
|
|
# ... Read Data from UART done cnt : 37...
|
260 |
|
|
# ... Write data 13 to UART done cnt : 38 ...
|
261 |
|
|
#
|
262 |
|
|
#
|
263 |
|
|
# ... Writing char 13 ...
|
264 |
|
|
# (tb_top.tb_uart.read_char_chk.loop_2) Data match 13
|
265 |
|
|
# ... Read Data from UART done cnt : 38...
|
266 |
|
|
# ... Write data 0d to UART done cnt : 39 ...
|
267 |
|
|
#
|
268 |
|
|
#
|
269 |
|
|
# ... Writing char 83 ...
|
270 |
|
|
# (tb_top.tb_uart.read_char_chk.loop_2) Data match 0d
|
271 |
|
|
# ... Read Data from UART done cnt : 39...
|
272 |
|
|
# ... Write data 53 to UART done cnt : 40 ...
|
273 |
|
|
#
|
274 |
|
|
# (tb_top.tb_uart.read_char_chk.loop_2) Data match 53
|
275 |
|
|
# ... Read Data from UART done cnt : 40...
|
276 |
|
|
# -------------------- Reporting Configuration --------------------
|
277 |
|
|
# Data bit number setting is : 8
|
278 |
|
|
# Stop bit number setting is : 1
|
279 |
|
|
# Divisor of Uart clock is : 3
|
280 |
|
|
# Parity is enable
|
281 |
|
|
# Even parity setting
|
282 |
|
|
# FIFO mode is disable
|
283 |
|
|
# -----------------------------------------------------------------
|
284 |
|
|
# -------------------- Reporting Status --------------------
|
285 |
|
|
#
|
286 |
|
|
# Number of character received is : 40
|
287 |
|
|
# Number of character sent is : 40
|
288 |
|
|
# Number of parity error rxd is : 0
|
289 |
|
|
# Number of stop1 error rxd is : 0
|
290 |
|
|
# Number of stop2 error rxd is : 0
|
291 |
|
|
# Number of timeout error is : 0
|
292 |
|
|
# Number of error is : 0
|
293 |
|
|
# -----------------------------------------------------------------
|
294 |
|
|
#
|
295 |
|
|
# -------------------------------------------------
|
296 |
|
|
# Test Status
|
297 |
|
|
# warnings: 0, errors: 0
|
298 |
|
|
#
|
299 |
|
|
# -------------------------------------------------
|
300 |
|
|
# Test Status
|
301 |
|
|
# warnings: 0, errors: 0
|
302 |
|
|
#
|
303 |
|
|
# =========
|
304 |
|
|
# Test Status: TEST PASSED
|
305 |
|
|
# =========
|
306 |
|
|
#
|
307 |
|
|
# ** Note: $finish : ../lib/tb_glbl.v(70)
|
308 |
|
|
# Time: 157871 ns Iteration: 0 Instance: /tb_top
|