blob: d73581882b3e1e17ffb6f87f4fb7f6da26b550ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
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"
tail test1.log test2.log test3.log
stubnets.so: stubnets.cc
$(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
|