File: README.md

package info (click to toggle)
nextpnr 0.9-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 45,032 kB
  • sloc: cpp: 218,128; python: 24,276; ansic: 10,907; pascal: 1,328; sh: 849; makefile: 563; vhdl: 44; objc: 42; tcl: 41
file content (15 lines) | stat: -rw-r--r-- 1,128 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# nextpnr-tests

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`
  - Please gzip `*.json` files into `*.json.gz`
- `:/<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
- 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>`