new tutorial make variables for ease of use
This commit is contained in:
@@ -12,6 +12,7 @@ sim_dir=$(abspath .)
|
|||||||
#########################################################################################
|
#########################################################################################
|
||||||
# include shared variables
|
# include shared variables
|
||||||
#########################################################################################
|
#########################################################################################
|
||||||
|
include $(vlsi_dir)/tutorial.mk
|
||||||
include $(base_dir)/variables.mk
|
include $(base_dir)/variables.mk
|
||||||
|
|
||||||
#########################################################################################
|
#########################################################################################
|
||||||
|
|||||||
151
vlsi/example-design-sky130-commercial.yml
Normal file
151
vlsi/example-design-sky130-commercial.yml
Normal file
@@ -0,0 +1,151 @@
|
|||||||
|
# General Hammer Inputs
|
||||||
|
|
||||||
|
# Specify clock signals
|
||||||
|
vlsi.inputs.clocks: [
|
||||||
|
{name: "clock_clock", period: "10ns", uncertainty: "1ns"}
|
||||||
|
]
|
||||||
|
|
||||||
|
# Power Straps
|
||||||
|
par.power_straps_mode: generate
|
||||||
|
par.generate_power_straps_method: by_tracks
|
||||||
|
par.blockage_spacing: 40.0
|
||||||
|
par.blockage_spacing_top_layer: met4
|
||||||
|
par.generate_power_straps_options:
|
||||||
|
by_tracks:
|
||||||
|
strap_layers:
|
||||||
|
- met4
|
||||||
|
- met5
|
||||||
|
pin_layers:
|
||||||
|
- met5
|
||||||
|
blockage_spacing_met2: 4.0
|
||||||
|
blockage_spacing_met4: 2.0
|
||||||
|
blockage_spacing_met4: 2.0
|
||||||
|
track_width: 3
|
||||||
|
track_width_met5: 1
|
||||||
|
track_spacing: 5
|
||||||
|
track_start: 10
|
||||||
|
track_start_met5: 1
|
||||||
|
power_utilization: 0.1
|
||||||
|
power_utilization_met4: 0.1
|
||||||
|
power_utilization_met5: 0.1
|
||||||
|
|
||||||
|
# Placement Constraints
|
||||||
|
vlsi.inputs.placement_constraints:
|
||||||
|
- path: "ChipTop"
|
||||||
|
type: toplevel
|
||||||
|
x: 0
|
||||||
|
y: 0
|
||||||
|
width: 4000
|
||||||
|
height: 2500
|
||||||
|
margins:
|
||||||
|
left: 0
|
||||||
|
right: 0
|
||||||
|
top: 0
|
||||||
|
bottom: 0
|
||||||
|
|
||||||
|
# Place data cache SRAM instances
|
||||||
|
- path: "ChipTop/system/tile_prci_domain/tile_reset_domain/tile/dcache/data/data_arrays_0/data_arrays_0_ext/mem_0_0"
|
||||||
|
type: hardmacro
|
||||||
|
x: 50
|
||||||
|
y: 100
|
||||||
|
orientation: r0
|
||||||
|
|
||||||
|
- path: "ChipTop/system/tile_prci_domain/tile_reset_domain/tile/dcache/data/data_arrays_0/data_arrays_0_ext/mem_1_0"
|
||||||
|
type: hardmacro
|
||||||
|
x: 50
|
||||||
|
y: 700
|
||||||
|
orientation: r0
|
||||||
|
|
||||||
|
- path: "ChipTop/system/tile_prci_domain/tile_reset_domain/tile/dcache/data/data_arrays_0/data_arrays_0_ext/mem_2_0"
|
||||||
|
type: hardmacro
|
||||||
|
x: 50
|
||||||
|
y: 1300
|
||||||
|
orientation: r0
|
||||||
|
|
||||||
|
- path: "ChipTop/system/tile_prci_domain/tile_reset_domain/tile/dcache/data/data_arrays_0/data_arrays_0_ext/mem_3_0"
|
||||||
|
type: hardmacro
|
||||||
|
x: 50
|
||||||
|
y: 1900
|
||||||
|
orientation: r0
|
||||||
|
|
||||||
|
- path: "ChipTop/system/tile_prci_domain/tile_reset_domain/tile/dcache/data/data_arrays_0/data_arrays_0_ext/mem_4_0"
|
||||||
|
type: hardmacro
|
||||||
|
x: 1000
|
||||||
|
y: 1900
|
||||||
|
orientation: r0
|
||||||
|
|
||||||
|
|
||||||
|
- path: "ChipTop/system/tile_prci_domain/tile_reset_domain/tile/dcache/data/data_arrays_0/data_arrays_0_ext/mem_5_0"
|
||||||
|
type: hardmacro
|
||||||
|
x: 1000
|
||||||
|
y: 1300
|
||||||
|
orientation: r0
|
||||||
|
|
||||||
|
- path: "ChipTop/system/tile_prci_domain/tile_reset_domain/tile/dcache/data/data_arrays_0/data_arrays_0_ext/mem_6_0"
|
||||||
|
type: hardmacro
|
||||||
|
x: 1000
|
||||||
|
y: 700
|
||||||
|
orientation: r0
|
||||||
|
|
||||||
|
- path: "ChipTop/system/tile_prci_domain/tile_reset_domain/tile/dcache/data/data_arrays_0/data_arrays_0_ext/mem_7_0"
|
||||||
|
type: hardmacro
|
||||||
|
x: 1000
|
||||||
|
y: 100
|
||||||
|
orientation: r0
|
||||||
|
|
||||||
|
# Place instruction cache SRAM instances
|
||||||
|
- path: "ChipTop/system/tile_prci_domain/tile_reset_domain/tile/frontend/icache/data_arrays_0/data_arrays_0_0_ext/mem_0_0"
|
||||||
|
type: hardmacro
|
||||||
|
x: 3250
|
||||||
|
y: 100
|
||||||
|
orientation: r0
|
||||||
|
|
||||||
|
- path: "ChipTop/system/tile_prci_domain/tile_reset_domain/tile/frontend/icache/data_arrays_0/data_arrays_0_0_ext/mem_1_0"
|
||||||
|
type: hardmacro
|
||||||
|
x: 3250
|
||||||
|
y: 700
|
||||||
|
orientation: r0
|
||||||
|
|
||||||
|
- path: "ChipTop/system/tile_prci_domain/tile_reset_domain/tile/frontend/icache/tag_array/tag_array_ext/mem_0_0"
|
||||||
|
type: hardmacro
|
||||||
|
x: 3450
|
||||||
|
y: 1300
|
||||||
|
orientation: r0
|
||||||
|
|
||||||
|
# Place L2 TLB SRAM instances
|
||||||
|
- path: "ChipTop/system/tile_prci_domain/tile_reset_domain/tile/ptw/l2_tlb_ram/l2_tlb_ram_ext/mem_0_0"
|
||||||
|
type: hardmacro
|
||||||
|
x: 2000
|
||||||
|
y: 1300
|
||||||
|
orientation: "r0"
|
||||||
|
|
||||||
|
- path: "ChipTop/system/tile_prci_domain/tile_reset_domain/tile/ptw/l2_tlb_ram/l2_tlb_ram_ext/mem_0_1"
|
||||||
|
type: hardmacro
|
||||||
|
x: 2000
|
||||||
|
y: 1900
|
||||||
|
orientation: "r0"
|
||||||
|
|
||||||
|
- path: "ChipTop/system/tile_prci_domain/tile_reset_domain/tile/ptw/l2_tlb_ram/l2_tlb_ram_ext/mem_0_2"
|
||||||
|
type: hardmacro
|
||||||
|
x: 2750
|
||||||
|
y: 1300
|
||||||
|
orientation: "r0"
|
||||||
|
|
||||||
|
- path: "ChipTop/system/tile_prci_domain/tile_reset_domain/tile/ptw/l2_tlb_ram/l2_tlb_ram_ext/mem_0_3"
|
||||||
|
type: hardmacro
|
||||||
|
x: 2750
|
||||||
|
y: 1900
|
||||||
|
orientation: "r0"
|
||||||
|
|
||||||
|
- path: "ChipTop/system/tile_prci_domain/tile_reset_domain/tile/ptw/l2_tlb_ram/l2_tlb_ram_ext/mem_0_4"
|
||||||
|
type: hardmacro
|
||||||
|
x: 3460
|
||||||
|
y: 1900
|
||||||
|
orientation: "r0"
|
||||||
|
|
||||||
|
# Pin placement constraints
|
||||||
|
vlsi.inputs.pin_mode: generated
|
||||||
|
vlsi.inputs.pin.generate_mode: semi_auto
|
||||||
|
vlsi.inputs.pin.assignments: [
|
||||||
|
{pins: "*", layers: ["met2", "met4"], side: "bottom"}
|
||||||
|
]
|
||||||
152
vlsi/example-design-sky130-openroad.yml
Normal file
152
vlsi/example-design-sky130-openroad.yml
Normal file
@@ -0,0 +1,152 @@
|
|||||||
|
# General Hammer Inputs
|
||||||
|
|
||||||
|
# Specify clock signals
|
||||||
|
vlsi.inputs.clocks: [
|
||||||
|
{name: "clock_clock", period: "10ns", uncertainty: "1ns"}
|
||||||
|
]
|
||||||
|
|
||||||
|
# Power Straps
|
||||||
|
par.power_straps_mode: generate
|
||||||
|
par.generate_power_straps_method: by_tracks
|
||||||
|
par.blockage_spacing: 40.0
|
||||||
|
par.blockage_spacing_top_layer: met4
|
||||||
|
par.generate_power_straps_options:
|
||||||
|
by_tracks:
|
||||||
|
strap_layers:
|
||||||
|
- met4
|
||||||
|
- met5
|
||||||
|
pin_layers:
|
||||||
|
- met5
|
||||||
|
blockage_spacing_met2: 4.0
|
||||||
|
blockage_spacing_met4: 2.0
|
||||||
|
blockage_spacing_met4: 2.0
|
||||||
|
track_width: 3
|
||||||
|
track_width_met5: 1
|
||||||
|
track_spacing: 5
|
||||||
|
track_start: 10
|
||||||
|
track_start_met5: 1
|
||||||
|
power_utilization: 0.1
|
||||||
|
power_utilization_met4: 0.1
|
||||||
|
power_utilization_met5: 0.1
|
||||||
|
|
||||||
|
# Placement Constraints
|
||||||
|
vlsi.inputs.placement_constraints:
|
||||||
|
- path: "ChipTop"
|
||||||
|
type: toplevel
|
||||||
|
x: 0
|
||||||
|
y: 0
|
||||||
|
width: 4000
|
||||||
|
height: 2500
|
||||||
|
margins:
|
||||||
|
left: 0
|
||||||
|
right: 0
|
||||||
|
top: 0
|
||||||
|
bottom: 0
|
||||||
|
|
||||||
|
# Place data cache SRAM instances
|
||||||
|
- path: "ChipTop/system.tile_prci_domain.tile_reset_domain.tile.dcache.data.data_arrays_0.data_arrays_0_ext.mem_0_0"
|
||||||
|
type: hardmacro
|
||||||
|
x: 50
|
||||||
|
y: 100
|
||||||
|
orientation: r0
|
||||||
|
|
||||||
|
- path: "ChipTop/system.tile_prci_domain.tile_reset_domain.tile.dcache.data.data_arrays_0.data_arrays_0_ext.mem_1_0"
|
||||||
|
type: hardmacro
|
||||||
|
x: 50
|
||||||
|
y: 700
|
||||||
|
orientation: r0
|
||||||
|
|
||||||
|
- path: "ChipTop/system.tile_prci_domain.tile_reset_domain.tile.dcache.data.data_arrays_0.data_arrays_0_ext.mem_2_0"
|
||||||
|
type: hardmacro
|
||||||
|
x: 50
|
||||||
|
y: 1300
|
||||||
|
orientation: r0
|
||||||
|
|
||||||
|
- path: "ChipTop/system.tile_prci_domain.tile_reset_domain.tile.dcache.data.data_arrays_0.data_arrays_0_ext.mem_3_0"
|
||||||
|
type: hardmacro
|
||||||
|
x: 50
|
||||||
|
y: 1900
|
||||||
|
orientation: r0
|
||||||
|
|
||||||
|
- path: "ChipTop/system.tile_prci_domain.tile_reset_domain.tile.dcache.data.data_arrays_0.data_arrays_0_ext.mem_4_0"
|
||||||
|
type: hardmacro
|
||||||
|
x: 1000
|
||||||
|
y: 1900
|
||||||
|
orientation: r0
|
||||||
|
|
||||||
|
|
||||||
|
- path: "ChipTop/system.tile_prci_domain.tile_reset_domain.tile.dcache.data.data_arrays_0.data_arrays_0_ext.mem_5_0"
|
||||||
|
type: hardmacro
|
||||||
|
x: 1000
|
||||||
|
y: 1300
|
||||||
|
orientation: r0
|
||||||
|
|
||||||
|
- path: "ChipTop/system.tile_prci_domain.tile_reset_domain.tile.dcache.data.data_arrays_0.data_arrays_0_ext.mem_6_0"
|
||||||
|
type: hardmacro
|
||||||
|
x: 1000
|
||||||
|
y: 700
|
||||||
|
orientation: r0
|
||||||
|
|
||||||
|
- path: "ChipTop/system.tile_prci_domain.tile_reset_domain.tile.dcache.data.data_arrays_0.data_arrays_0_ext.mem_7_0"
|
||||||
|
type: hardmacro
|
||||||
|
x: 1000
|
||||||
|
y: 100
|
||||||
|
orientation: r0
|
||||||
|
|
||||||
|
# Place instruction cache SRAM instances
|
||||||
|
- path: "ChipTop/system.tile_prci_domain.tile_reset_domain.tile.frontend.icache.data_arrays_0.data_arrays_0_0_ext.mem_0_0"
|
||||||
|
type: hardmacro
|
||||||
|
x: 3250
|
||||||
|
y: 100
|
||||||
|
orientation: r0
|
||||||
|
|
||||||
|
- path: "ChipTop/system.tile_prci_domain.tile_reset_domain.tile.frontend.icache.data_arrays_0.data_arrays_0_0_ext.mem_1_0"
|
||||||
|
type: hardmacro
|
||||||
|
x: 3250
|
||||||
|
y: 700
|
||||||
|
orientation: r0
|
||||||
|
|
||||||
|
- path: "ChipTop/system.tile_prci_domain.tile_reset_domain.tile.frontend.icache.tag_array.tag_array_ext.mem_0_0"
|
||||||
|
type: hardmacro
|
||||||
|
x: 3450
|
||||||
|
y: 1300
|
||||||
|
orientation: r0
|
||||||
|
|
||||||
|
# Place L2 TLB SRAM instances
|
||||||
|
# for some reason these don't remain SRAMs in the Yosys synthesis
|
||||||
|
# - path: "ChipTop/system.tile_prci_domain.tile_reset_domain.tile.ptw/l2_tlb_ram.l2_tlb_ram_ext.mem_0_0"
|
||||||
|
# type: hardmacro
|
||||||
|
# x: 2000
|
||||||
|
# y: 1300
|
||||||
|
# orientation: "r0"
|
||||||
|
|
||||||
|
# - path: "ChipTop/system.tile_prci_domain.tile_reset_domain.tile.ptw/l2_tlb_ram.l2_tlb_ram_ext.mem_0_1"
|
||||||
|
# type: hardmacro
|
||||||
|
# x: 2000
|
||||||
|
# y: 1900
|
||||||
|
# orientation: "r0"
|
||||||
|
|
||||||
|
# - path: "ChipTop/system.tile_prci_domain.tile_reset_domain.tile.ptw/l2_tlb_ram.l2_tlb_ram_ext.mem_0_2"
|
||||||
|
# type: hardmacro
|
||||||
|
# x: 2750
|
||||||
|
# y: 1300
|
||||||
|
# orientation: "r0"
|
||||||
|
|
||||||
|
# - path: "ChipTop/system.tile_prci_domain.tile_reset_domain.tile.ptw/l2_tlb_ram.l2_tlb_ram_ext.mem_0_3"
|
||||||
|
# type: hardmacro
|
||||||
|
# x: 2750
|
||||||
|
# y: 1900
|
||||||
|
# orientation: "r0"
|
||||||
|
|
||||||
|
# - path: "ChipTop/system.tile_prci_domain.tile_reset_domain.tile.ptw/l2_tlb_ram.l2_tlb_ram_ext.mem_0_4"
|
||||||
|
# type: hardmacro
|
||||||
|
# x: 3460
|
||||||
|
# y: 1900
|
||||||
|
# orientation: "r0"
|
||||||
|
|
||||||
|
# Pin placement constraints
|
||||||
|
vlsi.inputs.pin_mode: generated
|
||||||
|
vlsi.inputs.pin.generate_mode: semi_auto
|
||||||
|
vlsi.inputs.pin.assignments: [
|
||||||
|
{pins: "*", layers: ["met2", "met4"], side: "bottom"}
|
||||||
|
]
|
||||||
@@ -6,12 +6,9 @@ vlsi.core.max_threads: 12
|
|||||||
|
|
||||||
# Technology paths
|
# Technology paths
|
||||||
technology.sky130:
|
technology.sky130:
|
||||||
# sky130A: "path-to-sky130A/"
|
sky130A: "path-to-sky130A/"
|
||||||
|
openram_lib: "path-to-sky130_sram_macros/"
|
||||||
sky130_nda: "path-to-skywater-src-nda/"
|
sky130_nda: "path-to-skywater-src-nda/"
|
||||||
# openram_lib: "path-to-sky130_sram_macros/"
|
|
||||||
sky130A: "/tools/C/nayiri/sky130/sky130A"
|
|
||||||
# sky130_nda: "path-to-skywater-src-nda/"
|
|
||||||
openram_lib: "/tools/C/nayiri/sky130/sky130_sram_macros"
|
|
||||||
|
|
||||||
# General Hammer Inputs
|
# General Hammer Inputs
|
||||||
|
|
||||||
@@ -51,120 +48,6 @@ par.generate_power_straps_options:
|
|||||||
power_utilization_met4: 0.1
|
power_utilization_met4: 0.1
|
||||||
power_utilization_met5: 0.1
|
power_utilization_met5: 0.1
|
||||||
|
|
||||||
# Placement Constraints
|
|
||||||
vlsi.inputs.placement_constraints:
|
|
||||||
- path: "ChipTop"
|
|
||||||
type: toplevel
|
|
||||||
x: 0
|
|
||||||
y: 0
|
|
||||||
width: 3800
|
|
||||||
height: 2500
|
|
||||||
margins:
|
|
||||||
left: 0
|
|
||||||
right: 0
|
|
||||||
top: 0
|
|
||||||
bottom: 0
|
|
||||||
|
|
||||||
# # Place data cache SRAM instances
|
|
||||||
# - path: "ChipTop/system/tile_prci_domain/tile_reset_domain/tile/dcache/data/data_arrays_0/data_arrays_0_ext/mem_0_0"
|
|
||||||
# type: hardmacro
|
|
||||||
# x: 50
|
|
||||||
# y: 100
|
|
||||||
# orientation: r0
|
|
||||||
|
|
||||||
# - path: "ChipTop/system/tile_prci_domain/tile_reset_domain/tile/dcache/data/data_arrays_0/data_arrays_0_ext/mem_1_0"
|
|
||||||
# type: hardmacro
|
|
||||||
# x: 50
|
|
||||||
# y: 700
|
|
||||||
# orientation: r0
|
|
||||||
|
|
||||||
# - path: "ChipTop/system/tile_prci_domain/tile_reset_domain/tile/dcache/data/data_arrays_0/data_arrays_0_ext/mem_2_0"
|
|
||||||
# type: hardmacro
|
|
||||||
# x: 50
|
|
||||||
# y: 1300
|
|
||||||
# orientation: r0
|
|
||||||
|
|
||||||
# - path: "ChipTop/system/tile_prci_domain/tile_reset_domain/tile/dcache/data/data_arrays_0/data_arrays_0_ext/mem_3_0"
|
|
||||||
# type: hardmacro
|
|
||||||
# x: 50
|
|
||||||
# y: 1900
|
|
||||||
# orientation: r0
|
|
||||||
|
|
||||||
# - path: "ChipTop/system/tile_prci_domain/tile_reset_domain/tile/dcache/data/data_arrays_0/data_arrays_0_ext/mem_4_0"
|
|
||||||
# type: hardmacro
|
|
||||||
# x: 1000
|
|
||||||
# y: 1900
|
|
||||||
# orientation: r0
|
|
||||||
|
|
||||||
|
|
||||||
# - path: "ChipTop/system/tile_prci_domain/tile_reset_domain/tile/dcache/data/data_arrays_0/data_arrays_0_ext/mem_5_0"
|
|
||||||
# type: hardmacro
|
|
||||||
# x: 1000
|
|
||||||
# y: 1300
|
|
||||||
# orientation: r0
|
|
||||||
|
|
||||||
# - path: "ChipTop/system/tile_prci_domain/tile_reset_domain/tile/dcache/data/data_arrays_0/data_arrays_0_ext/mem_6_0"
|
|
||||||
# type: hardmacro
|
|
||||||
# x: 1000
|
|
||||||
# y: 700
|
|
||||||
# orientation: r0
|
|
||||||
|
|
||||||
# - path: "ChipTop/system/tile_prci_domain/tile_reset_domain/tile/dcache/data/data_arrays_0/data_arrays_0_ext/mem_7_0"
|
|
||||||
# type: hardmacro
|
|
||||||
# x: 1000
|
|
||||||
# y: 100
|
|
||||||
# orientation: r0
|
|
||||||
|
|
||||||
# # Place instruction cache SRAM instances
|
|
||||||
# - path: "ChipTop/system/tile_prci_domain/tile_reset_domain/tile/frontend/icache/data_arrays_0/data_arrays_0_0_ext/mem_0_0"
|
|
||||||
# type: hardmacro
|
|
||||||
# x: 3700
|
|
||||||
# y: 100
|
|
||||||
# orientation: r0
|
|
||||||
|
|
||||||
# - path: "ChipTop/system/tile_prci_domain/tile_reset_domain/tile/frontend/icache/data_arrays_0/data_arrays_0_0_ext/mem_1_0"
|
|
||||||
# type: hardmacro
|
|
||||||
# x: 3700
|
|
||||||
# y: 700
|
|
||||||
# orientation: r0
|
|
||||||
|
|
||||||
# - path: "ChipTop/system/tile_prci_domain/tile_reset_domain/tile/frontend/icache/tag_array/tag_array_ext/mem_0_0"
|
|
||||||
# type: hardmacro
|
|
||||||
# x: 3000
|
|
||||||
# y: 100
|
|
||||||
# orientation: r0
|
|
||||||
|
|
||||||
# # Place L2 TLB SRAM instances
|
|
||||||
# - path: "ChipTop/system/tile_prci_domain/tile_reset_domain/tile/ptw/l2_tlb_ram/l2_tlb_ram_ext/mem_0_0"
|
|
||||||
# type: hardmacro
|
|
||||||
# x: 1900
|
|
||||||
# y: 1900
|
|
||||||
# orientation: "r0"
|
|
||||||
|
|
||||||
# - path: "ChipTop/system/tile_prci_domain/tile_reset_domain/tile/ptw/l2_tlb_ram/l2_tlb_ram_ext/mem_0_1"
|
|
||||||
# type: hardmacro
|
|
||||||
# x: 2600
|
|
||||||
# y: 1900
|
|
||||||
# orientation: "r0"
|
|
||||||
|
|
||||||
# - path: "ChipTop/system/tile_prci_domain/tile_reset_domain/tile/ptw/l2_tlb_ram/l2_tlb_ram_ext/mem_0_2"
|
|
||||||
# type: hardmacro
|
|
||||||
# x: 3300
|
|
||||||
# y: 1900
|
|
||||||
# orientation: "r0"
|
|
||||||
|
|
||||||
# - path: "ChipTop/system/tile_prci_domain/tile_reset_domain/tile/ptw/l2_tlb_ram/l2_tlb_ram_ext/mem_0_3"
|
|
||||||
# type: hardmacro
|
|
||||||
# x: 3950
|
|
||||||
# y: 1900
|
|
||||||
# orientation: "r0"
|
|
||||||
|
|
||||||
# - path: "ChipTop/system/tile_prci_domain/tile_reset_domain/tile/ptw/l2_tlb_ram/l2_tlb_ram_ext/mem_0_4"
|
|
||||||
# type: hardmacro
|
|
||||||
# x: 3950
|
|
||||||
# y: 1300
|
|
||||||
# orientation: "r0"
|
|
||||||
|
|
||||||
# Pin placement constraints
|
# Pin placement constraints
|
||||||
vlsi.inputs.pin_mode: generated
|
vlsi.inputs.pin_mode: generated
|
||||||
vlsi.inputs.pin.generate_mode: semi_auto
|
vlsi.inputs.pin.generate_mode: semi_auto
|
||||||
|
|||||||
28
vlsi/tutorial.mk
Normal file
28
vlsi/tutorial.mk
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
#########################################################################################
|
||||||
|
# makefile variables for Hammer tutorials
|
||||||
|
#########################################################################################
|
||||||
|
tutorial ?= none
|
||||||
|
|
||||||
|
# TODO: eventually have asap7 commercial/openroad tutorial flavors
|
||||||
|
ifeq ($(tutorial),asap7)
|
||||||
|
tech_name ?= asap7
|
||||||
|
CONFIG ?= TinyRocketConfig
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(tutorial),sky130-commercial)
|
||||||
|
tech_name ?= sky130
|
||||||
|
CONFIG ?= TinyRocketConfig
|
||||||
|
TOOLS_CONF ?= example-tools.yml
|
||||||
|
TECH_CONF ?= example-sky130.yml
|
||||||
|
DESIGN_CONF ?= example-design-sky130-commercial.yml
|
||||||
|
INPUT_CONFS ?= $(TOOLS_CONF) $(TECH_CONF) $(DESIGN_CONF)
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(tutorial),sky130-openroad)
|
||||||
|
tech_name ?= sky130
|
||||||
|
CONFIG ?= TinyRocketConfig
|
||||||
|
TOOLS_CONF ?= example-openroad.yml
|
||||||
|
TECH_CONF ?= example-sky130.yml
|
||||||
|
DESIGN_CONF ?= example-design-sky130-openroad.yml
|
||||||
|
INPUT_CONFS ?= $(TOOLS_CONF) $(TECH_CONF) $(DESIGN_CONF)
|
||||||
|
endif
|
||||||
Reference in New Issue
Block a user