diff options
author | Yann Herklotz <git@yannherklotz.com> | 2021-07-10 21:06:31 +0200 |
---|---|---|
committer | Yann Herklotz <git@yannherklotz.com> | 2021-07-10 21:06:31 +0200 |
commit | f21f8ed249030032f4b0a99c0fcd7e210ddb2e1b (patch) | |
tree | 6edc3fe2c6cdedf190a72352c4706df399358206 /benchmarks/polybench-syn/common.mk | |
parent | 817aea90deff7f381bf50d0cb7cbfc96c1c9ea7f (diff) | |
download | vericert-f21f8ed249030032f4b0a99c0fcd7e210ddb2e1b.tar.gz vericert-f21f8ed249030032f4b0a99c0fcd7e210ddb2e1b.zip |
Add more documentation and clean up benchmarks
Diffstat (limited to 'benchmarks/polybench-syn/common.mk')
-rw-r--r-- | benchmarks/polybench-syn/common.mk | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/benchmarks/polybench-syn/common.mk b/benchmarks/polybench-syn/common.mk new file mode 100644 index 0000000..6508855 --- /dev/null +++ b/benchmarks/polybench-syn/common.mk @@ -0,0 +1,26 @@ +VERICERT ?= vericert +VERICERT_OPTS ?= -DSYNTHESIS + +IVERILOG ?= iverilog +IVERILOG_OPTS ?= + +%.v: %.c + $(VERICERT) $(VERICERT_OPTS) $< -o $@ + +%.iver: %.v + $(IVERILOG) $(IVERILOG_OPTS) $< -o $@ + +%.gcc: %.c + $(CC) $(CFLAGS) $< -o $@ + +%: %.iver %.gcc + cp $< $@ + +clean: + rm -f *.iver + rm -f *.v + rm -f *.gcc + +.PRECIOUS: %.v +.PHONY: all clean +.SUFFIXES: |