mirror of
https://github.com/openhwgroup/cvw.git
synced 2025-04-24 13:57:07 -04:00
Adjusted test cases for new GPIO base address
This commit is contained in:
parent
c6adb7b6b1
commit
0023c4cb57
5 changed files with 5 additions and 5 deletions
|
@ -47,7 +47,7 @@ _start:
|
||||||
|
|
||||||
# write to gpio
|
# write to gpio
|
||||||
li x2, 0xFF
|
li x2, 0xFF
|
||||||
la x3, 0x10012000
|
la x3, 0x10060000
|
||||||
|
|
||||||
# +8 is output enable
|
# +8 is output enable
|
||||||
# +C is output value
|
# +C is output value
|
||||||
|
|
|
@ -47,7 +47,7 @@ _start:
|
||||||
|
|
||||||
# write to gpio
|
# write to gpio
|
||||||
li x2, 0xFF
|
li x2, 0xFF
|
||||||
la x3, 0x10012000
|
la x3, 0x10060000
|
||||||
|
|
||||||
# +8 is output enable
|
# +8 is output enable
|
||||||
# +C is output value
|
# +C is output value
|
||||||
|
|
|
@ -71,7 +71,7 @@ copy_sdc2:
|
||||||
|
|
||||||
# write to gpio
|
# write to gpio
|
||||||
li x2, 0xFF
|
li x2, 0xFF
|
||||||
la x3, 0x10012000
|
la x3, 0x10060000
|
||||||
|
|
||||||
# +8 is output enable
|
# +8 is output enable
|
||||||
# +C is output value
|
# +C is output value
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
#define RAM_RANGE 0x7FFFFFFF
|
#define RAM_RANGE 0x7FFFFFFF
|
||||||
#define CLINT_BASE 0x02000000
|
#define CLINT_BASE 0x02000000
|
||||||
#define CLINT_RANGE 0x0000FFFF
|
#define CLINT_RANGE 0x0000FFFF
|
||||||
#define GPIO_BASE 0x10012000
|
#define GPIO_BASE 0x10060000
|
||||||
#define GPIO_RANGE 0x000000FF
|
#define GPIO_RANGE 0x000000FF
|
||||||
#define UART_BASE 0x10000000
|
#define UART_BASE 0x10000000
|
||||||
#define UART_RANGE 0x00000007
|
#define UART_RANGE 0x00000007
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
#define RAM_RANGE 0x7FFFFFFF
|
#define RAM_RANGE 0x7FFFFFFF
|
||||||
#define CLINT_BASE 0x02000000
|
#define CLINT_BASE 0x02000000
|
||||||
#define CLINT_RANGE 0x0000FFFF
|
#define CLINT_RANGE 0x0000FFFF
|
||||||
#define GPIO_BASE 0x10012000
|
#define GPIO_BASE 0x10060000
|
||||||
#define GPIO_RANGE 0x000000FF
|
#define GPIO_RANGE 0x000000FF
|
||||||
#define UART_BASE 0x10000000
|
#define UART_BASE 0x10000000
|
||||||
#define UART_RANGE 0x00000007
|
#define UART_RANGE 0x00000007
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue