mirror of
https://github.com/YosysHQ/yosys
synced 2025-10-25 00:44:37 +00:00
Added stubnets example to manual prog chapter
This commit is contained in:
parent
653750faac
commit
3f5d7df603
3 changed files with 15 additions and 7 deletions
|
|
@ -1,14 +1,13 @@
|
|||
|
||||
test: stubnets.so
|
||||
yosys -q -l test1.log -m ./stubnets.so test.v -p "proc; stubnets"
|
||||
yosys -q -l test2.log -m ./stubnets.so test.v -p "proc; opt; stubnets"
|
||||
yosys -q -l test3.log -m ./stubnets.so test.v -p "proc; techmap; opt; stubnets -report_bits"
|
||||
yosys -ql test1.log -m ./stubnets.so test.v -p "stubnets"
|
||||
yosys -ql test2.log -m ./stubnets.so test.v -p "opt; stubnets"
|
||||
yosys -ql test3.log -m ./stubnets.so test.v -p "techmap; opt; stubnets -report_bits"
|
||||
tail test1.log test2.log test3.log
|
||||
|
||||
stubnets.so: stubnets.cc
|
||||
$(shell yosys-config --cxx --cxxflags --ldflags -o stubnets.so -shared stubnets.cc --ldlibs )
|
||||
$(shell yosys-config --cxx --cxxflags --ldflags -o stubnets.so \
|
||||
-shared stubnets.cc --ldlibs )
|
||||
|
||||
clean:
|
||||
rm -f test1.log test2.log test3.log
|
||||
rm -f stubnets.so stubnets.d
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue