|
Lines 2-7
Link Here
|
| 2 |
# Due to the fact that Yosys doesn't support floating parameter values |
2 |
# Due to the fact that Yosys doesn't support floating parameter values |
| 3 |
# i.e. treats them as strings, the parameter values need to be multiplied by 1000 |
3 |
# i.e. treats them as strings, the parameter values need to be multiplied by 1000 |
| 4 |
# for the PLL registers to have correct values calculated during techmapping. |
4 |
# for the PLL registers to have correct values calculated during techmapping. |
|
|
5 |
|
| 6 |
proc clean_processes {} { |
| 7 |
proc_clean |
| 8 |
proc_rmdead |
| 9 |
proc_prune |
| 10 |
proc_init |
| 11 |
proc_arst |
| 12 |
proc_mux |
| 13 |
proc_dlatch |
| 14 |
proc_dff |
| 15 |
proc_memwr |
| 16 |
proc_clean |
| 17 |
} |
| 18 |
|
| 5 |
proc multiply_param { cell param_name multiplier } { |
19 |
proc multiply_param { cell param_name multiplier } { |
| 6 |
set param_value [getparam $param_name $cell] |
20 |
set param_value [getparam $param_name $cell] |
| 7 |
if {$param_value ne ""} { |
21 |
if {$param_value ne ""} { |