forked from NVlabs/CircuitOps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathset_design.tcl
53 lines (45 loc) · 1.95 KB
/
set_design.tcl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# SPDX-FileCopyrightText: Copyright (c) 2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
### SET DESIGN ###
set DESIGN_NAME gcd
#set DESIGN_NAME aes
#set DESIGN_NAME bp_fe
#set DESIGN_NAME bp_be
### SET PLATFORM ###
set PLATFORM nangate45
### SET OUTPUT DIRECTORY ###
set OUTPUT_DIR "./IRs/${PLATFORM}/${DESIGN_NAME}"
### INTERNAL DEFINTIONS: DO NOT MODIFY BELOW ####
set CIRCUIT_OPS_DIR "./"
set DESIGN_DIR "${CIRCUIT_OPS_DIR}/designs/${PLATFORM}/${DESIGN_NAME}"
set PLATFORM_DIR "${CIRCUIT_OPS_DIR}/platforms/${PLATFORM}"
file mkdir "${OUTPUT_DIR}"
set DEF_FILE "${DESIGN_DIR}/6_final.def.gz"
set TECH_LEF_FILE [glob ${PLATFORM_DIR}/lef/*tech.lef]
#set LEF_FILES [glob ./platforms/$PLATFORM/lef/*macro.lef]
set LEF_FILES [glob ${PLATFORM_DIR}/lef/*.lef]
set LIB_FILES [glob ${PLATFORM_DIR}/lib/*.lib]
set SDC_FILE "${DESIGN_DIR}/6_final.sdc.gz"
set NETLIST_FILE "${DESIGN_DIR}/6_final.v"
set SPEF_FILE "${DESIGN_DIR}/6_final.spef.gz"
set cell_file "${OUTPUT_DIR}/cell_properties.csv"
set libcell_file "${OUTPUT_DIR}/libcell_properties.csv"
set pin_file "${OUTPUT_DIR}/pin_properties.csv"
set net_file "${OUTPUT_DIR}/net_properties.csv"
set cell_pin_file "${OUTPUT_DIR}/cell_pin_edge.csv"
set net_pin_file "${OUTPUT_DIR}/net_pin_edge.csv"
set pin_pin_file "${OUTPUT_DIR}/pin_pin_edge.csv"
set cell_net_file "${OUTPUT_DIR}/cell_net_edge.csv"
set cell_cell_file "${OUTPUT_DIR}/cell_cell_edge.csv"