-
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 subdirs and create subdir 'const…
…raints'
- Loading branch information
Showing
21 changed files
with
141 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,5 @@ | ||
*.asc | ||
*.bit | ||
*.history | ||
*.json | ||
*-report.txt |
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,18 @@ | ||
include common.mk | ||
|
||
.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 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,6 @@ | ||
include common.mk | ||
|
||
.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,6 @@ | ||
include common.mk | ||
|
||
.PHONY: all | ||
|
||
all: bit | ||
echo "! Built $(IMPL) for $(BOARD)" |
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
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,33 @@ | ||
ID ?= impl_1 | ||
|
||
include board.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 |
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 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 @@ | ||
include common.mk | ||
|
||
.PHONY: all | ||
|
||
all: bit | ||
echo "! Built $(IMPL) for $(BOARD)" |
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