-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: added a diagram about Openflow
- Loading branch information
1 parent
5aecfde
commit 9a2df31
Showing
4 changed files
with
271 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/usr/bin/make | ||
|
||
FILES = $(wildcard *.dot) | ||
FILES := $(basename $(FILES)) | ||
FILES := $(addsuffix .svg,$(FILES)) | ||
|
||
ODIR = . | ||
|
||
vpath %.svg $(ODIR) | ||
|
||
%.svg: %.dot | ||
@mkdir -p $(ODIR) | ||
dot -Tsvg $< -o $(ODIR)/$@ | ||
|
||
all: $(FILES) |
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,28 @@ | ||
digraph openflow { | ||
graph [ranksep=0.25]; | ||
node [shape = doublecircle]; | ||
node [shape = rectangle]; | ||
GHDL "ghdl-yosys-plugin" Yosys "nextpnr-ice40" "nextpnr-ecp5" icetime icepack iceprog eccpack; | ||
node [shape = note ]; | ||
VHDL Verilog; | ||
node [shape = box3d ]; | ||
ice40; | ||
node [shape = oval]; | ||
"bit-ice40" [label=".bit"]; | ||
"bit-ecp5" [label=".bit"]; | ||
VHDL -> {GHDL "ghdl-yosys-plugin"}; | ||
GHDL -> "ghdl-yosys-plugin"; | ||
"ghdl-yosys-plugin" -> Yosys; | ||
Verilog -> Yosys; | ||
Yosys -> ".json"; | ||
".json" -> {"nextpnr-ice40" "nextpnr-ecp5"}; | ||
"nextpnr-ice40" -> ".asc"; | ||
"nextpnr-ecp5" -> ".config"; | ||
".asc" -> {icetime icepack}; | ||
icepack -> "bit-ice40"; | ||
"bit-ice40" -> iceprog; | ||
iceprog -> ice40; | ||
".config" -> eccpack; | ||
eccpack -> "bit-ecp5"; | ||
{rank = same; GHDL ; "ghdl-yosys-plugin"; Yosys;} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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