[dvsim/syn] Update flow to copy over new lib-setup.tcl file
Signed-off-by: Michael Schaffner <msf@google.com>
diff --git a/hw/syn/data/dc.hjson b/hw/syn/data/dc.hjson
index 6768ffe..6230bae 100644
--- a/hw/syn/data/dc.hjson
+++ b/hw/syn/data/dc.hjson
@@ -5,6 +5,7 @@
// The tool sources include the technology setup file,
// the main synthesis run script and the constraints file
tool_srcs: ["{proj_root}/hw/foundry/syn/{tool}/setup.tcl"
+ tool_srcs: ["{proj_root}/hw/foundry/syn/{tool}/lib-setup.tcl"
"{proj_root}/hw/foundry/syn/{tool}/ram-macros-setup.tcl"
"{proj_root}/hw/syn/tools/{tool}/run-syn.tcl"
"{sdc_path}/{sdc_file}"]
diff --git a/hw/syn/tools/dc/sweep.tcl b/hw/syn/tools/dc/sweep.tcl
index 018654c..b507bdf 100644
--- a/hw/syn/tools/dc/sweep.tcl
+++ b/hw/syn/tools/dc/sweep.tcl
@@ -8,7 +8,9 @@
## PREPARE FLOW ##
#####################
-source ../../../foundry/syn/dc/setup.tcl
+# tool setup
+set CONFIG_PATH "../../../foundry/syn/dc/"
+source ${CONFIG_PATH}/setup.tcl
# paths
set WORKLIB "WORK"
@@ -30,6 +32,7 @@
lappend search_path "../../../ip/prim/rtl/"
set SRC { "../../../ip/prim/rtl/prim_assert.sv" \
+ "../../../ip/prim/rtl/prim_cipher_pkg.sv" \
"../../../ip/prim/rtl/prim_present.sv" \
"../../../ip/prim/rtl/prim_prince.sv" \
}