Add clean before fpga ram make all
This commit is contained in:
parent
8e190efed0
commit
cffec82632
|
@ -3,7 +3,7 @@ TARGET=top
|
||||||
OBJS+=top.sv
|
OBJS+=top.sv
|
||||||
OBJS+=bram.sv
|
OBJS+=bram.sv
|
||||||
|
|
||||||
all: ${TARGET}.bit
|
all: clean ${TARGET}.bit
|
||||||
|
|
||||||
$(TARGET).json: $(OBJS)
|
$(TARGET).json: $(OBJS)
|
||||||
yosys -p "read_verilog -sv $(OBJS); synth_ecp5 -top ${TARGET} -json $@"
|
yosys -p "read_verilog -sv $(OBJS); synth_ecp5 -top ${TARGET} -json $@"
|
||||||
|
|
Loading…
Reference in New Issue