vi_span.tst 16.2 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 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499
//****************************************
// File: vi_nhan1.tst
//       modified version of vi_han1.tst,
//       preloads span buffers and then
//       repeatedly scans out line	
//
// Kluster
// 12-05-94
//
// Modified by Phil Gossett
// 12/25/94
// 
// Modifed again by Kluster
// 12/31/94
//
//****************************************

// Configure RDRAM 
k 1
vi_snoop 1
//t 0200 00000000 00000000 00000000 00000000
dr 2 tmp.rdram

// Stop the dmas and go into test mode   

// Write-Read VI_CTRL   
t 0103 04400000 00000880 00000880 00000000

// Write msb 32 bits 
t 0102 04400038 00000000 00000000 00000000 
t 0102 0440003c a2c1a2c1 a2c1a2c1 00000000 
// Write lsb 32 bits 
t 0102 04400038 00000001 00000001 00000000 
t 0102 0440003c a2c19ac1 a2c19ac1 00000000 
// Write hidden bits 
t 0102 04400038 00000002 00000002 00000000 
t 0102 0440003c 000000ff 000000ff 00000000 
// Now stuff staged data into the span buffer 
t 0102 04400038 00000003 00000003 00000000 
t 0102 0440003c 00000000 00000000 00000000 

// Write msb 32 bits 
t 0102 04400038 00000004 00000004 00000000 
t 0102 0440003c 9ac19ac1 9ac19ac1 00000000 
// Write lsb 32 bits 
t 0102 04400038 00000005 00000005 00000000 
t 0102 0440003c 9ac19ac1 9ac19ac1 00000000 
// Write hidden bits 
t 0102 04400038 00000006 00000006 00000000 
t 0102 0440003c 000000ff 000000ff 00000000 
// Now stuff staged data into the span buffer 
t 0102 04400038 00000007 00000007 00000000 
t 0102 0440003c 00000000 00000000 00000000 

// Write msb 32 bits 
t 0102 04400038 00000008 00000008 00000000 
t 0102 0440003c 9ac19ac1 9ac19ac1 00000000 
// Write lsb 32 bits 
t 0102 04400038 00000009 00000009 00000000 
t 0102 0440003c 9ac19ac1 9ac19ac1 00000000 
// Write hidden bits 
t 0102 04400038 0000000a 0000000a 00000000 
t 0102 0440003c 000000ff 000000ff 00000000 
// Now stuff staged data into the span buffer 
t 0102 04400038 0000000b 0000000b 00000000 
t 0102 0440003c 00000000 00000000 00000000 

// Write msb 32 bits 
t 0102 04400038 0000000c 0000000c 00000000 
t 0102 0440003c 9ac19ac1 9ac19ac1 00000000 
// Write lsb 32 bits 
t 0102 04400038 0000000d 0000000d 00000000 
t 0102 0440003c 9b019b01 9b019b01 00000000 
// Write hidden bits 
t 0102 04400038 0000000e 0000000e 00000000 
t 0102 0440003c 000000ff 000000ff 00000000 
// Now stuff staged data into the span buffer 
t 0102 04400038 0000000f 0000000f 00000000 
t 0102 0440003c 00000000 00000000 00000000 

// Write msb 32 bits 
t 0102 04400038 00000010 00000010 00000000 
t 0102 0440003c 93419341 93419341 00000000 
// Write lsb 32 bits 
t 0102 04400038 00000011 00000011 00000000 
t 0102 0440003c 8b418b41 8b418b41 00000000 
// Write hidden bits 
t 0102 04400038 00000012 00000012 00000000 
t 0102 0440003c 000000ff 000000ff 00000000 
// Now stuff staged data into the span buffer 
t 0102 04400038 00000013 00000013 00000000 
t 0102 0440003c 00000000 00000000 00000000 

// Write msb 32 bits 
t 0102 04400038 00000014 00000014 00000000 
t 0102 0440003c 8b418b41 8b418b41 00000000 
// Write lsb 32 bits 
t 0102 04400038 00000015 00000015 00000000 
t 0102 0440003c 8b418b41 8b418b41 00000000 
// Write hidden bits 
t 0102 04400038 00000016 00000016 00000000 
t 0102 0440003c 000000ff 000000ff 00000000 
// Now stuff staged data into the span buffer 
t 0102 04400038 00000017 00000017 00000000 
t 0102 0440003c 00000000 00000000 00000000 

