-
Notifications
You must be signed in to change notification settings - Fork 246
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[setups/osflow] rework: remove board Makefiles; create subdirs 'board…
…s' and 'constraints'
- Loading branch information
Showing
20 changed files
with
132 additions
and
160 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
*.asc | ||
*.bit | ||
*.dfu | ||
*.history | ||
*.json | ||
*-report.txt |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
.PHONY: all | ||
|
||
# Default target: run all required targets to build the DFU image. | ||
all: $(IMPL).dfu | ||
echo "! Built $(IMPL) for $(BOARD) $(FOMU_REV)" | ||
|
||
# Use dfu-suffix to generate the DFU image from the FPGA bitstream. | ||
${IMPL}.dfu: $(IMPL).bit | ||
$(COPY) $< $@ | ||
dfu-suffix -v 1209 -p 70b1 -a $@ | ||
|
||
# Use df-util to load the DFU image onto the Fomu. | ||
load: $(IMPL).dfu | ||
dfu-util -D $< | ||
|
||
.PHONY: load |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.PHONY: all | ||
|
||
all: bit | ||
echo "! Built $(IMPL) for $(BOARD)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.PHONY: all | ||
|
||
all: bit | ||
echo "! Built $(IMPL) for $(BOARD)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
ID ?= impl_1 | ||
|
||
include boards/index.mk | ||
|
||
ifndef TOP | ||
$(error TOP needs to be specified!) | ||
endif | ||
|
||
include filesets.mk | ||
|
||
ifndef DESIGN_SRC | ||
ifndef BOARD_SRC | ||
$(error Neither DESIGN_SRC nor BOARD_SRC were set!) | ||
endif | ||
endif | ||
|
||
include tools.mk | ||
|
||
ifdef GHDL_PLUGIN_MODULE | ||
YOSYSFLAGS += -m $(GHDL_PLUGIN_MODULE) | ||
endif | ||
|
||
include synthesis.mk | ||
include PnR_Bit.mk | ||
|
||
.PHONY: syn impl bit clean | ||
|
||
syn: ${IMPL}.json | ||
impl: ${IMPL}.${PNR2BIT_EXT} | ||
bit: ${IMPL}.bit | ||
|
||
clean: | ||
rm -rf *.{${PNR2BIT_EXT},bit,cf,dfu,history,json,o} *-report.txt | ||
|
||
include boards/$(BOARD).mk |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters