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 | set script_dir [file dirname [file normalize [info script]]] |
| 17 | |
| 18 | set ::env(DESIGN_NAME) user_proj_example |
| 19 | |
| 20 | set ::env(VERILOG_FILES) "\ |
manarabdelaty | b41301c | 2021-04-19 23:30:35 +0200 | [diff] [blame] | 21 | $script_dir/../../caravel-lite/verilog/rtl/defines.v \ |
Ahmed Ghazy | d4ec2f0 | 2021-04-05 18:32:10 +0200 | [diff] [blame] | 22 | $script_dir/../../verilog/rtl/user_proj_example.v" |
| 23 | |
| 24 | set ::env(CLOCK_PORT) "" |
| 25 | set ::env(CLOCK_NET) "counter.clk" |
| 26 | set ::env(CLOCK_PERIOD) "10" |
| 27 | |
| 28 | set ::env(FP_SIZING) absolute |
Ahmed Ghazy | 548e5a7 | 2021-04-06 00:07:33 +0200 | [diff] [blame] | 29 | set ::env(DIE_AREA) "0 0 900 600" |
Ahmed Ghazy | d4ec2f0 | 2021-04-05 18:32:10 +0200 | [diff] [blame] | 30 | set ::env(DESIGN_IS_CORE) 0 |
| 31 | |
| 32 | set ::env(VDD_NETS) [list {vccd1} {vccd2} {vdda1} {vdda2}] |
| 33 | set ::env(GND_NETS) [list {vssd1} {vssd2} {vssa1} {vssa2}] |
| 34 | |
| 35 | set ::env(FP_PIN_ORDER_CFG) $script_dir/pin_order.cfg |
| 36 | |
| 37 | set ::env(PL_BASIC_PLACEMENT) 1 |
Ahmed Ghazy | 548e5a7 | 2021-04-06 00:07:33 +0200 | [diff] [blame] | 38 | set ::env(PL_TARGET_DENSITY) 0.05 |
Ahmed Ghazy | d4ec2f0 | 2021-04-05 18:32:10 +0200 | [diff] [blame] | 39 | |
| 40 | # If you're going to use multiple power domains, then keep this disabled. |
| 41 | set ::env(RUN_CVC) 0 |