// Write msb 32 bits 
t 0102 04400038 00000018 00000018 00000000 
t 0102 0440003c 8b418b41 8b418b41 00000000 
// Write lsb 32 bits 
t 0102 04400038 00000019 00000019 00000000 
t 0102 0440003c 8b418b41 8b418b41 00000000 
// Write hidden bits 
t 0102 04400038 0000001a 0000001a 00000000 
t 0102 0440003c 000000ff 000000ff 00000000 
// Now stuff staged data into the span buffer 
t 0102 04400038 0000001b 0000001b 00000000 
t 0102 0440003c 00000000 00000000 00000000 

// Write msb 32 bits 
t 0102 04400038 0000001c 0000001c 00000000 
t 0102 0440003c 8b418b41 8b418b41 00000000 
// Write lsb 32 bits 
t 0102 04400038 0000001d 0000001d 00000000 
t 0102 0440003c 8b818b81 8b818b81 00000000 
// Write hidden bits 
t 0102 04400038 0000001e 0000001e 00000000 
t 0102 0440003c 000000ff 000000ff 00000000 
// Now stuff staged data into the span buffer 
t 0102 04400038 0000001f 0000001f 00000000 
t 0102 0440003c 00000000 00000000 00000000 

// Write msb 32 bits 
t 0102 04400038 00000020 00000020 00000000 
t 0102 0440003c b241b241 b241b241 00000000 
// Write lsb 32 bits 
t 0102 04400038 00000021 00000021 00000000 
t 0102 0440003c b241aa41 b241aa41 00000000 
// Write hidden bits 
t 0102 04400038 00000022 00000022 00000000 
t 0102 0440003c 000000ff 000000ff 00000000 
// Now stuff staged data into the span buffer 
t 0102 04400038 00000023 00000023 00000000 
t 0102 0440003c 00000000 00000000 00000000 

// Write msb 32 bits 
t 0102 04400038 00000024 00000024 00000000 
t 0102 0440003c aa41aa41 aa41aa41 00000000 
// Write lsb 32 bits 
t 0102 04400038 00000025 00000025 00000000 
t 0102 0440003c aa41aa41 aa41aa41 00000000 
// Write hidden bits 
t 0102 04400038 00000026 00000026 00000000 
t 0102 0440003c 000000ff 000000ff 00000000 
// Now stuff staged data into the span buffer 
t 0102 04400038 00000027 00000027 00000000 
t 0102 0440003c 00000000 00000000 00000000 

// Write msb 32 bits 
t 0102 04400038 00000028 00000028 00000000 
t 0102 0440003c aa41aa41 aa41aa41 00000000 
// Write lsb 32 bits 
t 0102 04400038 00000029 00000029 00000000 
t 0102 0440003c aa41aa41 aa41aa41 00000000 
// Write hidden bits 
t 0102 04400038 0000002a 0000002a 00000000 
t 0102 0440003c 000000ff 000000ff 00000000 
// Now stuff staged data into the span buffer 
t 0102 04400038 0000002b 0000002b 00000000 
t 0102 0440003c 00000000 00000000 00000000 

// Write msb 32 bits 
t 0102 04400038 0000002c 0000002c 00000000 
t 0102 0440003c aa41aa41 aa41aa41 00000000 
// Write lsb 32 bits 
t 0102 04400038 0000002d 0000002d 00000000 
t 0102 0440003c aa41aa81 aa41aa81 00000000 
// Write hidden bits 
t 0102 04400038 0000002e 0000002e 00000000 
t 0102 0440003c 000000ff 000000ff 00000000 
// Now stuff staged data into the span buffer 
t 0102 04400038 0000002f 0000002f 00000000 
t 0102 0440003c 00000000 00000000 00000000 

// Write msb 32 bits 
t 0102 04400038 00000030 00000030 00000000 
t 0102 0440003c 00000000 00000000 00000000 
// Write lsb 32 bits 
t 0102 04400038 00000031 00000031 00000000 
t 0102 0440003c 00000000 00000000 00000000 
// Write hidden bits 
t 0102 04400038 00000032 00000032 00000000 
t 0102 0440003c 00000000 00000000 00000000 
// Now stuff staged data into the span buffer 
t 0102 04400038 00000033 00000033 00000000 
t 0102 0440003c 00000000 00000000 00000000 

// Write msb 32 bits 
t 0102 04400038 00000034 00000034 00000000 
t 0102 0440003c 00000000 00000000 00000000 
// Write lsb 32 bits 
t 0102 04400038 00000035 00000035 00000000 
t 0102 0440003c 00000000 00000000 00000000 
// Write hidden bits 
t 0102 04400038 00000036 00000036 00000000 
t 0102 0440003c 00000000 00000000 00000000 
// Now stuff staged data into the span buffer 
t 0102 04400038 00000037 00000037 00000000 
t 0102 0440003c 00000000 00000000 00000000 

// Write msb 32 bits 
t 0102 04400038 00000038 00000038 00000000 
t 0102 0440003c 00000000 00000000 00000000 
// Write lsb 32 bits 
t 0102 04400038 00000039 00000039 00000000 
t 0102 0440003c 00000000 00000000 00000000 
// Write hidden bits 
t 0102 04400038 0000003a 0000003a 00000000 
t 0102 0440003c 00000000 00000000 00000000 
// Now stuff staged data into the span buffer 
t 0102 04400038 0000003b 0000003b 00000000 
t 0102 0440003c 00000000 00000000 00000000 

// Write msb 32 bits 
t 0102 04400038 0000003c 0000003c 00000000 
t 0102 0440003c 00000000 00000000 00000000 
// Write lsb 32 bits 
t 0102 04400038 0000003d 0000003d 00000000 
t 0102 0440003c 00000000 00000000 00000000 
// Write hidden bits 
t 0102 04400038 0000003e 0000003e 00000000 
t 0102 0440003c 00000000 00000000 00000000 
// Now stuff staged data into the span buffer 
t 0102 04400038 0000003f 0000003f 00000000 
t 0102 0440003c 00000000 00000000 00000000 

// Write msb 32 bits 
t 0102 04400038 00000040 00000040 00000000 
t 0102 0440003c 00010001 00010001 00000000 
// Write lsb 32 bits 
t 0102 04400038 00000041 00000041 00000000 
t 0102 0440003c 00010001 00010001 00000000 
// Write hidden bits 
t 0102 04400038 00000042 00000042 00000000 
t 0102 0440003c 000000ff 000000ff 00000000 
// Now stuff staged data into the span buffer 
t 0102 04400038 00000043 00000043 00000000 
t 0102 0440003c 00000000 00000000 00000000 

// Write msb 32 bits 
t 0102 04400038 00000044 00000044 00000000 
t 0102 0440003c 00010001 00010001 00000000 
// Write lsb 32 bits 
t 0102 04400038 00000045 00000045 00000000 
t 0102 0440003c 00010001 00010001 00000000 
// Write hidden bits 
t 0102 04400038 00000046 00000046 00000000 
t 0102 0440003c 000000ff 000000ff 00000000 
// Now stuff staged data into the span buffer 
t 0102 04400038 00000047 00000047 00000000 
t 0102 0440003c 00000000 00000000 00000000 

// Write msb 32 bits 
t 0102 04400038 00000048 00000048 00000000 
t 0102 0440003c aa40b241 aa40b241 00000000 
// Write lsb 32 bits 
t 0102 04400038 00000049 00000049 00000000 
t 0102 0440003c b241b241 b241b241 00000000 
// Write hidden bits 
t 0102 04400038 0000004a 0000004a 00000000 
t 0102 0440003c 000000ff 000000ff 00000000 
// Now stuff staged data into the span buffer 
t 0102 04400038 0000004b 0000004b 00000000 
t 0102 0440003c 00000000 00000000 00000000 

// Write msb 32 bits 
t 0102 04400038 0000004c 0000004c 00000000 
t 0102 0440003c b241b241 b241b241 00000000 
// Write lsb 32 bits 
t 0102 04400038 0000004d 0000004d 00000000 
t 0102 0440003c b241b241 b241b241 00000000 
// Write hidden bits 
t 0102 04400038 0000004e 0000004e 00000000 
t 0102 0440003c 000000ff 000000ff 00000000 
// Now stuff staged data into the span buffer 
t 0102 04400038 0000004f 0000004f 00000000 
t 0102 0440003c 00000000 00000000 00000000 

