From 65e160474b219a9e5b1ea9dd4059bb58518f682e Mon Sep 17 00:00:00 2001 From: Peter McGoron Date: Thu, 15 Jun 2023 11:22:59 -0400 Subject: [PATCH] remove test clock and fix make clean failing --- gateware/rtl/base/Makefile | 2 +- gateware/rtl/base/base.v.m4 | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/gateware/rtl/base/Makefile b/gateware/rtl/base/Makefile index ca94b41..528ea37 100644 --- a/gateware/rtl/base/Makefile +++ b/gateware/rtl/base/Makefile @@ -6,4 +6,4 @@ base.v: base.v.m4 lint: base.v verilator --lint-only base.v -I../spi -I../control_loop -I../waveform clean: - rm base.v + rm -f base.v diff --git a/gateware/rtl/base/base.v.m4 b/gateware/rtl/base/base.v.m4 index 43ecc70..0772fb3 100644 --- a/gateware/rtl/base/base.v.m4 +++ b/gateware/rtl/base/base.v.m4 @@ -305,7 +305,6 @@ m4_dac_switch(DAC_PORTS, 7); initial test_clock <= 0; -`define MAKE_TEST_CLOCK `ifdef MAKE_TEST_CLOCK reg [3-1:0] counter = 0; always @ (posedge clk) begin