aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEddie Hung <eddieh@ece.ubc.ca>2019-02-20 13:41:19 -0800
committerGitHub <noreply@github.com>2019-02-20 13:41:19 -0800
commit7944dac4aa04399a368a1a15efbb3acc4446b655 (patch)
tree0e620e831dd76dd16faeb1d74b2f593262a3759b
parentbaf928b5c688d1d8409da28f76c36f74e79a93a8 (diff)
downloadnextpnr-tests-7944dac4aa04399a368a1a15efbb3acc4446b655.tar.gz
nextpnr-tests-7944dac4aa04399a368a1a15efbb3acc4446b655.tar.bz2
nextpnr-tests-7944dac4aa04399a368a1a15efbb3acc4446b655.zip
Update README.md
-rw-r--r--README.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/README.md b/README.md
index 4654ba5..010e12a 100644
--- a/README.md
+++ b/README.md
@@ -3,3 +3,11 @@
This repo is intended for use as a submodule from [YosysHQ/nextpnr](https://github.com/YosysHQ/nextpnr)
Initial contents were populated from [YosysHQ/nextpnr@6cc1bf](https://github.com/YosysHQ/nextpnr/commit/6cc1bfcb37199e0988d0f06ce34071b409ab8019)
+
+# Notes for regressions:
+- Add subdir to `:/<arch>/regressions/<issue####>`; e.g. `:/ice40/regressions/issue0000`
+- `:/<arch>/regressions/Makefile` will take all `:/<arch>/regressions/*/*.{json.gz,sh}` and
+ - For `*.json.gz`: decompress into `*.json`, and then execute `nextpnr` using `*.pcf` if it exists, and using additional options specified by `*.npnr`
+ - For `*.sh`: decompress `*.json.gz` into `*.json`, then run `*.sh` script
+ - After executing `nextpnr`, will run `icebox_vlog` on the generated `*.asc` as a sanity check
+ - Non zero exit code of `nextpnr`, `*.sh`, or `icebox_vlog` constitutes a test failure