• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

ecp5/regressions/H03-Sep-2019-

generic/H03-Sep-2019-

gui/H03-Sep-2019-

ice40/H03-Sep-2019-

COPYINGH A D03-Sep-20191 KiB

README.mdH A D03-Sep-20191.1 KiB

README.md

1# nextpnr-tests
2
3This repo is intended for use as a submodule from [YosysHQ/nextpnr](https://github.com/YosysHQ/nextpnr)
4
5Initial contents were populated from [YosysHQ/nextpnr@6cc1bf](https://github.com/YosysHQ/nextpnr/commit/6cc1bfcb37199e0988d0f06ce34071b409ab8019)
6
7# Notes for regressions:
8- Add subdir to `:/<arch>/regressions/<issue####>`; e.g. `:/ice40/regressions/issue0000`
9  - Please gzip `*.json` files into `*.json.gz`
10- `:/<arch>/regressions/Makefile` will take all `:/<arch>/regressions/*/*.{json.gz,sh}` and
11  - For `*.json.gz`: decompress into `*.json`, and then execute `nextpnr` using `*.pcf` if it exists, and using additional options specified by `*.npnr`
12  - For `*.sh`: decompress `*.json.gz` into `*.json`, then run `*.sh` script
13  - After executing `nextpnr`, will run `icebox_vlog` on the generated `*.asc` as a sanity check
14  - Non zero exit code of `nextpnr`, `*.sh`, or `icebox_vlog` constitutes a test failure
15- Where available, the source Verilog file(s) used to generate the `*.json` should be included, along with a `*.ys` Yosys script if it is anything but a simple invocation of `synth_<arch>`
16