Comments (3)
Thanks
from riscv-dv.
For the weights, you can add distribution constraints in below class (right now there's no knob to control the weights)
https://github.com/google/riscv-dv/blob/master/src/riscv_rand_instr.sv
For custom sequence, you can find some examples here:
https://github.com/google/riscv-dv/blob/master/src/riscv_directed_instr_lib.sv
https://github.com/google/riscv-dv/blob/master/src/riscv_load_store_instr_lib.sv
Here's how the custom sequence is mixed with the random sequence
https://github.com/google/riscv-dv/blob/master/test/riscv_instr_test_lib.sv#L139
from riscv-dv.
I am closing this issue for now, please let me know if you have additional question on this.
from riscv-dv.
Related Issues (20)
- Can riscv-dv support cunstom link.ld? HOT 1
- Unable to run `run --help` straight out of the box
- For riscv vector extension, is mask/tail agnostic with wirte-1s supported?
- Convert script for ovpsim log to csv fails for some CSRs
- Compile error with Questasim tool HOT 1
- VCS 2018 cannot generate , error Segmentation fault
- run error when ISS=OVPsim
- Is the coverage model I generated broken when I run ‘cov' command?
- Spike Log to Trace csv is skipping floating Point Instructions which are editing status registers
- [cfg,gpr] reg constraint in riscv_gen_config. HOT 1
- [page table] There is a error in page table !
- kIllegalCompressedOpcode generates valid instruction (```c.fswsp```) when XLEN=32 HOT 1
- CRITICAL Cannot randomize branch target instruction HOT 1
- vfwcvt.xu.f.v issue
- SEW=16 vfcvt/vfwcvt instruction
- pygen requirements installation failure HOT 4
- FLW uses rs1 as integer base ISA
- Test cases generated for riscv64gc target do not run on latest version of spike HOT 9
- Can not find file `VECTOR_INCLUDE("riscv_instr_cover_group_inc_cg_sample.sv") etc file path HOT 1
- WRITE_GPR in gen_signature_handshake() produces invalid assembly
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.