From bd5657f331192f7f5632cebcb3d5bcb935f6b491 Mon Sep 17 00:00:00 2001 From: Kamil Rakoczy Date: Tue, 9 Jul 2024 14:32:40 +0200 Subject: [PATCH] Update OpenROAD-flow-scripts patch Signed-off-by: Kamil Rakoczy --- .../orfs_patches/0001_use_uhdm.patch | 31 ++++++------------- 1 file changed, 10 insertions(+), 21 deletions(-) diff --git a/tests/black_parrot/orfs_patches/0001_use_uhdm.patch b/tests/black_parrot/orfs_patches/0001_use_uhdm.patch index 443d0280d..d8723cd97 100644 --- a/tests/black_parrot/orfs_patches/0001_use_uhdm.patch +++ b/tests/black_parrot/orfs_patches/0001_use_uhdm.patch @@ -1,19 +1,5 @@ -diff --git a/flow/Makefile b/flow/Makefile -index 74fcf58c..91922b1b 100644 ---- a/flow/Makefile -+++ b/flow/Makefile -@@ -419,8 +419,7 @@ $(WRAPPED_LIBS): - # |____/ |_| |_| \_| |_| |_| |_|_____|____/___|____/ - # - .PHONY: synth --synth: versions.txt \ -- $(RESULTS_DIR)/1_synth.v \ -+synth: $(RESULTS_DIR)/1_synth.v \ - $(RESULTS_DIR)/1_synth.sdc - - .PHONY: synth-report diff --git a/flow/scripts/synth_preamble.tcl b/flow/scripts/synth_preamble.tcl -index ae082367..6bc9f486 100644 +index fdb3bbf..69a465d 100644 --- a/flow/scripts/synth_preamble.tcl +++ b/flow/scripts/synth_preamble.tcl @@ -1,4 +1,6 @@ @@ -21,9 +7,9 @@ index ae082367..6bc9f486 100644 +plugin -i systemverilog +yosys -import - if {[info exist ::env(CACHED_NETLIST)]} { - exec cp $::env(CACHED_NETLIST) $::env(RESULTS_DIR)/1_1_yosys.v -@@ -8,20 +10,8 @@ if {[info exist ::env(CACHED_NETLIST)]} { + source $::env(SCRIPTS_DIR)/util.tcl + +@@ -10,23 +12,7 @@ if {[info exist ::env(CACHED_NETLIST)]} { exit } @@ -37,11 +23,14 @@ index ae082367..6bc9f486 100644 -} - - - # Read verilog files +-# Read verilog files -foreach file $::env(VERILOG_FILES) { - read_verilog -defer -sv {*}$vIdirsArgs $file -} +- +- +- +read_uhdm $::env(BLACKPARROT_UHDM) - - + # Read standard cells and macros as blackbox inputs + # These libs have their dont_use properties set accordingly