forked from bespoke-silicon-group/bsg_fakeram
-
Notifications
You must be signed in to change notification settings - Fork 0
Dynamic bsg_fakeram #3
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
Open
paolopedroso
wants to merge
10
commits into
master
Choose a base branch
from
dynamic
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 5 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
5626df0
dynamic
paolopedroso 8001f5e
fix
paolopedroso 2ef0bdb
updates to lef file
paolopedroso 4cb7034
updated memory class and LEF file
paolopedroso 9c2529b
add independent pdn params
paolopedroso 514a72a
updated logic
paolopedroso 939f3af
updated documentation
paolopedroso cb186d2
fix
paolopedroso 46d50e9
added summary
paolopedroso 8827be2
update placement
paolopedroso 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
|
bgoldbug marked this conversation as resolved.
|
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 |
|---|---|---|
| @@ -1,48 +1,208 @@ | ||
| # ABKGroup's FakeRAM2.0 config, added to allow dynamic RAM generation of asap7 tech | ||
|
|
||
| { | ||
| # The process node. | ||
|
|
||
| "tech_nm": 7, | ||
|
|
||
| # The operating voltage. | ||
| "voltage": 0.7, | ||
|
|
||
| # String to add in front of every metal layer number for the layer name. | ||
| "metalPrefix": "M", | ||
|
|
||
| # The pin width for signal pins. | ||
| "pinWidth_nm": 24, | ||
|
|
||
| # The minimum pin pitch for signal pins | ||
| "pinPitch_nm": 48, | ||
| "manufacturing_grid_nm": 1, | ||
|
|
||
| # Metal track pitch | ||
| "metal_track_pitch_nm": 48, | ||
| # Pins | ||
| "pinParams": { | ||
| "metLayerHorizontalPin": 3, | ||
| "metLayerVerticalPin": 4, | ||
|
|
||
| # Manufacturing Grid | ||
| "manufacturing_grid_nm": 1, | ||
| # set 36nm to x track pitch in met3 | ||
| "x_pinPitch_nm": 36, | ||
|
|
||
| # set 48nm to y track pitch in met4 | ||
| "y_pinPitch_nm": 48, | ||
|
|
||
| # pitch + offset | ||
| "x_pinOffset_nm": 0, | ||
| "y_pinOffset_nm": 0, | ||
|
|
||
| # Pin dimensions | ||
| "pinWidth_nm" : 48, | ||
|
bgoldbug marked this conversation as resolved.
Outdated
|
||
| "pinHeight_nm": 48 | ||
| }, | ||
|
|
||
| # Power Grid | ||
| "powerGridParams": { | ||
| # "vertical" or "horizonal" strapes | ||
| "directionPowerGrid": "horizontal", | ||
| "metLayerPowerGrid": 4, | ||
|
|
||
| # pinWidth * 4 = 96nm | ||
| "powerGridWidth_nm": 96, | ||
|
|
||
| # met4 x track pitch * 8 = 384nm | ||
| "powerGridPitch_nm": 384 | ||
| }, | ||
|
|
||
| # Contacted Poly Pitch | ||
| "contacted_poly_pitch_nm": 54, | ||
| # timing for all srams | ||
| "timing": { | ||
| "t_setup_ns": 0.050, | ||
| "t_hold_ns": 0.050, | ||
| "cap_input_pf": 0.005 | ||
| }, | ||
|
|
||
| #column mux factor | ||
| "column_mux_factor": 1, | ||
| "additionalParams": { | ||
| # TODO: heightSnaptoTrack to heightSnaptoNearestPitch | ||
| # snap sram dimensions to track (reccomended) | ||
| # y offset ignored | ||
| "heightSnapPinPitch": true, | ||
|
|
||
| # Fin pitch | ||
| "fin_pitch_nm" : 27, | ||
| # x offset ignored | ||
| "widthSnapPinPitch": true, | ||
|
|
||
| # Flip Pins = false for M4, true for M3 | ||
| "flipPins": false, | ||
| # pins will be equidistant throughout all | ||
| # sides based on snap mode, pitch factor is ignored | ||
| # TODO: | ||
| # "equidistantPins": false, | ||
|
|
||
| # Optional snap the width and height of the sram to a multiple value. | ||
| "snap_width_nm": 190, | ||
| "snap_height_nm": 1400, | ||
| # all pins will be placed on left/right sides of sram | ||
| "verticalPinsOnly": false, | ||
|
|
||
| # column mux factor to all srams unless overriden | ||
| "column_mux_factor": 4, | ||
|
bgoldbug marked this conversation as resolved.
|
||
| "snapWidth_nm": 190, | ||
| "snapHeight_nm": 1400 | ||
| }, | ||
|
|
||
| # uses custom_tech, defaults to false | ||
| "use_custom_tech": true, | ||
|
bgoldbug marked this conversation as resolved.
|
||
|
|
||
| # Custom tech parameters | ||
| "custom_tech": { | ||
| # If set to false means the tool will not use CACTI for memory | ||
| # modeling; it will use only the values provided in "custom_tech". | ||
| # If set to true, the tool would run CACTI and then override any CACTI | ||
| # generated values with those specified in "custom_tech". | ||
| "hybrid": false, | ||
|
bgoldbug marked this conversation as resolved.
Outdated
|
||
|
|
||
| # REQUIRED PARAMS / OPTIONAL hybrid cacti override | ||
| # params here would only be overrided by cacti | ||
| "access_time_ns": 0.2183, | ||
| "cycle_time_ns": 0.2566, | ||
| "fo4_ps": 9.0632, | ||
| "standby_leakage_per_bank_mW": 0.1289, | ||
| "pin_dynamic_power_mW": 0.0013449, | ||
|
|
||
| # NON-HYBRID REQUIRED PARAMS | ||
| "finPitch_nm": 27, | ||
| "contacted_poly_pitch_nm": 54, | ||
|
|
||
| # Needed tracks/poly for asap7 122 sram cell | ||
| # 10 fin pitches | ||
| "h0_tracks": 10, | ||
| "w0_polys": 2, | ||
|
|
||
| # OPTIONAL VARIABLES (Ignored with hybrid) | ||
| # Optional overhead, default: 1 | ||
| "dh_read": 2, | ||
|
bgoldbug marked this conversation as resolved.
|
||
| "dw_read": 0.5, | ||
| "dh_write": 2.5, | ||
| "dw_write": 0.5, | ||
| "dh_rw": 1, | ||
| "dw_rw": 0.5 | ||
|
|
||
| }, | ||
|
|
||
|
|
||
| # List of SRAM configurations (name width depth and banks) | ||
| "srams": [ | ||
| {"name": "fakeram7_64x21", "width": 21, "depth": 64, "banks": 2, "ports": "1rw", "port_clks": "[0], [], []"}, | ||
| {"name": "fakeram7_256x34", "width": 34, "depth": 256, "banks": 2, "ports": "1rw", "port_clks": "[0], [], []"}, | ||
| {"name": "fakeram7_2048x39", "width": 39, "depth": 2048, "banks": 4, "ports": "1rw", "port_clks": "[0], [], []"} | ||
| ] | ||
| } | ||
| {"name": "testram_1rw_39w2048d_sram", | ||
| "width": 39, | ||
| "depth": 2048, | ||
| "banks": 2, | ||
| "pinPitchFactor": 6, | ||
| "column_mux_factor_override": 3, | ||
| "write_mode": "write_first", | ||
| "ports": { | ||
| "r": 0, | ||
| "w": 0, | ||
| "rw": 1 | ||
| } | ||
| }, | ||
|
|
||
| {"name": "testram_1w_64w256d_16_sram", | ||
| "width": 64, | ||
| "depth": 256, | ||
| "banks": 1, | ||
| "pinPitchFactor": 5, | ||
| "column_mux_factor_override": 2, | ||
| "write_mode": "write_first", | ||
| "write_granularity": 16, | ||
| "ports": { | ||
| "r": 0, | ||
| "w": 1, | ||
| "rw": 0 | ||
| } | ||
| }, | ||
| {"name": "testram_2rw_32w1024d_sram", | ||
| "width": 32, | ||
| "depth": 1024, | ||
| "banks": 1, | ||
| "pinPitchFactor": 3, | ||
|
bgoldbug marked this conversation as resolved.
Outdated
|
||
| "write_mode": "read_first", | ||
| "ports": { | ||
| "r": 0, | ||
| "w": 0, | ||
| "rw": 2 | ||
| } | ||
| }, | ||
| {"name": "testram_1r1w_8w64d_4_sram", | ||
| "width": 8, | ||
| "depth": 64, | ||
| "banks": 1, | ||
| "pinPitchFactor": 1, | ||
| "write_mode": "write_first", | ||
| "write_granularity": 4, | ||
| "ports": { | ||
| "r": 1, | ||
| "w": 1, | ||
| "rw": 0 | ||
| } | ||
| }, | ||
| {"name": "testram_2r_24w512d_sram", | ||
| "width": 24, | ||
| "depth": 512, | ||
| "banks": 1, | ||
| "pinPitchFactor": 3, | ||
| "write_mode": "read_first", | ||
| "ports": { | ||
| "r": 2, | ||
| "w": 0, | ||
| "rw": 0 | ||
| } | ||
| }, | ||
| {"name": "testram_1r2w_48w1024d_8_sram", | ||
| "width": 48, | ||
| "depth": 1024, | ||
| "banks": 2, | ||
| "pinPitchFactor": 7, | ||
| "write_mode": "read_first", | ||
| "write_granularity": 8, | ||
| "ports": { | ||
| "r": 1, | ||
| "w": 2, | ||
| "rw": 0 | ||
| } | ||
| }, | ||
| {"name": "testram_2r2w_90w2048d_18_sram", | ||
| "width": 90, | ||
| "depth": 2048, | ||
| "banks": 2, | ||
| "pinPitchFactor": 10, | ||
| "write_mode": "read_first", | ||
| "column_mux_factor_override": 3, | ||
| "write_granularity": 18, | ||
| "ports": { | ||
| "r": 2, | ||
| "w": 2, | ||
| "rw": 0 | ||
| } | ||
| } | ||
| ] | ||
| } | ||
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.
Uh oh!
There was an error while loading. Please reload this page.