Add to regressions

This commit is contained in:
Eddie Hung 2019-02-07 09:42:34 -08:00
parent f9f15e79cd
commit dea61e604f
4 changed files with 5552 additions and 0 deletions

3
ice40/regressions/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
*.log
!Makefile
!*.json

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,20 @@
set_io serial_rx 9
set_io serial_tx 8
set_io serial_rts 7
set_io serial_cts 4
set_io serial_dtr 3
set_io serial_dsr 2
set_io serial_dcd 1
set_io user_led 99
set_io sio_rst 48
set_io sio_txd 56
set_io sio_rxd 60
set_io sio_sclk 61
set_io sio_busy 62
set_io sio_tclk 47
set_io user_led_1 98
set_io user_led_2 97
set_io user_led_3 96
set_io debug 119
set_io debug_1 118
set_io clk12 21

View File

@ -0,0 +1,8 @@
NPNR = ../../nextpnr-ice40
JSON = $(wildcard */*.json)
OUTPUT = $(patsubst %.json,%.log,$(JSON))
all: $(NPNR) $(OUTPUT)
%.log: %.json $(wildcard %.pcf)
$(NPNR) --json $(word 1,$^) $(if $(word 2,$^), --pcf $(word 2,$^),) > $@ 2>&1