Add uart2 test program
Reads input from uart and then writes it back out again immediately.
This commit is contained in:
@@ -4,8 +4,8 @@ input integer index;//Mode type
|
||||
input integer val_; //Port A index, Port B Index, Number of Items in Loop, Port A Start, Port B Start, reserved
|
||||
case (index)
|
||||
0: bram_ini_table=
|
||||
(val_== 0)?256'h006500048000fd00080000cb000ef000e60008d000ff0000b000bd00000000a2:
|
||||
(val_== 1)?256'h0000000000021000640006c000720006f00077000200002c0006f0006c0006c0:
|
||||
(val_== 0)?256'h008d000ef000e6000ad000f9000f00000100089000ef000e7000ad00000000a2:
|
||||
(val_== 1)?256'h0000000000000000000000000000000000000000000000f100080000ef000e60:
|
||||
(val_== 2)?256'h0000000000000000000000000000000000000000000000000000000000000000:
|
||||
(val_== 3)?256'h0000000000000000000000000000000000000000000000000000000000000000:
|
||||
(val_== 4)?256'h0000000000000000000000000000000000000000000000000000000000000000:
|
||||
|
||||
@@ -1,27 +1,27 @@
|
||||
a2
|
||||
00
|
||||
bd
|
||||
0b
|
||||
ff
|
||||
ad
|
||||
e7
|
||||
ef
|
||||
89
|
||||
01
|
||||
f0
|
||||
f9
|
||||
ad
|
||||
e6
|
||||
ef
|
||||
8d
|
||||
e6
|
||||
ef
|
||||
cb
|
||||
80
|
||||
fd
|
||||
48
|
||||
65
|
||||
6c
|
||||
6c
|
||||
6f
|
||||
2c
|
||||
20
|
||||
77
|
||||
6f
|
||||
72
|
||||
6c
|
||||
64
|
||||
21
|
||||
f1
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
00
|
||||
|
||||
Reference in New Issue
Block a user