gateware: Small tweaks and add option to ignore timing failure

This also allow to override the SEED from command line.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
This commit is contained in:
Sylvain Munaut 2020-10-09 13:22:58 +02:00
parent 488bf8a29f
commit 0f29d6aca8
3 changed files with 24 additions and 9 deletions

View File

@ -29,10 +29,15 @@ PROJ_TOP_MOD := top
# Target config
BOARD ?= e1-tracer
DEVICE = up5k
PACKAGE = sg48
DEVICE := up5k
PACKAGE := sg48
NEXTPNR_ARGS = --pre-pack data/clocks.py --seed 19
SEED ?= 19
NEXTPNR_ARGS := --no-promote-globals --pre-pack data/clocks.py --seed $(SEED)
ifeq ($(IGNORE_TIMING),1)
NEXTPNR_ARGS += --timing-allow-fail
endif
# Include default rules
NO2BUILD_DIR ?= ../build

View File

@ -29,10 +29,15 @@ PROJ_TOP_MOD := top
# Target config
BOARD ?= icebreaker
DEVICE = up5k
PACKAGE = sg48
DEVICE := up5k
PACKAGE := sg48
NEXTPNR_ARGS = --pre-pack data/clocks.py --seed 4
SEED ?= 4
NEXTPNR_ARGS := --no-promote-globals --pre-pack data/clocks.py --seed $(SEED)
ifeq ($(IGNORE_TIMING),1)
NEXTPNR_ARGS += --timing-allow-fail
endif
# Include default rules
NO2BUILD_DIR ?= ../build

View File

@ -33,11 +33,16 @@ PROJ_TOP_MOD := top
# Target config
BOARD ?= ice1usb
DEVICE = up5k
PACKAGE = sg48
DEVICE := up5k
PACKAGE := sg48
YOSYS_SYNTH_ARGS = -dffe_min_ce_use 4
NEXTPNR_ARGS = --pre-pack data/clocks.py --no-promote-globals --seed 2
SEED ?= 15
NEXTPNR_ARGS := --no-promote-globals --pre-pack data/clocks.py --seed $(SEED)
ifeq ($(IGNORE_TIMING),1)
NEXTPNR_ARGS += --timing-allow-fail
endif
# Include default rules
NO2BUILD_DIR ?= ../build