Skip to content

Commit 8e58c1f

Browse files
committed
Merge branch 'master' into gate_cloning_on_by_default
Signed-off-by: Harsh Vardhan <[email protected]>
2 parents f3977d5 + 5c135fc commit 8e58c1f

File tree

117 files changed

+10827
-7625
lines changed

Some content is hidden

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

117 files changed

+10827
-7625
lines changed

.readthedocs.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Read the Docs configuration file for Sphinx projects
2+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
3+
4+
# Required
5+
version: 2
6+
7+
# Set the OS, Python version and other tools you might need
8+
build:
9+
os: ubuntu-22.04
10+
tools:
11+
python: "3.7"
12+
13+
# Build documentation in the "docs/" directory with Sphinx
14+
sphinx:
15+
configuration: docs/conf.py
16+
17+
# Optional but recommended, declare the Python requirements required
18+
# to build your documentation
19+
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
20+
python:
21+
install:
22+
- requirements: docs/requirements.txt

flow/Makefile

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -378,9 +378,19 @@ $(WRAPPED_LIBS):
378378
# ___) || | | |\ | | | | _ | |___ ___) | | ___) |
379379
# |____/ |_| |_| \_| |_| |_| |_|_____|____/___|____/
380380
#
381+
.PHONY: synth
381382
synth: versions.txt \
382383
$(RESULTS_DIR)/1_synth.v \
383384
$(RESULTS_DIR)/1_synth.sdc
385+
386+
.PHONY: synth-report
387+
synth-report: synth
388+
$(UNSET_AND_MAKE) do-synth-report
389+
390+
.PHONY: do-synth-report
391+
do-synth-report:
392+
($(TIME_CMD) $(OPENROAD_CMD) $(SCRIPTS_DIR)/synth_metrics.tcl) 2>&1 | tee -a $(LOG_DIR)/1_1_yosys.log
393+
384394
# ==============================================================================
385395

386396

@@ -396,18 +406,16 @@ ifeq ($(SYNTH_HIERARCHICAL), 1)
396406
$(RESULTS_DIR)/1_1_yosys.v: $(SYNTH_STOP_MODULE_SCRIPT)
397407
endif
398408

399-
$(RESULTS_DIR)/1_1_yosys.v: $(DONT_USE_LIBS) $(WRAPPED_LIBS) $(DONT_USE_SC_LIB) $(DFF_LIB_FILE) $(VERILOG_FILES) $(CACHED_NETLIST) $(LATCH_MAP_FILE) $(ADDER_MAP_FILE)
409+
$(RESULTS_DIR)/1_1_yosys.v $(RESULTS_DIR)/1_synth.sdc &: $(DONT_USE_LIBS) $(WRAPPED_LIBS) $(DONT_USE_SC_LIB) $(DFF_LIB_FILE) $(VERILOG_FILES) $(CACHED_NETLIST) $(LATCH_MAP_FILE) $(ADDER_MAP_FILE) $(SDC_FILE)
400410
mkdir -p $(RESULTS_DIR) $(LOG_DIR) $(REPORTS_DIR)
401411
($(TIME_CMD) $(YOSYS_CMD) $(YOSYS_FLAGS) -c $(SYNTH_SCRIPT)) 2>&1 | tee $(LOG_DIR)/1_1_yosys.log
412+
cp $(SDC_FILE) $(RESULTS_DIR)/1_synth.sdc
402413

403414
$(RESULTS_DIR)/1_synth.v: $(RESULTS_DIR)/1_1_yosys.v
404415
mkdir -p $(RESULTS_DIR) $(LOG_DIR) $(REPORTS_DIR)
405416
cp $< $@
406417

407-
$(RESULTS_DIR)/1_synth.sdc: $(SDC_FILE)
408-
mkdir -p $(RESULTS_DIR) $(LOG_DIR) $(REPORTS_DIR)
409-
cp $< $@
410-
418+
.PHONY: clean_synth
411419
clean_synth:
412420
rm -f $(RESULTS_DIR)/1_*.v $(RESULTS_DIR)/1_synth.sdc
413421
rm -f $(REPORTS_DIR)/synth_*
@@ -707,14 +715,14 @@ finish: $(LOG_DIR)/6_report.log \
707715
$(GDS_FINAL_FILE)
708716
$(UNSET_AND_MAKE) elapsed
709717

710-
.PHONY:
718+
.PHONY: elapsed
711719
elapsed:
712720
-@$(UTILS_DIR)/genElapsedTime.py -d "$(LOG_DIR)"
713721

714722
# ==============================================================================
715723

716724
ifneq ($(USE_FILL),)
717-
$(eval $(call do-step,6_1_fill,$(RESULTS_DIR)/5_route.odb $(FILL_CONFIG),density_fill))
725+
$(eval $(call do-step,6_1_fill,$(RESULTS_DIR)/5_route.odb $(RESULTS_DIR)/5_route.sdc $(FILL_CONFIG),density_fill))
718726
else
719727
$(eval $(call do-copy,6_1_fill,5_route.odb))
720728
endif

0 commit comments

Comments
 (0)