Fixing broken lec (task schema)
@@ -9,7 +9,10 @@ yosys echo on
set sc_step [dict get $sc_cfg arg step]
set sc_index [dict get $sc_cfg arg index]
-set sc_refdir [dict get $sc_cfg tool $sc_tool refdir $sc_step $sc_index ]
+#TODO: fix properly
+set sc_task $sc_step
+
+set sc_refdir [dict get $sc_cfg tool $sc_tool task $sc_task refdir $sc_step $sc_index ]
set sc_mode [dict get $sc_cfg option mode]
set sc_design [sc_top]
@@ -23,7 +26,7 @@ set sc_libcorner [dict get $sc_cfg constraint timing [lindex $sc_scenarios 0] li
set sc_liberty [dict get $sc_cfg library $lib output $sc_libcorner $sc_delaymodel]
if {[dict exists $sc_cfg tool $sc_tool "variable" $sc_step $sc_index induction_steps]} {
- set sc_induction_steps [lindex [dict get $sc_cfg tool $sc_tool "variable" $sc_step $sc_index induction_steps] 0]
+ set sc_induction_steps [lindex [dict get $sc_cfg tool $sc_tool task $sc_task "variable" $sc_step $sc_index induction_steps] 0]
} else {
# Yosys default
set sc_induction_steps 4