// Write msb 32 bits 
t 0102 04400038 00000050 00000050 00000000 
t 0102 0440003c 00010001 00010001 00000000 
// Write lsb 32 bits 
t 0102 04400038 00000051 00000051 00000000 
t 0102 0440003c 00010001 00010001 00000000 
// Write hidden bits 
t 0102 04400038 00000052 00000052 00000000 
t 0102 0440003c 000000ff 000000ff 00000000 
// Now stuff staged data into the span buffer 
t 0102 04400038 00000053 00000053 00000000 
t 0102 0440003c 00000000 00000000 00000000 

// Write msb 32 bits 
t 0102 04400038 00000054 00000054 00000000 
t 0102 0440003c 00010001 00010001 00000000 
// Write lsb 32 bits 
t 0102 04400038 00000055 00000055 00000000 
t 0102 0440003c 00019300 00019300 00000000 
// Write hidden bits 
t 0102 04400038 00000056 00000056 00000000 
t 0102 0440003c 000000fc 000000fc 00000000 
// Now stuff staged data into the span buffer 
t 0102 04400038 00000057 00000057 00000000 
t 0102 0440003c 00000000 00000000 00000000 

// Write msb 32 bits 
t 0102 04400038 00000058 00000058 00000000 
t 0102 0440003c a2c1a2c1 a2c1a2c1 00000000 
// Write lsb 32 bits 
t 0102 04400038 00000059 00000059 00000000 
t 0102 0440003c a2c1a2c1 a2c1a2c1 00000000 
// Write hidden bits 
t 0102 04400038 0000005a 0000005a 00000000 
t 0102 0440003c 000000ff 000000ff 00000000 
// Now stuff staged data into the span buffer 
t 0102 04400038 0000005b 0000005b 00000000 
t 0102 0440003c 00000000 00000000 00000000 

// Write msb 32 bits 
t 0102 04400038 0000005c 0000005c 00000000 
t 0102 0440003c a2c1a2c1 a2c1a2c1 00000000 
// Write lsb 32 bits 
t 0102 04400038 0000005d 0000005d 00000000 
t 0102 0440003c a2c1a2c1 a2c1a2c1 00000000 
// Write hidden bits 
t 0102 04400038 0000005e 0000005e 00000000 
t 0102 0440003c 000000ff 000000ff 00000000 
// Now stuff staged data into the span buffer 
t 0102 04400038 0000005f 0000005f 00000000 
t 0102 0440003c 00000000 00000000 00000000 

// Write msb 32 bits 
t 0102 04400038 00000060 00000060 00000000 
t 0102 0440003c 00010001 00010001 00000000 
// Write lsb 32 bits 
t 0102 04400038 00000061 00000061 00000000 
t 0102 0440003c 00010001 00010001 00000000 
// Write hidden bits 
t 0102 04400038 00000062 00000062 00000000 
t 0102 0440003c 000000ff 000000ff 00000000 
// Now stuff staged data into the span buffer 
t 0102 04400038 00000063 00000063 00000000 
t 0102 0440003c 00000000 00000000 00000000 

// Write msb 32 bits 
t 0102 04400038 00000064 00000064 00000000 
t 0102 0440003c 00010001 00010001 00000000 
// Write lsb 32 bits 
t 0102 04400038 00000065 00000065 00000000 
t 0102 0440003c 00010001 00010001 00000000 
// Write hidden bits 
t 0102 04400038 00000066 00000066 00000000 
t 0102 0440003c 000000ff 000000ff 00000000 
// Now stuff staged data into the span buffer 
t 0102 04400038 00000067 00000067 00000000 
t 0102 0440003c 00000000 00000000 00000000 

// Write msb 32 bits 
t 0102 04400038 00000068 00000068 00000000 
t 0102 0440003c b200c1c1 b200c1c1 00000000 
// Write lsb 32 bits 
t 0102 04400038 00000069 00000069 00000000 
t 0102 0440003c c1c1c1c1 c1c1c1c1 00000000 
// Write hidden bits 
t 0102 04400038 0000006a 0000006a 00000000 
t 0102 0440003c 0000002f 0000002f 00000000 
// Now stuff staged data into the span buffer 
t 0102 04400038 0000006b 0000006b 00000000 
t 0102 0440003c 00000000 00000000 00000000 

