Download chips/yosys/docs/source/code_examples/stubnets/Makefile from STAR-future/Trinity-SciData: direct link, hf CLI and curl.
- Browser
- Download file 606 Bytes
-
https://huggingface.co/datasets/STAR-future/Trinity-SciData/resolve/main/chips/yosys/docs/source/code_examples/stubnets/Makefile
- Command line
-
hf download hf://datasets/STAR-future/Trinity-SciData/chips/yosys/docs/source/code_examples/stubnets/Makefile
-
curl -L -o Makefile https://huggingface.co/datasets/STAR-future/Trinity-SciData/resolve/main/chips/yosys/docs/source/code_examples/stubnets/Makefile
606 Bytes
| include ../../../common.mk | |
| .PHONY: all dots examples | |
| all: dots examples | |
| dots: | |
| examples: test | |
| .PHONY: test | |
| test: stubnets.so | |
| @$(YOSYS) -ql test1.log -m ./stubnets.so test.v -p "stubnets" >/dev/null 2>&1 | |
| @$(YOSYS) -ql test2.log -m ./stubnets.so test.v -p "opt; stubnets" >/dev/null 2>&1 | |
| @$(YOSYS) -ql test3.log -m ./stubnets.so test.v -p "techmap; opt; stubnets -report_bits" >/dev/null 2>&1 | |
| stubnets.so: stubnets.cc | |
| @$(YOSYS_CONFIG) --exec --cxx --cxxflags --ldflags -o $@ -shared $^ --ldlibs >/dev/null 2>&1 | |
| .PHONY: clean | |
| clean: | |
| @rm -f test1.log test2.log test3.log | |
| @rm -f stubnets.so stubnets.d | |