OpenCores
URL https://opencores.org/ocsvn/w11/w11/trunk

Subversion Repositories w11

[/] [w11/] [tags/] [w11a_V0.6/] [rtl/] [sys_gen/] [tst_serloop/] [tb/] [tb_tst_serloop_stim.dat] - Blame information for rev 24

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 16 wfjm
# $Id: tb_tst_serloop_stim.dat 441 2011-12-20 17:01:16Z mueller $
2
#
3
#  Revision History:
4
# Date         Rev Version  Comment
5
# 2011-11-06   420   1.0    Initial version
6
#
7
C ------------------------------------------------
8
C try SWI settings
9
#   only the 4 LBS (disp and enable control)
10
#   don't touch the 2 mode settings here !!
11
#
12
wait 10
13
#
14
swi   10000000   2
15
swi   01000000   2
16
swi   00100000   2
17
swi   00010000   2
18
swi   00000000   2
19
wait  2
20
#
21
C ------------------------------------------------
22
C loop-back message with 16 bytes on port 0
23
#
24
port     0
25
swi    00000000   2
26
btn      0       10
27
#
28
# mode=11(loop);
29
swi    00000110   2
30
btn      1       10
31
#
32
expect  16  0  0
33
send    16  0  0
34
wait   100
35
expect   0  0  0
36
C ------------------------------------------------
37
C loop-back message with 16 bytes on port 1
38
#
39
port     1
40
swi    00000001   2
41
btn      0       10
42
#
43
# mode=11(loop);port=1
44
swi    00000111   2
45
btn      1       10
46
#
47
expect  16  0  0
48
send    16  0  0
49
wait   100
50
expect   0  0  0
51
#
52
C ------------------------------------------------
53
C loop-back message with 32 bytes escaped on port 0
54
#
55
port     0
56
swi    00000000   2
57
btn      0       10
58
#
59
# enaesc=1; mode=11(loop)
60
swi    00100110   2
61
btn      1       10
62
#
63
expect  32  1  0
64
send    32  1  0
65
wait   100
66
expect   0  0  0
67
#
68
C ------------------------------------------------
69
C loop-back message with 256 bytes escaped on port 1; cts throttle
70
#
71
port     1
72
swi    00000001   2
73
btn      0       10
74
#
75
# enaesc=1; mode=11(loop); port=1
76
swi    00100111   2
77
btn      1       10
78
#
79
cts     200  100
80
expect  256  1  0
81
send    256  1  0
82
wait   1500
83
expect    0  0  0
84
cts       0   0
85
#
86
C ------------------------------------------------
87
C loop-back message with 256 bytes escaped on port 0; xon throttle
88
#
89
port     0
90
swi    00000000   2
91
btn      0       10
92
#
93
# enaesc=1;enaxon=1; mode=11(loop); port=0
94
swi    00110110   2
95
btn      1       10
96
#
97
xon     200  100
98
expect  256  1  1
99
send    256  1  1
100
wait   1500
101
expect    0  0  0
102
xon       0   0
103
C ------------------------------------------------
104
C loop-back message with 256 bytes escaped on port 1; xon throttle
105
#
106
port     1
107
swi    00000001   2
108
btn      0       10
109
#
110
# enaesc=1;enaxon=1; mode=11(loop); port=1
111
swi    00110111   2
112
btn      1       10
113
#
114
xon     200  100
115
expect  256  1  1
116
send    256  1  1
117
wait   1500
118
expect    0  0  0
119
xon       0   0
120
#
121
C ------------------------------------------------
122
C cool down
123
wait  200
124
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.