|
| 1 | +export PLATFORM = asap7 |
| 2 | +export DESIGN_NAME = CoupledL2 |
| 3 | +export DESIGN_NICKNAME = xiangshan_coupledl2 |
| 4 | + |
| 5 | +export VERILOG_FILES = $(sort \ |
| 6 | + $(wildcard $(DESIGN_HOME)/src/xiangshan_coupledl2/*.sv) \ |
| 7 | + $(wildcard $(DESIGN_HOME)/src/xiangshan_coupledl2/deps/*.sv)) \ |
| 8 | + $(PLATFORM_DIR)/verilog/array_2048x137_bk_bb.sv \ |
| 9 | + $(PLATFORM_DIR)/verilog/array_256x104_bb.sv \ |
| 10 | + $(PLATFORM_DIR)/verilog/array_256x13_bb.sv \ |
| 11 | + $(PLATFORM_DIR)/verilog/array_256x164_bb.sv \ |
| 12 | + $(PLATFORM_DIR)/verilog/array_256x16_bb.sv \ |
| 13 | + $(PLATFORM_DIR)/verilog/array_256x8_0_bb.sv |
| 14 | +export VERILOG_DEFINES += -D SYNTHESIS |
| 15 | +export SDC_FILE = $(DESIGN_HOME)/$(PLATFORM)/$(DESIGN_NICKNAME)/constraint.sdc |
| 16 | + |
| 17 | +# Fakeram macros for the SRAM arrays; fakeram.cfg in this directory records how |
| 18 | +# the platform views were generated. |
| 19 | +export ADDITIONAL_LEFS = $(PLATFORM_DIR)/lef/array_2048x137_bk.lef \ |
| 20 | + $(PLATFORM_DIR)/lef/array_256x104.lef \ |
| 21 | + $(PLATFORM_DIR)/lef/array_256x13.lef \ |
| 22 | + $(PLATFORM_DIR)/lef/array_256x164.lef \ |
| 23 | + $(PLATFORM_DIR)/lef/array_256x16.lef \ |
| 24 | + $(PLATFORM_DIR)/lef/array_256x8_0.lef |
| 25 | +export ADDITIONAL_LIBS = $(PLATFORM_DIR)/lib/NLDM/array_2048x137_bk.lib \ |
| 26 | + $(PLATFORM_DIR)/lib/NLDM/array_256x104.lib \ |
| 27 | + $(PLATFORM_DIR)/lib/NLDM/array_256x13.lib \ |
| 28 | + $(PLATFORM_DIR)/lib/NLDM/array_256x164.lib \ |
| 29 | + $(PLATFORM_DIR)/lib/NLDM/array_256x16.lib \ |
| 30 | + $(PLATFORM_DIR)/lib/NLDM/array_256x8_0.lib |
| 31 | +export GDS_ALLOW_EMPTY = (fakeram.*|DFFHQN[VH][24].*|array_.*) |
| 32 | + |
| 33 | +export ASAP7_USE_VT = RVT LVT SLVT |
| 34 | + |
| 35 | +# Synthesis |
| 36 | +export SYNTH_HIERARCHICAL = 1 |
| 37 | +export SYNTH_MINIMUM_KEEP_SIZE ?= 10000 |
| 38 | +export SYNTH_HDL_FRONTEND = slang |
| 39 | +export LEC_CHECK = 0 |
| 40 | + |
| 41 | +# Floorplan |
| 42 | +export CORE_UTILIZATION = 50 |
| 43 | +export CORE_ASPECT_RATIO = 1 |
| 44 | +export CORE_MARGIN = 2 |
| 45 | +export MACRO_PLACE_HALO = 5 5 |
| 46 | + |
| 47 | +# Placement and timing repair |
| 48 | +export GPL_TIMING_DRIVEN = 0 |
| 49 | +export GPL_ROUTABILITY_DRIVEN = 0 |
| 50 | +export TNS_END_PERCENT = 5 |
| 51 | +export SKIP_CTS_REPAIR_TIMING = 1 |
| 52 | +export SKIP_INCREMENTAL_REPAIR = 1 |
| 53 | +export ENABLE_RESISTANCE_AWARE = 0 |
| 54 | + |
| 55 | +# Routing |
| 56 | +export GLOBAL_ROUTE_ARGS = -congestion_iterations 5 -congestion_report_iter_step 5 -verbose -allow_congestion |
| 57 | +# FlexDR on current master reports DRT-0206 terminal-connectivity errors for |
| 58 | +# this design, so detailed routing is skipped and the Final report uses |
| 59 | +# global-route estimated parasitics. |
| 60 | +export SKIP_DETAILED_ROUTE = 1 |
| 61 | +export DETAILED_ROUTE_END_ITERATION = 32 |
| 62 | +export SKIP_ANTENNA_REPAIR = 1 |
| 63 | +export SKIP_ANTENNA_REPAIR_POST_DRT = 1 |
0 commit comments