-
Notifications
You must be signed in to change notification settings - Fork 556
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6156 from gadfort/add-cell-area
dbsta: add cell area to metrics to mirror report information and totals
- Loading branch information
Showing
5 changed files
with
87 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"design__instance__count__class:buffer": 4, | ||
"design__instance__area__class:buffer": 4000, | ||
"design__instance__count__class:sequential_cell": 2, | ||
"design__instance__area__class:sequential_cell": 2000, | ||
"design__instance__count": 6, | ||
"design__instance__area": 6000, | ||
"design__instance__count__class:buffer__in_module:block1": 2, | ||
"design__instance__area__class:buffer__in_module:block1": 2000, | ||
"design__instance__count__class:sequential_cell__in_module:block1": 1, | ||
"design__instance__area__class:sequential_cell__in_module:block1": 1000, | ||
"design__instance__count__in_module:block1": 3, | ||
"design__instance__area__in_module:block1": 3000, | ||
"design__instance__count__class:buffer__in_module:block1-1": 2, | ||
"design__instance__area__class:buffer__in_module:block1-1": 2000, | ||
"design__instance__count__class:sequential_cell__in_module:block1-1": 1, | ||
"design__instance__area__class:sequential_cell__in_module:block1-1": 1000, | ||
"design__instance__count__in_module:block1-1": 3, | ||
"design__instance__area__in_module:block1-1": 3000 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
[INFO ODB-0227] LEF file: liberty1.lef, created 2 layers, 6 library cells | ||
Cell type report: Count Area | ||
Buffer 4 4000.00 | ||
Sequential cell 2 2000.00 | ||
Total 6 6000.00 | ||
|
||
Cell instance report: | ||
snl_bufx1 4 4000.00 | ||
snl_ffqx1 2 2000.00 | ||
Cell type report for b1 (block1) | ||
Cell type report: Count Area | ||
Buffer 2 2000.00 | ||
Sequential cell 1 1000.00 | ||
Total 3 3000.00 | ||
|
||
Cell instance report: | ||
snl_bufx1 2 2000.00 | ||
snl_ffqx1 1 1000.00 | ||
Cell type report for b2 (block1-1) | ||
Cell type report: Count Area | ||
Buffer 2 2000.00 | ||
Sequential cell 1 1000.00 | ||
Total 3 3000.00 | ||
|
||
Cell instance report: | ||
snl_bufx1 2 2000.00 | ||
snl_ffqx1 1 1000.00 | ||
No differences found. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Report cell usage for modinsts with metrics | ||
|
||
source "helpers.tcl" | ||
read_lef liberty1.lef | ||
read_liberty liberty1.lib | ||
read_verilog hier1.v | ||
link_design top | ||
|
||
set metrics [make_result_file report_cell_usage_modinsts_metrics.json] | ||
|
||
utl::open_metrics $metrics | ||
|
||
report_cell_usage -verbose | ||
|
||
report_cell_usage -verbose b1 | ||
report_cell_usage -verbose b2 | ||
|
||
utl::close_metrics $metrics | ||
|
||
diff_files report_cell_usage_modinsts_metrics.jsonok $metrics |