-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.tcl
39 lines (28 loc) · 1.04 KB
/
config.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
# User config
set script_dir [file dirname [file normalize [info script]]]
set ::env(DESIGN_NAME) wrapped_rgb_mixer
# save some time
set ::env(RUN_KLAYOUT_XOR) 0
set ::env(RUN_KLAYOUT_DRC) 0
# don't put clock buffers on the outputs, need tristates to be the final cells
set ::env(PL_RESIZER_BUFFER_OUTPUT_PORTS) 0
# Change if needed
set ::env(VERILOG_FILES) "$::env(DESIGN_DIR)/wrapper.v \
$::env(DESIGN_DIR)/rgb_mixer/src/rgb_mixer.v \
$::env(DESIGN_DIR)/rgb_mixer/src/pwm.v \
$::env(DESIGN_DIR)/rgb_mixer/src/debounce.v \
$::env(DESIGN_DIR)/rgb_mixer/src/encoder.v"
set ::env(FP_SIZING) absolute
set ::env(DIE_AREA) "0 0 180 210"
set ::env(PL_TARGET_DENSITY) 0.75
set ::env(SYNTH_DEFINES) "MPRJ_IO_PADS=38"
# Fill this
set ::env(CLOCK_PERIOD) "10"
set ::env(CLOCK_PORT) "wb_clk_i"
set ::env(DESIGN_IS_CORE) 0
set ::env(RT_MAX_LAYER) {met4}
set ::env(VDD_NETS) [list {vccd1}]
set ::env(GND_NETS) [list {vssd1}]
#set ::env(FP_PIN_ORDER_CFG) $script_dir/pin_order.cfg
set ::env(FP_IO_VTHICKNESS_MULT) 4
set ::env(FP_IO_HTHICKNESS_MULT) 4