From 693ce7309a10471d3cef5d04de6fb50c0f709df2 Mon Sep 17 00:00:00 2001 From: Eugene Feinberg Date: Sat, 13 Apr 2024 03:06:57 +0000 Subject: [PATCH] Add error prop to generated vcs compile script --- src/script_fmt/vcs_sh.tera | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/script_fmt/vcs_sh.tera b/src/script_fmt/vcs_sh.tera index 6479db1e..4c9a07b5 100644 --- a/src/script_fmt/vcs_sh.tera +++ b/src/script_fmt/vcs_sh.tera @@ -1,5 +1,8 @@ #!/usr/bin/env bash # {{ HEADER_AUTOGEN }} + +# Set propagation of error to exit on first error +set -e ROOT="{{ root }}" {% if compilation_mode == 'separate' %}{% for group in srcs %} {% if group.file_type == 'verilog' %}{{ vlogan_bin }} -sverilog \