Move clock constraint from Makefile to PCF
This commit is contained in:
parent
51267b1682
commit
05e95408cb
2
Makefile
2
Makefile
@ -24,7 +24,7 @@ $(TOP_BIN): $(TOP_ASC)
|
|||||||
# Place and rouite
|
# Place and rouite
|
||||||
$(TOP_ASC): $(TOP_JSON) $(PCF)
|
$(TOP_ASC): $(TOP_JSON) $(PCF)
|
||||||
nextpnr-ice40 -q -l $(BUILD_DIR)/nextpnr.log --$(FAMILY) --package $(PACKAGE) \
|
nextpnr-ice40 -q -l $(BUILD_DIR)/nextpnr.log --$(FAMILY) --package $(PACKAGE) \
|
||||||
--freq $(FREQ) --top $(TOP) --pcf $(PCF) --asc $(TOP_ASC) --json $(TOP_JSON) \
|
--top $(TOP) --pcf $(PCF) --asc $(TOP_ASC) --json $(TOP_JSON) \
|
||||||
$(DOSVG)
|
$(DOSVG)
|
||||||
|
|
||||||
# Synthesys
|
# Synthesys
|
||||||
|
|||||||
@ -54,8 +54,11 @@ set_io -nowarn P4_2 20
|
|||||||
set_io -nowarn P4_3 19
|
set_io -nowarn P4_3 19
|
||||||
set_io -nowarn P4_4 18
|
set_io -nowarn P4_4 18
|
||||||
|
|
||||||
#spi
|
# spi
|
||||||
set_io -nowarn SPI_SS 16
|
set_io -nowarn SPI_SS 16
|
||||||
set_io -nowarn SPI_SCK 15
|
set_io -nowarn SPI_SCK 15
|
||||||
set_io -nowarn SPI_MOSI 17
|
set_io -nowarn SPI_MOSI 17
|
||||||
set_io -nowarn SPI_MISO 14
|
set_io -nowarn SPI_MISO 14
|
||||||
|
|
||||||
|
# Clock constraint
|
||||||
|
set_frequency clock 30
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user