projects
/
trilby-hat-fpga
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b270f0
)
we need read_verilog instead of read
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Fri, 21 Jan 2022 11:44:55 +0000
(12:44 +0100)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Fri, 21 Jan 2022 11:44:55 +0000
(12:44 +0100)
Otherwise, all modules in recent yosys become abstract, and
optimized out
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
34477b7
..
ed75e6e
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-5,7
+5,7
@@
TRELLIS?=/usr/share/trellis
all: ${PROJ}.bit
%.json: %.v
- yosys -p "
synth_ecp5 -json $@"
$<
+ yosys -p "
read_verilog ${PROJ}.v ; synth_ecp5 ; write_json $@" -E .$(basename $@).d
$<
%_out.config: %.json
nextpnr-ecp5 --json $< --textcfg $@ --45k --package CABGA381 --lpf trilby.lpf
@@
-22,3
+22,4
@@
clean:
rm -f *.svf *.bit *.config *.json
.PHONY: prog clean
+-include .*.d