Skip to content

Commit f80b48f

Browse files
committed
Merge branch 'master' into ihpsg13g2_at
2 parents 2e73b59 + 9323372 commit f80b48f

Some content is hidden

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

49 files changed

+5006
-4700
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ binaries, including OpenROAD, Yosys and Klayout. See instructions
8080
> **Disclaimer** The versions of OpenROAD, Yosys and Klayout provided by
8181
> other third-party vendors are not guaranteed to work with ORFS.
8282
83-
### Local Installation
83+
### Build from sources locally
8484

85-
Document for detailed local installation steps found [here](./docs/user/BuildLocally.md).
85+
Document for detailed local build from sources and installation steps found [here](./docs/user/BuildLocally.md).
8686

8787
## Using the Flow
8888

docs/user/BuildWithDocker.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ You can restrict the number of CPUs with the `-t|--threads N` argument:
7171
The binaries are only available from inside a Docker container. Here is an example of starting a container from the created Docker image.
7272

7373
``` shell
74-
docker run --rm -it -u $(id -u ${USER}):$(id -g ${USER}) -v $(pwd)/flow:/OpenROAD-flow-scripts/flow openroad/flow-ubuntu22-builder
74+
docker run --rm -it -u $(id -u ${USER}):$(id -g ${USER}) -v $(pwd)/flow:/OpenROAD-flow-scripts/flow openroad/flow-ubuntu22.04-builder
7575
```
7676

7777
Then, inside docker:

flow/Makefile

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ export RESYNTH_TIMING_RECOVER ?= 0
190190
export ABC_AREA ?= 0
191191

192192
# Global setting for Synthesis
193-
export SYNTH_ARGS ?= -flatten
193+
export SYNTH_ARGS ?= -flatten -extra-map $(DESIGN_HOME)/src/lcu/lcu_kogge_stone.v
194194

195195
# Global setting for Floorplan
196196
export PLACE_PINS_ARGS
@@ -458,12 +458,18 @@ synth-report: synth
458458
do-synth-report:
459459
($(TIME_CMD) $(OPENROAD_CMD) $(SCRIPTS_DIR)/synth_metrics.tcl) 2>&1 | tee -a $(LOG_DIR)/1_1_yosys.log
460460

461+
.PHONY: memory
462+
memory: $(RESULTS_DIR)/mem.json
463+
python3 $(SCRIPTS_DIR)/mem_dump.py $(RESULTS_DIR)/mem.json
464+
461465
# ==============================================================================
462466

463467

464468
# Run Synthesis using yosys
465469
#-------------------------------------------------------------------------------
466-
SYNTH_SCRIPT ?= $(SCRIPTS_DIR)/synth.tcl
470+
471+
export SYNTH_SCRIPT ?= $(SCRIPTS_DIR)/synth.tcl
472+
export SYNTH_MEMORY_MAX_BITS ?= 4096
467473

468474
$(SYNTH_STOP_MODULE_SCRIPT):
469475
mkdir -p $(RESULTS_DIR) $(LOG_DIR) $(REPORTS_DIR)
@@ -484,7 +490,7 @@ yosys-dependencies: $(DONT_USE_LIBS) $(WRAPPED_LIBS) $(DONT_USE_SC_LIB) $(DFF_LI
484490

485491
.PHONY: do-yosys
486492
do-yosys: yosys-dependencies
487-
mkdir -p $(RESULTS_DIR) $(LOG_DIR) $(REPORTS_DIR)
493+
mkdir -p $(RESULTS_DIR) $(LOG_DIR) $(REPORTS_DIR) $(OBJECTS_DIR)
488494
($(TIME_CMD) $(YOSYS_CMD) $(YOSYS_FLAGS) -c $(SYNTH_SCRIPT)) 2>&1 | tee $(LOG_DIR)/1_1_yosys.log
489495

490496
$(RESULTS_DIR)/1_1_yosys.v: $(SDC_FILE_CLOCK_PERIOD)
@@ -504,7 +510,7 @@ $(RESULTS_DIR)/1_synth.v: $(RESULTS_DIR)/1_1_yosys.v
504510

505511
.PHONY: clean_synth
506512
clean_synth:
507-
rm -f $(RESULTS_DIR)/1_*.v $(RESULTS_DIR)/1_synth.sdc
513+
rm -f $(RESULTS_DIR)/1_*.v $(RESULTS_DIR)/1_synth.sdc $(RESULTS_DIR)/mem.json
508514
rm -f $(REPORTS_DIR)/synth_*
509515
rm -f $(LOG_DIR)/1_*
510516
rm -f $(SYNTH_STOP_MODULE_SCRIPT)

flow/designs/asap7/aes-block/metadata-base-ok.json

Lines changed: 273 additions & 273 deletions
Large diffs are not rendered by default.

flow/designs/asap7/aes-block/rules-base.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,19 @@
2424
"compare": "<="
2525
},
2626
"cts__design__instance__count__hold_buffer": {
27-
"value": 990,
27+
"value": 1309,
2828
"compare": "<="
2929
},
3030
"detailedroute__route__wirelength": {
31-
"value": 71123,
31+
"value": 82822,
3232
"compare": "<="
3333
},
3434
"detailedroute__route__drc_errors": {
3535
"value": 0,
3636
"compare": "<="
3737
},
3838
"finish__timing__setup__ws": {
39-
"value": -247.66,
39+
"value": -338.86,
4040
"compare": ">="
4141
},
4242
"finish__design__instance__area": {
@@ -48,7 +48,7 @@
4848
"compare": "<="
4949
},
5050
"finish__timing__drv__hold_violation_count": {
51-
"value": 322,
51+
"value": 266,
5252
"compare": "<="
5353
},
5454
"finish__timing__wns_percent_delay": {

flow/designs/asap7/aes_lvt/metadata-base-ok.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,4 +378,4 @@
378378
"synth__mem__peak": 326324.0,
379379
"synth__runtime__total": "0:46.78",
380380
"total_time": "0:12:25.070000"
381-
}
381+
}

flow/designs/asap7/aes_lvt/rules-base.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,4 @@
5555
"value": -37.32,
5656
"compare": ">="
5757
}
58-
}
58+
}

0 commit comments

Comments
 (0)