Comments (6)
Do you want to disable compressed instruction in one test or all tests?
from riscv-dv.
I tried to disable for all the tests. But if there is a test-specific solution I can use it as well.
from riscv-dv.
Please try run riscv_non_compressed_instr_test test
https://github.com/google/riscv-dv/blob/master/yaml/testlist.yaml#L83
If the processor doesn't support compressed instruction, you can disable it in the processor setting
https://github.com/google/riscv-dv/blob/master/setting/riscv_core_setting.sv#L33
from riscv-dv.
For the first link, I will try the riscv_non_compressed_instr_test.
For the second link, that's what I've tried to do. But at the riscv_gcc compilation step, there were still compressed instructions from the instruction stream resulting in assembler error. My question is this an expected behavior.
./iss_sim -iss spike -isa rv64im -abi lp64
riscv_gcc compiling : ./out_2019-08-15/asm_tests/riscv_rand_instr_test.1.S ./out_2019-08-15/asm_tests/riscv_rand_instr_test.1.S: Assembler messages: ./out_2019-08-15/asm_tests/riscv_rand_instr_test.1.S:181: Error: unrecognized opcode `c.beqz s1,j__main_sub_1_1' ./out_2019-08-15/asm_tests/riscv_rand_instr_test.1.S:25608: Error: unrecognized opcode `c.bnez a0,smode_accessible_umode_program_stack_p' Convert ./out_2019-08-15/asm_tests/riscv_rand_instr_test.1.S.o to ./out_2019-08-15/asm_tests/riscv_rand_instr_test.1.S.bin /home/riscv-toolchain/riscv-gnu-ins/bin/riscv64-unknown-elf-objcopy: './out_2019-08-15/asm_tests/riscv_rand_instr_test.1.S.o': No such file
from riscv-dv.
This issue should be fixed by #81 , can you try again?
from riscv-dv.
I am closing this issue for now, please let me know if it doesn't work for you.
from riscv-dv.
Related Issues (20)
- WRITE_GPR in gen_signature_handshake() produces invalid assembly
- use pyflow error: ModuleNotFoundError: No module named 'ucis.ucdb' HOT 1
- riscv_csr_test fails at generation
- RVC Instruction gpr coverage collection omissions for CR/CI/CSS formate
- no_load_store switching option
- Test generation failed for riscv_amo_test
- how to generate compressed instructions regression test HOT 3
- pyflow callstack_gen randomize fail HOT 1
- [pygen] riscv_rand_instr_test run failed
- mmode_exception_handler is not considering the instruction misaligned, load address misaligned, store/amo address misaligned
- for debug mode, how to modify link.ld to match debug rom enter addr HOT 1
- for debug mode, how to modify link.ld to match debug rom enter addr
- for debug mode, how to modify link.ld to match debug rom enter addr
- for debug mode, how to modify link.ld to match debug rom enter addr
- Instruction Address Misalign Exception
- use ovpsim .Why is there no verbose log instruction HOT 5
- spike
- The spike simulation gets stuck in an endless loop HOT 2
- rv64gc failing spike due to exception trap_store_address_misaligned HOT 2
- riscv-dv breaks with riscv64-unknown-elf-gcc version tags 2023.04.18 and up HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from riscv-dv.