phanrahan / magma

magma circuits
Other
251 stars 23 forks source link

[CI] Speed up testing #1295

Open rsetaluri opened 1 year ago

rsetaluri commented 1 year ago

Here are some ideas for speeding up our testing:

leonardt commented 1 year ago

For functional test, one approach is to regress on a representation (depending on the goal, could check magma repr, or MLIR, or verilog). If it changes, run the functional test and update the golds if it passes. This would avoid functional tests in the standard CI, but running those on a schedule may also be worthwhile to detect other changes (e.g. simulator changes affecting the tests).