Code Monkey home page Code Monkey logo

Comments (10)

chick avatar chick commented on September 13, 2024

@shunshou this sounds pretty much what the scala implementation of the black boxes, BlackBoxFactory and allies, does. Take a look, maybe this is a documentation issue (I'll put this on dsp action items) or maybe a little bit of api work would make it better

from dsptools.

shunshou avatar shunshou commented on September 13, 2024

@chick @grebe opinions for long term solutions?

from dsptools.

shunshou avatar shunshou commented on September 13, 2024

Oops sorry didn't see. Wait is this a scala thing or a chisel thing? So you're saying then we don't need to rely on the fact that things aren't supported in verilator? Basically I still want to use verilator and pass it the correct results.

from dsptools.

shunshou avatar shunshou commented on September 13, 2024

Any chance you'd be able to make a verilator compatible atan example? ;)

from dsptools.

grebe avatar grebe commented on September 13, 2024

I don't think anyone has done what you are describing with verilator. We have done that with the firrtl interpreter- the interpreter runs in the same jvm as the tester so it makes it easier to pass around blackbox models written in scala

from dsptools.

chick avatar chick commented on September 13, 2024

@shunshou I think I just actually got what you are asking for here, and I don't think I know how to do this or whether it is practically possible. I am burrowing through black implementation stuff right now and will keep this in mind as I do, maybe there's something clever that could be done

from dsptools.

shunshou avatar shunshou commented on September 13, 2024

Like theoretically, the bring out to top level thing should work (since, within the same clk cycle, you can peek and then poke based off of the peeked result). It's just a pain to bring out every custom function to top level that you'd then interact with via peek/poke...

from dsptools.

shunshou avatar shunshou commented on September 13, 2024

Apparently you should be able to access internal signals in Verilator somehow? http://embecosm.com/appnotes/ean6/html/ch06s02.html
And same for VCS? I assume the PeekPokeTester would prevent you at least from poking internal signals for safety reasons?

from dsptools.

grebe avatar grebe commented on September 13, 2024

@shunshou would you say this issue is resolved? I think we found a working solution, although not as complete as what you originally envisioned.

from dsptools.

shunshou avatar shunshou commented on September 13, 2024

I'm satisfied.

from dsptools.

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.