Comments (8)
Are you running with default riscv_rand_jump_test setting? or with increased sub-programs count?
from riscv-dv.
the same as defined in tests.yaml
from riscv-dv.
It takes me 1 minute to generate 10 tests with VCS. but irun seems to be much slower. Let me do a profiling with irun and see what can be improved.
Thu, 05 Sep 2019 10:58:27 INFO Running RISC-V instruction generator
Thu, 05 Sep 2019 10:58:27 INFO Generating 10 riscv_rand_jump_test
Thu, 05 Sep 2019 10:59:27 INFO Compiling vcs_sim/asm_tests/riscv_rand_jump_test.0.S
....
from riscv-dv.
I ran the same command, compiling w/o "-access" - got 15 min 20 sec
from riscv-dv.
With #120 , I can see performance improvement around 60%. It's now taking around 4 mins to generate 10 tests, down from 10 mins. It's still 4x slower than VCS, need to explore more coding style changes to further improve performance.
Thu, 05 Sep 2019 20:53:33 INFO Found matching simulator: ius
Thu, 05 Sep 2019 20:53:33 INFO Building RISC-V instruction generator
Thu, 05 Sep 2019 20:53:52 INFO Running RISC-V instruction generator
Thu, 05 Sep 2019 20:53:52 INFO Generating 10 riscv_rand_jump_test
Thu, 05 Sep 2019 20:57:47 INFO Compiling out_2019-09-05/asm_tests/riscv_rand_jump_test.0.S
from riscv-dv.
Down to 1 minute now... (I also reduced the instruction count for this test by 1/3 because it could generate a very long test when there's a lot of jumps between sub programs)
Thu, 05 Sep 2019 23:22:11 INFO Generating 10 riscv_rand_jump_test
Thu, 05 Sep 2019 23:23:14 INFO Compiling out_2019-09-05/asm_tests/riscv_rand_jump_test.0.S
from riscv-dv.
Can you verify if this solves your problem? There are still some tests (riscv_mmu_stress_test) takes longer time (30s) to generate with ius, I will further look into it.
from riscv-dv.
Oh, it runs much faster now! I got 20 tests for 1m 21s, thanks a lot, again
from riscv-dv.
Related Issues (20)
- [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
- spike error:free(): invalid pointer: 0xxxxxxx
- Circular dependency within source files
- Error "SolveBeforeMustBeRand" while Elaborating with Dsim tool HOT 2
- Error: unrecognized opcode `csrr x5,0xf14', extension `zicsr' required HOT 8
- Error: illegal operands `sd s11,sub_4_stack_p(s5)'
- How to connect the test to my SV design file, and How do I get the feedback that the test has passed or failed? HOT 1
- Access Exception error while running spike for rv64imac instructions
- can't do riscv_csr_test HOT 1
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.