-
Notifications
You must be signed in to change notification settings - Fork 867
ram: add latch-based memory architecture with auto-detection #10178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
alokkumardalei-wq
wants to merge
1
commit into
The-OpenROAD-Project:master
from
alokkumardalei-wq:feature/ram-latch-support
+140
−7
Closed
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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,32 @@ | ||
| source "helpers.tcl" | ||
|
|
||
| set_thread_count [expr [cpu_count] / 4] | ||
|
|
||
| read_liberty sky130hd/sky130_fd_sc_hd__tt_025C_1v80.lib | ||
|
|
||
| read_lef sky130hd/sky130hd.tlef | ||
| read_lef sky130hd/sky130_fd_sc_hd_merged.lef | ||
|
|
||
| generate_ram \ | ||
| -mask_size 8 \ | ||
| -word_size 8 \ | ||
| -num_words 8 \ | ||
| -read_ports 1 \ | ||
| -storage_cell sky130_fd_sc_hd__dlxtp_1 \ | ||
| -power_pin VPWR \ | ||
| -ground_pin VGND \ | ||
| -routing_layer {met1 0.48} \ | ||
| -ver_layer {met2 0.48 40} \ | ||
| -hor_layer {met3 0.48 20} \ | ||
| -filler_cells {sky130_fd_sc_hd__fill_1 sky130_fd_sc_hd__fill_2 \ | ||
| sky130_fd_sc_hd__fill_4 sky130_fd_sc_hd__fill_8} \ | ||
| -tapcell sky130_fd_sc_hd__tap_1 \ | ||
| -max_tap_dist 15 | ||
|
|
||
| set lef_file [make_result_file make_8x8_sky130_latch.lef] | ||
| write_abstract_lef -bloat_occupied_layers $lef_file | ||
| diff_files make_8x8_sky130_latch.lefok $lef_file | ||
|
|
||
| set def_file [make_result_file make_8x8_sky130_latch.def] | ||
| write_def $def_file | ||
| diff_files make_8x8_sky130_latch.defok $def_file |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This logic for selecting write_latch_cell_ depends on storage_type_, which is detected after the first call to findMasters(). Moving this logic to the generate function after detection avoids the need for a second redundant call to findMasters(), which is an expensive operation as it iterates over all library cells.
References