-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathschema.sh
executable file
·45 lines (32 loc) · 996 Bytes
/
schema.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#!/bin/bash
#
#
cat <<EOF | dot -Tsvg
digraph {
"json-config" -> "buildtool.py"
"plugins" -> "buildtool.py"
"buildtool.py" -> "Output/TARGET"
"Output/TARGET" -> "Firmware"
"Firmware" -> "Verilog Source-Files"
"Firmware" -> "Pin-Definitions"
"Firmware" -> "Makefile"
"Verilog Source-Files" -> "Bitstream"
"Pin-Definitions" -> "Bitstream"
"Makefile" -> "Bitstream"
"IceStorm" -> "Bitstream"
"Bitstream" -> "FPGA"
"Output/TARGET" -> "LinuxCNC"
"LinuxCNC" -> "c-header"
"LinuxCNC" -> "c-sources"
"c-header" -> "HAL-Component"
"c-sources" -> "HAL-Component"
"halcompile" -> "HAL-Component"
"HAL-Component" -> "RaspberryPI"
"RaspberryPI" -> "SPI" -> "FPGA" [style=bold,color=blue]
"FPGA" -> "SPI" -> "RaspberryPI" [style=bold,color=blue]
"RaspberryPI" [shape=box,color=red]
"FPGA" [shape=box,color=red]
"IceStorm" [shape=box,color=green]
"halcompile" [shape=box,color=green]
}
EOF