Skip to content

Commit

Permalink
Update OpenROAD-flow-scripts patch
Browse files Browse the repository at this point in the history
Signed-off-by: Kamil Rakoczy <[email protected]>
  • Loading branch information
kamilrakoczy committed Jul 9, 2024
1 parent 397a7da commit bd5657f
Showing 1 changed file with 10 additions and 21 deletions.
31 changes: 10 additions & 21 deletions tests/black_parrot/orfs_patches/0001_use_uhdm.patch
Original file line number Diff line number Diff line change
@@ -1,29 +1,15 @@
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 @@
yosys -import
+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
}

Expand All @@ -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

0 comments on commit bd5657f

Please sign in to comment.