From fc3e407e77a49646ee0f9fa3d5c47f105304ea6f Mon Sep 17 00:00:00 2001 From: "sem24h18 Fabian Hauser (fhauser)" <146116057+fhaus1@users.noreply.github.com> Date: Fri, 29 Nov 2024 17:27:36 +0100 Subject: [PATCH] Recompile newusb_tb for faster workflow --- target/sim/vsim/recompile.newusb.tcl | 9 +++++++++ target/sim/vsim/start.newusb.tcl | 3 +-- 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100755 target/sim/vsim/recompile.newusb.tcl diff --git a/target/sim/vsim/recompile.newusb.tcl b/target/sim/vsim/recompile.newusb.tcl new file mode 100755 index 00000000..53790aae --- /dev/null +++ b/target/sim/vsim/recompile.newusb.tcl @@ -0,0 +1,9 @@ +# Copyright 2022 ETH Zurich and University of Bologna. +# Licensed under the Apache License, Version 2.0, see LICENSE for details. +# SPDX-License-Identifier: Apache-2.0 +# +# Fabian Hauser +# +# Recompile only newusb (way faster) + +vlog -work work -sv ../../../hw/newusb_tb/new_usb_tb.sv \ No newline at end of file diff --git a/target/sim/vsim/start.newusb.tcl b/target/sim/vsim/start.newusb.tcl index 5699de54..63baf1bd 100755 --- a/target/sim/vsim/start.newusb.tcl +++ b/target/sim/vsim/start.newusb.tcl @@ -6,8 +6,7 @@ set TESTBENCH new_usb_tb -# tclint-disable-next-line command-args eval "vsim -c ${TESTBENCH} -t 1ps" set StdArithNoWarnings 1 -set NumericStdNoWarnings 1 +set NumericStdNoWarnings 1 \ No newline at end of file