Caching of tests in Chisel 3.5.0-RC2

12 views
Skip to first unread message

Øyvind Harboe

unread,
Dec 22, 2021, 1:41:51 AM12/22/21
to chisel-users
Much improved! I have a happy case that's running in 14 seconds instead of 1m30.

This test is still failing though: https://github.com/ucb-bar/chisel-testers2/pull/378/

The list of passing tests is now nice and clean, except if you add the caching annotation, there's a lot of debug output(very handy, but verbose in production):

targetDir: /home/oyvind/...; oldHash: Some(5acefbfbbd9f436a7f53f44cc977bbbda514eedb1c9d39b4533858437ecc46e0); newHash: 5acefbfbbd9f436a7f53f44cc977bbbda514eedb1c9d39b4533858437ecc46e0; oldHash.contains(newHash): true
Re-using compiled simulation in /home/oyvind/..

Øyvind Harboe

unread,
Dec 25, 2021, 9:59:33 AM12/25/21
to chisel-users
Ah...

BoringUtils.bore() yield non-idempotent names. For instance, depending on whether you invoke tests to run in serial or parallel, you get different names for BoringUtils.bore()...

Reply all
Reply to author
Forward
0 new messages