mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
Fixed floating point crash in debug.S
This commit is contained in:
parent
077edbf78d
commit
4c219de13d
@ -17,11 +17,13 @@ $(TARGET).elf: $(TARGET).S Makefile
|
|||||||
|
|
||||||
sim:
|
sim:
|
||||||
spike --isa=rv64gc +signature=$(TARGET).signature.output +signature-granularity=8 $(TARGET).elf
|
spike --isa=rv64gc +signature=$(TARGET).signature.output +signature-granularity=8 $(TARGET).elf
|
||||||
diff --ignore-case $(TARGET).signature.output $(TARGET).reference_output || exit
|
# diff --ignore-case $(TARGET).signature.output $(TARGET).reference_output || exit
|
||||||
echo "Signature matches! Success!"
|
# echo "Signature matches! Success!"
|
||||||
|
mkdir -p ../work
|
||||||
|
cp -f * ../work
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(TARGET).elf $(TARGET).elf.*
|
rm -f $(TARGET).elf $(TARGET).elf.* *.signature.output
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -5,6 +5,8 @@
|
|||||||
|
|
||||||
.global rvtest_entry_point
|
.global rvtest_entry_point
|
||||||
rvtest_entry_point:
|
rvtest_entry_point:
|
||||||
|
lui t0, 0x1e # turn on Floating point and XS
|
||||||
|
csrs mstatus, t0
|
||||||
|
|
||||||
# openhwgroup/cvw Issue #55
|
# openhwgroup/cvw Issue #55
|
||||||
la a6, begin_signature
|
la a6, begin_signature
|
||||||
|
Loading…
Reference in New Issue
Block a user