Skip to content

Commit

Permalink
vga/Makefile: add target 'vganet.json', for netlistsvg
Browse files Browse the repository at this point in the history
  • Loading branch information
umarcor committed Jan 31, 2021
1 parent 74e01e9 commit 062ca06
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions vga/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,15 @@ vgatest.json: $(VHDL_SYN_FILES) $(VERILOG_SYN_FILES)
-top $(BOARD_TOP) \
-json $@" 2>&1 | tee yosys-report.txt

# To be drawn with netlistsvg
vganet.json: $(VHDL_SYN_FILES) $(VERILOG_SYN_FILES)
$(YOSYS) $(YOSYS_FLAGS) \
-p \
"$(GHDL_SYNTH) $(GHDL_FLAGS) $(VHDL_SYN_FILES) -e; \
prep \
-top $(BOARD_TOP); \
write_json $@;" 2>&1 | tee yosys-report.txt

vgatest.asc: vgatest.json
$(NEXTPNR) \
$(NEXTPNR_FLAGS) \
Expand Down

0 comments on commit 062ca06

Please sign in to comment.