mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
Updated fpga's bootloader to reflect the changes to the gpio address change.
This commit is contained in:
parent
3b31d8f8fb
commit
73edd50120
@ -72,7 +72,7 @@ module ram #(parameter BASE=0, RANGE = 65535) (
|
|||||||
RAM[10] = 64'h0004063705fe0010;
|
RAM[10] = 64'h0004063705fe0010;
|
||||||
RAM[11] = 64'h05a000ef8006061b;
|
RAM[11] = 64'h05a000ef8006061b;
|
||||||
RAM[12] = 64'h0ff003930000100f;
|
RAM[12] = 64'h0ff003930000100f;
|
||||||
RAM[13] = 64'h4e952e3110012e37;
|
RAM[13] = 64'h4e952e3110060e37;
|
||||||
RAM[14] = 64'hc602829b0053f2b7;
|
RAM[14] = 64'hc602829b0053f2b7;
|
||||||
RAM[15] = 64'h2023fe02dfe312fd;
|
RAM[15] = 64'h2023fe02dfe312fd;
|
||||||
RAM[16] = 64'h829b0053f2b7007e;
|
RAM[16] = 64'h829b0053f2b7007e;
|
||||||
|
@ -106,7 +106,7 @@ $(TARGET).memfile: $(TARGET)
|
|||||||
@echo 'Making object dump file.'
|
@echo 'Making object dump file.'
|
||||||
@riscv64-unknown-elf-objdump -D $< > $<.objdump
|
@riscv64-unknown-elf-objdump -D $< > $<.objdump
|
||||||
@echo 'Making memory file'
|
@echo 'Making memory file'
|
||||||
exe2memfile0.pl $<
|
riscv64-unknown-elf-elf2hex --bit-width 64 --input $^ --output $@
|
||||||
extractFunctionRadix.sh $<.objdump
|
extractFunctionRadix.sh $<.objdump
|
||||||
mkdir -p ../../imperas-riscv-tests/work/rv64BP/
|
mkdir -p ../../imperas-riscv-tests/work/rv64BP/
|
||||||
cp -f $(TARGETDIR)/* ../../imperas-riscv-tests/work/rv64BP/
|
cp -f $(TARGETDIR)/* ../../imperas-riscv-tests/work/rv64BP/
|
||||||
|
@ -61,7 +61,7 @@ _start:
|
|||||||
|
|
||||||
# write to gpio
|
# write to gpio
|
||||||
li t2, 0xFF
|
li t2, 0xFF
|
||||||
la t3, 0x1001200C
|
la t3, 0x1006000C
|
||||||
li t4, 5
|
li t4, 5
|
||||||
|
|
||||||
loop:
|
loop:
|
||||||
|
Loading…
Reference in New Issue
Block a user