Added submodule with Yosys and integrated it with the LiteX minitest

Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
This commit is contained in:
Maciej Kurc 2019-06-13 16:16:11 +02:00
parent 01f77fd2b2
commit 0c244f242d
3 changed files with 9 additions and 0 deletions

3
.gitmodules vendored
View File

@ -19,3 +19,6 @@
[submodule "third_party/python-sdf-timing"]
path = third_party/python-sdf-timing
url = https://github.com/SymbiFlow/python-sdf-timing.git
[submodule "third_party/yosys"]
path = third_party/yosys
url = https://github.com/YosysHQ/yosys

View File

@ -1,3 +1,5 @@
YOSYS_PATH = $(abspath ../../../third_party/yosys)
YOSYS = $(YOSYS_PATH)/yosys
VIVADO = /opt/Xilinx/Vivado/2017.2/bin/vivado
all: top.bit
@ -10,6 +12,9 @@ clean:
.PHONY: all clean
$(YOSYS):
cd $(YOSYS_PATH) && make config-gcc && make -j$(shell nproc)
top.edif: $(YOSYS)
$(YOSYS) -s synth.ys -l yosys.log

1
third_party/yosys vendored Submodule

@ -0,0 +1 @@
Subproject commit d4f77d408c754285969969bda3a6985c1fbe9fb6