Skip to content

YosysHQ/nextpnr-tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nextpnr-tests

This repo is intended for use as a submodule from YosysHQ/nextpnr

Initial contents were populated from YosysHQ/nextpnr@6cc1bf

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>