// Write msb 32 bits 
t 0102 04400038 0000006c 0000006c 00000000 
t 0102 0440003c c1c1c1c1 c1c1c1c1 00000000 
// Write lsb 32 bits 
t 0102 04400038 0000006d 0000006d 00000000 
t 0102 0440003c c1c1c1c1 c1c1c1c1 00000000 
// Write hidden bits 
t 0102 04400038 0000006e 0000006e 00000000 
t 0102 0440003c 000000ff 000000ff 00000000 
// Now stuff staged data into the span buffer 
t 0102 04400038 0000006f 0000006f 00000000 
t 0102 0440003c 00000000 00000000 00000000 

// Write msb 32 bits 
t 0102 04400038 00000070 00000070 00000000 
t 0102 0440003c 00000000 00000000 00000000 
// Write lsb 32 bits 
t 0102 04400038 00000071 00000071 00000000 
t 0102 0440003c 00000000 00000000 00000000 
// Write hidden bits 
t 0102 04400038 00000072 00000072 00000000 
t 0102 0440003c 00000000 00000000 00000000 
// Now stuff staged data into the span buffer 
t 0102 04400038 00000073 00000073 00000000 
t 0102 0440003c 00000000 00000000 00000000 

// Write msb 32 bits 
t 0102 04400038 00000074 00000074 00000000 
t 0102 0440003c 00000000 00000000 00000000 
// Write lsb 32 bits 
t 0102 04400038 00000075 00000075 00000000 
t 0102 0440003c 00000000 00000000 00000000 
// Write hidden bits 
t 0102 04400038 00000076 00000076 00000000 
t 0102 0440003c 00000000 00000000 00000000 
// Now stuff staged data into the span buffer 
t 0102 04400038 00000077 00000077 00000000 
t 0102 0440003c 00000000 00000000 00000000 

// Write msb 32 bits 
t 0102 04400038 00000078 00000078 00000000 
t 0102 0440003c 00000000 00000000 00000000 
// Write lsb 32 bits 
t 0102 04400038 00000079 00000079 00000000 
t 0102 0440003c 00000000 00000000 00000000 
// Write hidden bits 
t 0102 04400038 0000007a 0000007a 00000000 
t 0102 0440003c 00000000 00000000 00000000 
// Now stuff staged data into the span buffer 
t 0102 04400038 0000007b 0000007b 00000000 
t 0102 0440003c 00000000 00000000 00000000 

// Write msb 32 bits 
t 0102 04400038 0000007c 0000007c 00000000 
t 0102 0440003c 00000000 00000000 00000000 
// Write lsb 32 bits 
t 0102 04400038 0000007d 0000007d 00000000 
t 0102 0440003c 00000000 00000000 00000000 
// Write hidden bits 
t 0102 04400038 0000007e 0000007e 00000000 
t 0102 0440003c 00000000 00000000 00000000 
// Now stuff staged data into the span buffer 
t 0102 04400038 0000007f 0000007f 00000000 
t 0102 0440003c 00000000 00000000 00000000 


// Now set up registers for modified han1

// Write-Read VI_ORIGIN
t 0103 04400004 00001080 00001080 00000000

// Write-Read VI_WIDTH 
t 0103 04400008 00000020 00000020 00000000

// Write-Read VI_V_INT 
t 0103 0440000c 000003ff 000003ff 00000000

// Write-Read VI_BURST 
t 0103 04400014 00820404 00820404 00000000

// Write-Read VI_V_SYNC 
t 0103 04400018 00000029 00000029 00000000

// Write-Read VI_H_SYNC 
t 0103 0440001c 00000100 00000100 00000000

// Write-Read VI_LEAP 
t 0103 04400020 01000100 01000100 00000000

// Write-Read VI_H_START
t 0103 04400024 00200040 00200040 00000000

// Write-Read VI_V_START
t 0103 04400028 00050025 00050025 00000000

// Write-Read VI_V_BURST
t 0103 0440002c 00050025 00050025 00000000

// Write-Read VI_X_SCALE
t 0103 04400030 00000400 00000400 00000000

// Write-Read VI_Y_SCALE
t 0103 04400034 00000400 00000400 00000000

// Write-Read VI_CTRL   
t 0103 04400000 00003852 00003852 00000000

// Loop until we hit line number
t 0107 04400010 ffffffff 00000028 00000000

//****************************************
// QUIT
//****************************************
vi_tab tmp.tab
dw 2 tmp.rdram
k 0
//q