I'm having some trouble with conditional flow branching based on the result of a previous test. This flow code is intended generate a fall-back test point if the first test fails:
bist :cpu, ip: :L2, testmode: :speed, cond: :pmin, id: :cpu_pmin bist :cpu, ip: :L2, testmode: :speed, cond: :pmax, if_failed: :cpu_pmin Using origen to render the flow with this code generates two consecutive tests with no branching:
run(cpu_L2_speed_pmin_95CE6EC); run(cpu_L2_speed_pmax_95CE6EC); This does appear to work correctly when I use an id attached to a group, but not an individual test.
If I replace the second test call with a call to bin instead, I get an error:
bist :cpu, ip: :L2, testmode: :speed, cond: :pmin, id: :cpu_pmin bin 10, if_failed: :cpu_pmin produces the error message:
[ERROR] 1.464[0.927] || Test ID cpu_pmin is referenced in flow func in the following lines, but it is never defined: [ERROR] 1.465[0.000] || /<origen_pathname>/program/func.rb:41