Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce the startup time for a Scala Unit-test by skipping Verilator compilation *and* design elaboration #118

Open
oharboe opened this issue Mar 2, 2017 · 1 comment

Comments

@oharboe
Copy link
Contributor

oharboe commented Mar 2, 2017

To interface to an existing test-system, I would like to launch a test from the command line hundreds of times by passing different test-input vector files on the command line.

E.g. given the input data in the "test.txt" file, I'd like to execute a test given:

$ sbt "test:runMain testmain test.txt"

The code below skips Verilator compilation(which is slow), but still performs design elaboration:

    Driver.run(() => new system(),
        "Vsystem")(c =>
          new system_Tests(c, args(0)))
@ekiwi
Copy link

ekiwi commented Mar 4, 2021

You might be interested in this PR: ucb-bar/chiseltest#267

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants