diff options
| author | uvok | 2025-12-25 12:30:51 +0100 |
|---|---|---|
| committer | uvok | 2025-12-25 12:30:51 +0100 |
| commit | ea972c4a247724c16f5014525c3f76da0a7e7f09 (patch) | |
| tree | b51cae5e592fe5e687583f9479146f5776594c70 | |
| parent | 7b180db48bcce40afba85d39a8ae73a5514854f3 (diff) | |
Use yosys for dep generation after all
| -rw-r--r-- | Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -44,13 +44,17 @@ clean: # synthesize %.json: %.v - sh resolvedeps.sh $< +# sh resolvedeps.sh $< +# only used for dep-generation, output file is needed for dep file, but otherwise useless +# this must happen *without* synth_gowin, as this includes additional files, which ruin the depfile. + yosys $< -E $*.dep -o $@ && rm -f $@ yosys -p "read_verilog $<; synth_gowin -top $* -json $@" $(YOSYS_OPTS) # because yosys -E is buggy, or behaves differently than expected, # use gawk to force-create deps. %.dep: %.v - sh resolvedeps.sh $< +# sh resolvedeps.sh $< + yosys $< -E $*.dep -o $*.json && rm -f $*.json # place and route? %.pnr.json: %.json $(CST) |
