tutorial tweaks
This commit is contained in:
@@ -5,9 +5,11 @@ set -o pipefail
|
|||||||
|
|
||||||
# Initialize HAMMER and CAD-plugins
|
# Initialize HAMMER and CAD-plugins
|
||||||
git submodule update --init --recursive vlsi/hammer
|
git submodule update --init --recursive vlsi/hammer
|
||||||
git submodule update --init --recursive vlsi/hammer-cadence-plugins
|
if [[ $1 != *openroad* ]] && [[ $2 != *openroad* ]]; then
|
||||||
git submodule update --init --recursive vlsi/hammer-synopsys-plugins
|
git submodule update --init --recursive vlsi/hammer-cadence-plugins
|
||||||
git submodule update --init --recursive vlsi/hammer-mentor-plugins
|
git submodule update --init --recursive vlsi/hammer-synopsys-plugins
|
||||||
|
git submodule update --init --recursive vlsi/hammer-mentor-plugins
|
||||||
|
fi
|
||||||
|
|
||||||
# Initialize HAMMER tech plugin
|
# Initialize HAMMER tech plugin
|
||||||
if [[ $1 != *asap7* ]] && [[ $1 != *sky130* ]]; then
|
if [[ $1 != *asap7* ]] && [[ $1 != *sky130* ]]; then
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ vlsi.inputs.power_spec_type: "cpf"
|
|||||||
|
|
||||||
# Specify clock signals
|
# Specify clock signals
|
||||||
vlsi.inputs.clocks: [
|
vlsi.inputs.clocks: [
|
||||||
{name: "clock_clock", period: "130ns", uncertainty: "1ns"}
|
{name: "clock_clock", period: "10ns", uncertainty: "1ns"}
|
||||||
]
|
]
|
||||||
|
|
||||||
# Generate Make include to aid in flow
|
# Generate Make include to aid in flow
|
||||||
@@ -28,7 +28,7 @@ vlsi.core.build_system: make
|
|||||||
# Power Straps
|
# Power Straps
|
||||||
par.power_straps_mode: generate
|
par.power_straps_mode: generate
|
||||||
par.generate_power_straps_method: by_tracks
|
par.generate_power_straps_method: by_tracks
|
||||||
par.blockage_spacing: 2.0
|
par.blockage_spacing: 40.0
|
||||||
par.blockage_spacing_top_layer: met4
|
par.blockage_spacing_top_layer: met4
|
||||||
par.generate_power_straps_options:
|
par.generate_power_straps_options:
|
||||||
by_tracks:
|
by_tracks:
|
||||||
@@ -38,14 +38,16 @@ par.generate_power_straps_options:
|
|||||||
pin_layers:
|
pin_layers:
|
||||||
- met5
|
- met5
|
||||||
blockage_spacing_met2: 4.0
|
blockage_spacing_met2: 4.0
|
||||||
track_width: 6
|
blockage_spacing_met4: 2.0
|
||||||
track_width_met5: 2
|
blockage_spacing_met4: 2.0
|
||||||
track_spacing: 1
|
track_width: 3
|
||||||
|
track_width_met5: 1
|
||||||
|
track_spacing: 5
|
||||||
track_start: 10
|
track_start: 10
|
||||||
track_start_met5: 1
|
track_start_met5: 1
|
||||||
power_utilization: 0.1
|
power_utilization: 0.1
|
||||||
power_utilization_met4: 0.3
|
power_utilization_met4: 0.1
|
||||||
power_utilization_met5: 0.5
|
power_utilization_met5: 0.1
|
||||||
|
|
||||||
# Placement Constraints
|
# Placement Constraints
|
||||||
vlsi.inputs.placement_constraints:
|
vlsi.inputs.placement_constraints:
|
||||||
@@ -53,7 +55,7 @@ vlsi.inputs.placement_constraints:
|
|||||||
type: toplevel
|
type: toplevel
|
||||||
x: 0
|
x: 0
|
||||||
y: 0
|
y: 0
|
||||||
width: 4500
|
width: 3800
|
||||||
height: 2500
|
height: 2500
|
||||||
margins:
|
margins:
|
||||||
left: 0
|
left: 0
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ class ExampleDriver(CLIDriver):
|
|||||||
# hammer_vlsi.HammerTool.make_pre_insertion_hook("route_design", example_add_fillers),
|
# hammer_vlsi.HammerTool.make_pre_insertion_hook("route_design", example_add_fillers),
|
||||||
|
|
||||||
# make_post_insertion_hook will execute the custom hook after the specified step
|
# make_post_insertion_hook will execute the custom hook after the specified step
|
||||||
hammer_vlsi.HammerTool.make_post_insertion_hook("init_design", example_tool_settings),
|
# hammer_vlsi.HammerTool.make_post_insertion_hook("init_design", example_tool_settings),
|
||||||
|
|
||||||
# make_replacement_hook will replace the specified step with a custom hook
|
# make_replacement_hook will replace the specified step with a custom hook
|
||||||
# hammer_vlsi.HammerTool.make_replacement_hook("place_tap_cells", example_place_tap_cells),
|
# hammer_vlsi.HammerTool.make_replacement_hook("place_tap_cells", example_place_tap_cells),
|
||||||
|
|||||||
Reference in New Issue
Block a user