Ahmed Ghazy | d4ec2f0 | 2021-04-05 18:32:10 +0200 | [diff] [blame] | 1 | # SPDX-FileCopyrightText: 2020 Efabless Corporation |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | # SPDX-License-Identifier: Apache-2.0 |
| 15 | |
| 16 | # Base Configurations. Don't Touch |
| 17 | # section begin |
| 18 | set script_dir [file dirname [file normalize [info script]]] |
| 19 | |
| 20 | source $script_dir/../../caravel/openlane/user_project_wrapper_empty/fixed_wrapper_cfgs.tcl |
| 21 | |
| 22 | set ::env(DESIGN_NAME) user_project_wrapper |
| 23 | #section end |
| 24 | |
| 25 | # User Configurations |
| 26 | |
| 27 | ## Source Verilog Files |
| 28 | set ::env(VERILOG_FILES) "\ |
manarabdelaty | e542bdf | 2021-04-20 11:15:40 +0200 | [diff] [blame^] | 29 | $script_dir/../../caravel/verilog/rtl/defines.v \ |
Ahmed Ghazy | d4ec2f0 | 2021-04-05 18:32:10 +0200 | [diff] [blame] | 30 | $script_dir/../../verilog/rtl/user_project_wrapper.v" |
| 31 | |
| 32 | ## Clock configurations |
| 33 | set ::env(CLOCK_PORT) "user_clock2" |
| 34 | set ::env(CLOCK_NET) "mprj.clk" |
| 35 | |
| 36 | set ::env(CLOCK_PERIOD) "10" |
| 37 | |
| 38 | ## Internal Macros |
| 39 | ### Macro Placement |
| 40 | set ::env(MACRO_PLACEMENT_CFG) $script_dir/macro.cfg |
| 41 | |
| 42 | ### Black-box verilog and views |
| 43 | set ::env(VERILOG_FILES_BLACKBOX) "\ |
| 44 | $script_dir/../../caravel/verilog/rtl/defines.v \ |
| 45 | $script_dir/../../verilog/rtl/user_proj_example.v" |
| 46 | |
| 47 | set ::env(EXTRA_LEFS) "\ |
| 48 | $script_dir/../../lef/user_proj_example.lef" |
| 49 | |
| 50 | set ::env(EXTRA_GDS_FILES) "\ |
| 51 | $script_dir/../../gds/user_proj_example.gds" |
| 52 | |
| 53 | |
| 54 | # The following is because there are no std cells in the example wrapper project. |
| 55 | set ::env(SYNTH_TOP_LEVEL) 1 |
| 56 | set ::env(PL_RANDOM_GLB_PLACEMENT) 1 |
| 57 | |
| 58 | set ::env(PL_RESIZER_DESIGN_OPTIMIZATIONS) 0 |
| 59 | set ::env(PL_RESIZER_TIMING_OPTIMIZATIONS) 0 |
| 60 | set ::env(PL_RESIZER_BUFFER_INPUT_PORTS) 0 |
| 61 | set ::env(PL_RESIZER_BUFFER_OUTPUT_PORTS) 0 |
| 62 | |
| 63 | set ::env(DIODE_INSERTION_STRATEGY) 0 |
| 64 | set ::env(FILL_INSERTION) 0 |
| 65 | set ::env(TAP_DECAP_INSERTION) 0 |
| 66 | set ::env(CLOCK_TREE_SYNTH) 0 |