mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-28 19:35:53 +00:00
Moved presentation_prog
This commit is contained in:
parent
045c04096e
commit
cd6e63e1a9
11 changed files with 257 additions and 621 deletions
21
docs/resources/PRESENTATION_Prog/Makefile
Normal file
21
docs/resources/PRESENTATION_Prog/Makefile
Normal file
|
@ -0,0 +1,21 @@
|
|||
|
||||
all: test0.log test1.log test2.log
|
||||
|
||||
CXXFLAGS=$(shell ../../yosys-config --cxxflags)
|
||||
DATDIR=$(shell ../../yosys-config --datdir)
|
||||
|
||||
my_cmd.so: my_cmd.cc
|
||||
../../yosys-config --exec --cxx $(subst $(DATDIR),../../share,$(CXXFLAGS)) --ldflags -o my_cmd.so -shared my_cmd.cc --ldlibs
|
||||
|
||||
test0.log: my_cmd.so
|
||||
../../yosys -Ql test0.log_new -m ./my_cmd.so -p 'my_cmd foo bar' absval_ref.v
|
||||
mv test0.log_new test0.log
|
||||
|
||||
test1.log: my_cmd.so
|
||||
../../yosys -Ql test1.log_new -m ./my_cmd.so -p 'clean; test1; dump' absval_ref.v
|
||||
mv test1.log_new test1.log
|
||||
|
||||
test2.log: my_cmd.so
|
||||
../../yosys -Ql test2.log_new -m ./my_cmd.so -p 'hierarchy -top test; test2' sigmap_test.v
|
||||
mv test2.log_new test2.log
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue