Browse Source

Symplifing Makefile targets

master
T. Meissner 5 years ago
parent
commit
bc59bfd47c
2 changed files with 4 additions and 16 deletions
  1. +2
    -8
      alu/Makefile
  2. +2
    -8
      vai_reg/Makefile

+ 2
- 8
alu/Makefile View File

@ -1,16 +1,10 @@
DUT := alu DUT := alu
.PHONY: cover prove all clean
.PHONY: cover bmc prove all clean
all: cover bmc prove all: cover bmc prove
cover: ${DUT}.vhd symbiyosys.sby
sby --yosys "yosys -m ghdl" -f -d work/${DUT}-$@ symbiyosys.sby $@
bmc: ${DUT}.vhd symbiyosys.sby
sby --yosys "yosys -m ghdl" -f -d work/${DUT}-$@ symbiyosys.sby $@
prove: ${DUT}.vhd symbiyosys.sby
cover bmc prove: ${DUT}.vhd symbiyosys.sby
sby --yosys "yosys -m ghdl" -f -d work/${DUT}-$@ symbiyosys.sby $@ sby --yosys "yosys -m ghdl" -f -d work/${DUT}-$@ symbiyosys.sby $@
clean: clean:


+ 2
- 8
vai_reg/Makefile View File

@ -1,16 +1,10 @@
DUT := vai_reg DUT := vai_reg
.PHONY: cover prove all clean
.PHONY: cover bmc prove all clean
all: cover bmc prove all: cover bmc prove
cover: ${DUT}.vhd symbiyosys.sby
sby --yosys "yosys -m ghdl" -f -d work/${DUT}-$@ symbiyosys.sby $@
bmc: ${DUT}.vhd symbiyosys.sby
sby --yosys "yosys -m ghdl" -f -d work/${DUT}-$@ symbiyosys.sby $@
prove: ${DUT}.vhd symbiyosys.sby
cover bmc prove: ${DUT}.vhd symbiyosys.sby
sby --yosys "yosys -m ghdl" -f -d work/${DUT}-$@ symbiyosys.sby $@ sby --yosys "yosys -m ghdl" -f -d work/${DUT}-$@ symbiyosys.sby $@
clean: clean:


Loading…
Cancel
Save