3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-06-09 23:53:26 +00:00

Docs: updating makefiles

This commit is contained in:
Krystine Sherwin 2024-01-25 12:35:03 +13:00
parent 62d2f89c74
commit 6e38848b92
No known key found for this signature in database
14 changed files with 53 additions and 18 deletions

View file

@ -1,5 +1,8 @@
.PHONY: all dots
all: dots
dots:
.PHONY: test
test: stubnets.so
yosys -ql test1.log -m ./stubnets.so test.v -p "stubnets"
yosys -ql test2.log -m ./stubnets.so test.v -p "opt; stubnets"
@ -9,6 +12,7 @@ test: stubnets.so
stubnets.so: stubnets.cc
yosys-config --exec --cxx --cxxflags --ldflags -o $@ -shared $^ --ldlibs
.PHONY: clean
clean:
rm -f test1.log test2.log test3.log
rm -f stubnets.so stubnets.d