Skip to content

Commit c580bea

Browse files
committed
bump or submodule
Signed-off-by: Eder Monteiro <[email protected]>
2 parents 51f3732 + 3395328 commit c580bea

File tree

70 files changed

+14975
-3397
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+14975
-3397
lines changed

docs/tutorials/FlowTutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ constraints. We will use default configuration variables for this tutorial.
160160
|--------------------|------------------------------------------------------------------------------------------------------------------------------------------|
161161
| `PLATFORM` | Specifies Process design kit. |
162162
| `DESIGN_NAME` | The name of the top-level module of the design |
163-
| `VERILOG_FILES` | The path to the design Verilog files |
163+
| `VERILOG_FILES` | The path to the design Verilog files or JSON files providing a description of modules (check `yosys -h write_json` for more details). |
164164
| `SDC_FILE` | The path to design `.sdc` file |
165165
| `CORE_UTILIZATION` | The core utilization percentage. |
166166
| `PLACE_DENSITY` | The desired placement density of cells. It reflects how spread the cells would be on the core area. 1 = closely dense. 0 = widely spread |

docs/user/FlowVariables.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ file for each design located in the OpenROAD-flow-scripts directory of
222222
|-----------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------|
223223
| `PLATFORM` | Specifies process design kit or technology node to be used. |
224224
| `DESIGN_NAME` | The name of the top-level module of the design. |
225-
| `VERILOG_FILES` | The path to the design Verilog files. |
225+
| `VERILOG_FILES` | The path to the design Verilog files or JSON files providing a description of modules (check `yosys -h write_json` for more details). |
226226
| `SDC_FILE` | The path to design constraint (SDC) file. |
227227

228228

