Skip to content

Commit

Permalink
[setups/osflow] add '--compress' to ecppack
Browse files Browse the repository at this point in the history
  • Loading branch information
umarcor committed Jul 7, 2021
1 parent 530e92b commit 2898e90
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion setups/osflow/PnR_Bit.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ ${IMPL}.bit: ${IMPL}.${PNR2BIT_EXT}

ifeq ($(DEVICE_SERIES),ecp5)
${IMPL}.svf: ${IMPL}.${PNR2BIT_EXT}
$(PACKTOOL) --svf $@ $<
$(PACKTOOL) $(PACKARGS) --svf $@ $<
endif
2 changes: 2 additions & 0 deletions setups/osflow/tools.mk
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@ CONSTRAINTS_FORMAT ?= pcf
NEXTPNR_OUT ?= asc
PNR2BIT_EXT ?= asc
PACKTOOL ?= $(ICEPACK)
PACKARGS ?=
else
CONSTRAINTS_FORMAT ?= lpf
NEXTPNR_OUT ?= textcfg
PNR2BIT_EXT ?= cfg
PACKTOOL ?= $(ECPPACK)
PACKARGS ?= --compress
endif

0 comments on commit 2898e90

Please sign in to comment.