Git Product home page Git Product logo

Comments (3)

btran1969 avatar btran1969 commented on May 6, 2024

Thanks

from riscv-dv.

taoliug avatar taoliug commented on May 6, 2024

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.

taoliug avatar taoliug commented on May 6, 2024

I am closing this issue for now, please let me know if you have additional question on this.

from riscv-dv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.