etc/DependencyInstaller.sh

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -122,15 +122,23 @@ _installCI() {
122122
python3 \
123123
software-properties-common
124124

125-
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
126-
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \
127-
$(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null
125+
# Add Docker's official GPG key:
126+
install -m 0755 -d /etc/apt/keyrings
127+
curl -fsSL https://download.docker.com/linux/ubuntu/gpg \
128+
-o /etc/apt/keyrings/docker.asc
129+
chmod a+r /etc/apt/keyrings/docker.asc
130+
131+
# Add the repository to Apt sources:
132+
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
133+
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
134+
tee /etc/apt/sources.list.d/docker.list > /dev/null
128135

129136
apt-get -y update
130137
apt-get -y install --no-install-recommends \
131138
docker-ce \
132139
docker-ce-cli \
133-
containerd.io
140+
containerd.io \
141+
docker-buildx-plugin \
134142

135143
}
136144

etc/DockerHelper.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ _setup() {
8181

8282
_create() {
8383
echo "Create docker image ${imagePath} using ${file}"
84-
${DOCKER_CMD} build \
84+
${DOCKER_CMD} buildx build \
8585
--file "${file}" \
8686
--tag "${imagePath}" \
8787
${buildArgs} \

etc/DockerTag.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,13 @@ if [[ "$@" == "-dev" ]]; then
99
"./docker/Dockerfile.dev"
1010
"./etc/DependencyInstaller.sh"
1111
"./etc/DockerHelper.sh"
12+
"./etc/DockerTag.sh"
13+
"./tools/OpenROAD/docker/Dockerfile.binary"
1214
"./tools/OpenROAD/docker/Dockerfile.builder"
1315
"./tools/OpenROAD/docker/Dockerfile.dev"
14-
"./tools/OpenROAD/docker/Dockerfile.binary"
1516
"./tools/OpenROAD/etc/DependencyInstaller.sh"
17+
"./tools/OpenROAD/etc/DockerHelper.sh"
18+
"./tools/OpenROAD/etc/DockerTag.sh"
1619
)
1720
cat "${file_list[@]}" | sha256sum | awk '{print substr($1, 1, 6)}'
1821
elif [[ "$@" == "-master" ]]; then

flow/Makefile

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,9 @@
104104
# Default design
105105
DESIGN_CONFIG ?= ./designs/nangate45/gcd/config.mk
106106

107-
# Default TNS_END_PERCENT value
108-
export TNS_END_PERCENT ?=5
107+
# Default TNS_END_PERCENT value for post CTS timing repair
108+
# Try fixing all violating endpoints by default (reduce to 5% for runtime)
109+
export TNS_END_PERCENT ?=100
109110

110111
# If we are running headless use offscreen rendering for save_image
111112
ifndef DISPLAY
@@ -295,6 +296,7 @@ endif
295296
# 1 user explicit set with variable in Makefile or command line, for instance setting OPENROAD_EXE
296297
# 2 ORFS compiled tools: openroad, yosys
297298
export OPENROAD_EXE ?= $(abspath $(FLOW_HOME)/../tools/install/OpenROAD/bin/openroad)
299+
export OPENSTA_EXE ?= $(abspath $(FLOW_HOME)/../tools/install/OpenROAD/bin/sta)
298300

299301
OPENROAD_ARGS = -no_init $(OR_ARGS)
300302
OPENROAD_CMD = $(OPENROAD_EXE) -exit $(OPENROAD_ARGS)
@@ -483,7 +485,8 @@ export SYNTH_MEMORY_MAX_BITS ?= 4096
483485

484486
$(SYNTH_STOP_MODULE_SCRIPT):
485487
mkdir -p $(RESULTS_DIR) $(LOG_DIR) $(REPORTS_DIR)
486-
($(TIME_CMD) $(YOSYS_CMD) $(YOSYS_FLAGS) -c $(HIER_REPORT_SCRIPT)) 2>&1 | tee $(LOG_DIR)/1_1_yosys_hier_report.log
488+
(export VERILOG_FILES=$(RESULTS_DIR)/1_synth.rtlil; \
489+
$(TIME_CMD) $(YOSYS_CMD) $(YOSYS_FLAGS) -c $(HIER_REPORT_SCRIPT)) 2>&1 | tee $(LOG_DIR)/1_1_yosys_hier_report.log
487490

488491
ifeq ($(SYNTH_HIERARCHICAL), 1)
489492
do-yosys: $(SYNTH_STOP_MODULE_SCRIPT)
@@ -499,11 +502,20 @@ $(SDC_FILE_CLOCK_PERIOD): $(SDC_FILE)
499502
yosys-dependencies: $(DONT_USE_LIBS) $(WRAPPED_LIBS) $(DONT_USE_SC_LIB) $(DFF_LIB_FILE) $(VERILOG_FILES) $(CACHED_NETLIST) $(LATCH_MAP_FILE) $(ADDER_MAP_FILE)
500503

501504
.PHONY: do-yosys
502-
do-yosys: yosys-dependencies
505+
do-yosys:
503506
mkdir -p $(RESULTS_DIR) $(LOG_DIR) $(REPORTS_DIR) $(OBJECTS_DIR)
504-
($(TIME_CMD) $(YOSYS_CMD) $(YOSYS_FLAGS) -c $(SYNTH_SCRIPT)) 2>&1 | tee $(LOG_DIR)/1_1_yosys.log
507+
(export VERILOG_FILES=$(RESULTS_DIR)/1_synth.rtlil; \
508+
$(TIME_CMD) $(YOSYS_CMD) $(YOSYS_FLAGS) -c $(SYNTH_SCRIPT)) 2>&1 | tee -a $(LOG_DIR)/1_1_yosys.log
505509

506-
$(RESULTS_DIR)/1_1_yosys.v: $(SDC_FILE_CLOCK_PERIOD)
510+
.PHONY: do-yosys-canonicalize
511+
do-yosys-canonicalize: yosys-dependencies
512+
mkdir -p $(RESULTS_DIR) $(LOG_DIR) $(REPORTS_DIR) $(OBJECTS_DIR)
513+
($(TIME_CMD) $(YOSYS_CMD) $(YOSYS_FLAGS) -c $(SCRIPTS_DIR)/synth_canonicalize.tcl) 2>&1 | tee $(LOG_DIR)/1_1_yosys.log
514+
515+
$(RESULTS_DIR)/1_synth.rtlil: $(RESULTS_DIR)/1_1_yosys.v $(SDC_FILE_CLOCK_PERIOD)
516+
$(UNSET_AND_MAKE) do-yosys-canonicalize
517+
518+
$(RESULTS_DIR)/1_1_yosys.v: $(RESULTS_DIR)/1_synth.rtlil $(SDC_FILE_CLOCK_PERIOD)
507519
$(UNSET_AND_MAKE) do-yosys
508520

509521
$(RESULTS_DIR)/1_synth.sdc: $(SDC_FILE)
@@ -520,7 +532,7 @@ $(RESULTS_DIR)/1_synth.v: $(RESULTS_DIR)/1_1_yosys.v
520532

521533
.PHONY: clean_synth
522534
clean_synth:
523-
rm -f $(RESULTS_DIR)/1_*.v $(RESULTS_DIR)/1_synth.sdc $(RESULTS_DIR)/mem.json
535+
rm -f $(RESULTS_DIR)/1_* $(RESULTS_DIR)/mem.json
524536
rm -f $(REPORTS_DIR)/synth_*
525537
rm -f $(LOG_DIR)/1_*
526538
rm -f $(SYNTH_STOP_MODULE_SCRIPT)

0 commit comments

Comments
 (0)