Comments (10)
@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.
@chick @grebe opinions for long term solutions?
from dsptools.
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.
Any chance you'd be able to make a verilator compatible atan example? ;)
from dsptools.
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.
@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.
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.
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.
@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.
I'm satisfied.
from dsptools.
Related Issues (20)
- DspContext with extra pipeline stages won't work for FixedPoint HOT 10
- dsptools/blob/master/rocket/README.md links not working
- DspComplex[T].zero not initialized HOT 1
- Instantiating constants of type DspComplex[DspReal] HOT 7
- Compilation fails in scala 2.12.8 HOT 2
- Pokeable Typeclasses for Testers HOT 1
- Remove updateDependencies script
- Document Width Relationships for Operations
- Add -D flag for rocket source dependency
- Is there any plan to update the SAM module? HOT 1
- Issue with TileLink ready-valid logic in TLMasterModel HOT 2
- Run-time failures for DspComplex isLit()
- Read the docs
- rocket-dsptools DmaSpec test failure with current rocket-chip
- Working with large FixedPoint and Intervals should use BigDecimal not Double
- Set precision in div2 fixedpoint and interval may have provblems
- Update the link to numeric classes description HOT 2
- Failing Tests on 3.4.1 HOT 1
- example code not working
- Library conflict 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 dsptools.