diff --git a/vcs/defs.bzl b/vcs/defs.bzl index d4e969ff..aabe30bf 100644 --- a/vcs/defs.bzl +++ b/vcs/defs.bzl @@ -144,7 +144,7 @@ def _vcs_run(ctx): # Waveform if ctx.attr.trace: trace_file = ctx.actions.declare_file("{}.vcd".format(ctx.label.name)) - args.extend(["+vcd="+trace_file.path]) + args.extend(["+vcd=" + trace_file.path]) args.append("+vcs+dumpon+0+0") args.append("+vcs+dumparrays") outputs.append(trace_file) diff --git a/vcs/tests/BUILD b/vcs/tests/BUILD index d333efee..bc9d75a1 100644 --- a/vcs/tests/BUILD +++ b/vcs/tests/BUILD @@ -12,7 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -load("@rules_cc//cc:defs.bzl", "cc_test") load("//vcs:defs.bzl", "vcs_binary", "vcs_run") load("//verilog:defs.bzl", "verilog_library") @@ -28,7 +27,6 @@ verilog_library( ], ) - verilog_library( name = "tb", srcs = [ @@ -41,7 +39,6 @@ verilog_library( vcs_binary( name = "tb_vcs", - vcs_env = "//vcs/tests:vcs_env.sh", module = ":tb", module_top = "tb", opts = [ @@ -49,6 +46,7 @@ vcs_binary( "+vcs+lic+wait", "+error+500", ], + vcs_env = "//vcs/tests:vcs_env.sh", visibility = [ "//visibility:public", ],