A riff on Cook-Levin Chapters

Chapter 16

The circuit as equations

“The circuit, in full” draws the decider as boxes. This chapter writes every gate of it as one Boolean equation, 1,439 in all, as “The polynomials, in full” prints every term. The names are those of “The machine as a circuit”, led by the core and the step: core2.step3.hb' is core 2's high bit of AX after line 3. The 16 inputs come first, then each core's input as two constants, core2.in_hb = 1, and the last line is decides.

python/equations.py reads this text back with a parser and an interpreter of its own, apart from the C that printed it, and evaluates it on all 4,096 programs and all 16 want registers at once: decides is 1 at exactly the 4,096 points where the program decides the problem the register holds. build.shale runs it on every build.

book/build/equations.txt: circuit_main equations: every gate of the decider, in evaluation order
1,439 gates, 392 NOT, 659 AND, 388 OR, 109,097 characters
inputs: want0 want1 want2 want3 op1_hb op1_lb op2_hb op2_lb op3_hb op3_lb op4_hb op4_lb op5_hb op5_lb op6_hb op6_lb
core0.in_hb = 0
core0.in_lb = 0
core0.step1.zero.hb_or_lb = core0.in_hb OR core0.in_lb
core0.step1.zero.accepts = NOT core0.step1.zero.hb_or_lb
core0.step1.decr.hb' = core0.in_hb AND core0.in_lb
core0.step1.decr.lb' = NOT core0.in_lb
core0.step1.decr.hb_or_lb = core0.in_hb OR core0.in_lb
core0.step1.decr.halts = NOT core0.step1.decr.hb_or_lb
core0.step1.hold.running = NOT 0
core0.step1.hold.sel_hb = op1_hb AND core0.step1.hold.running
core0.step1.hold.sel_lb = op1_lb AND core0.step1.hold.running
core0.step1.hb_mux.low.not_s = NOT core0.step1.hold.sel_lb
core0.step1.hb_mux.low.pick0 = core0.in_hb AND core0.step1.hb_mux.low.not_s
core0.step1.hb_mux.low.pick1 = core0.in_hb AND core0.step1.hold.sel_lb
core0.step1.hb_mux.low.out = core0.step1.hb_mux.low.pick0 OR core0.step1.hb_mux.low.pick1
core0.step1.hb_mux.high.not_s = NOT core0.step1.hold.sel_lb
core0.step1.hb_mux.high.pick0 = core0.step1.decr.hb' AND core0.step1.hb_mux.high.not_s
core0.step1.hb_mux.high.pick1 = 0 AND core0.step1.hold.sel_lb
core0.step1.hb_mux.high.out = core0.step1.hb_mux.high.pick0 OR core0.step1.hb_mux.high.pick1
core0.step1.hb_mux.top.not_s = NOT core0.step1.hold.sel_hb
core0.step1.hb_mux.top.pick0 = core0.step1.hb_mux.low.out AND core0.step1.hb_mux.top.not_s
core0.step1.hb_mux.top.pick1 = core0.step1.hb_mux.high.out AND core0.step1.hold.sel_hb
core0.step1.hb' = core0.step1.hb_mux.top.pick0 OR core0.step1.hb_mux.top.pick1
core0.step1.lb_mux.low.not_s = NOT core0.step1.hold.sel_lb
core0.step1.lb_mux.low.pick0 = core0.in_lb AND core0.step1.lb_mux.low.not_s
core0.step1.lb_mux.low.pick1 = core0.in_lb AND core0.step1.hold.sel_lb
core0.step1.lb_mux.low.out = core0.step1.lb_mux.low.pick0 OR core0.step1.lb_mux.low.pick1
core0.step1.lb_mux.high.not_s = NOT core0.step1.hold.sel_lb
core0.step1.lb_mux.high.pick0 = core0.step1.decr.lb' AND core0.step1.lb_mux.high.not_s
core0.step1.lb_mux.high.pick1 = core0.in_lb AND core0.step1.hold.sel_lb
core0.step1.lb_mux.high.out = core0.step1.lb_mux.high.pick0 OR core0.step1.lb_mux.high.pick1
core0.step1.lb_mux.top.not_s = NOT core0.step1.hold.sel_hb
core0.step1.lb_mux.top.pick0 = core0.step1.lb_mux.low.out AND core0.step1.lb_mux.top.not_s
core0.step1.lb_mux.top.pick1 = core0.step1.lb_mux.high.out AND core0.step1.hold.sel_hb
core0.step1.lb' = core0.step1.lb_mux.top.pick0 OR core0.step1.lb_mux.top.pick1
core0.step1.accepts_mux.low.not_s = NOT core0.step1.hold.sel_lb
core0.step1.accepts_mux.low.pick0 = 0 AND core0.step1.accepts_mux.low.not_s
core0.step1.accepts_mux.low.pick1 = core0.step1.zero.accepts AND core0.step1.hold.sel_lb
core0.step1.accepts_mux.low.out = core0.step1.accepts_mux.low.pick0 OR core0.step1.accepts_mux.low.pick1
core0.step1.accepts_mux.high.not_s = NOT core0.step1.hold.sel_lb
core0.step1.accepts_mux.high.pick0 = 0 AND core0.step1.accepts_mux.high.not_s
core0.step1.accepts_mux.high.pick1 = 0 AND core0.step1.hold.sel_lb
core0.step1.accepts_mux.high.out = core0.step1.accepts_mux.high.pick0 OR core0.step1.accepts_mux.high.pick1
core0.step1.accepts_mux.top.not_s = NOT core0.step1.hold.sel_hb
core0.step1.accepts_mux.top.pick0 = core0.step1.accepts_mux.low.out AND core0.step1.accepts_mux.top.not_s
core0.step1.accepts_mux.top.pick1 = core0.step1.accepts_mux.high.out AND core0.step1.hold.sel_hb
core0.step1.accepts_mux.out = core0.step1.accepts_mux.top.pick0 OR core0.step1.accepts_mux.top.pick1
core0.step1.halts_mux.low.not_s = NOT core0.step1.hold.sel_lb
core0.step1.halts_mux.low.pick0 = 0 AND core0.step1.halts_mux.low.not_s
core0.step1.halts_mux.low.pick1 = 0 AND core0.step1.hold.sel_lb
core0.step1.halts_mux.low.out = core0.step1.halts_mux.low.pick0 OR core0.step1.halts_mux.low.pick1
core0.step1.halts_mux.high.not_s = NOT core0.step1.hold.sel_lb
core0.step1.halts_mux.high.pick0 = core0.step1.decr.halts AND core0.step1.halts_mux.high.not_s
core0.step1.halts_mux.high.pick1 = 0 AND core0.step1.hold.sel_lb
core0.step1.halts_mux.high.out = core0.step1.halts_mux.high.pick0 OR core0.step1.halts_mux.high.pick1
core0.step1.halts_mux.top.not_s = NOT core0.step1.hold.sel_hb
core0.step1.halts_mux.top.pick0 = core0.step1.halts_mux.low.out AND core0.step1.halts_mux.top.not_s
core0.step1.halts_mux.top.pick1 = core0.step1.halts_mux.high.out AND core0.step1.hold.sel_hb
core0.step1.halts_mux.out = core0.step1.halts_mux.top.pick0 OR core0.step1.halts_mux.top.pick1
core0.step1.halted' = 0 OR core0.step1.halts_mux.out
core0.step1.accepted' = 0 OR core0.step1.accepts_mux.out
core0.step2.zero.hb_or_lb = core0.step1.hb' OR core0.step1.lb'
core0.step2.zero.accepts = NOT core0.step2.zero.hb_or_lb
core0.step2.decr.hb' = core0.step1.hb' AND core0.step1.lb'
core0.step2.decr.lb' = NOT core0.step1.lb'
core0.step2.decr.hb_or_lb = core0.step1.hb' OR core0.step1.lb'
core0.step2.decr.halts = NOT core0.step2.decr.hb_or_lb
core0.step2.hold.running = NOT core0.step1.halted'
core0.step2.hold.sel_hb = op2_hb AND core0.step2.hold.running
core0.step2.hold.sel_lb = op2_lb AND core0.step2.hold.running
core0.step2.hb_mux.low.not_s = NOT core0.step2.hold.sel_lb
core0.step2.hb_mux.low.pick0 = core0.step1.hb' AND core0.step2.hb_mux.low.not_s
core0.step2.hb_mux.low.pick1 = core0.step1.hb' AND core0.step2.hold.sel_lb
core0.step2.hb_mux.low.out = core0.step2.hb_mux.low.pick0 OR core0.step2.hb_mux.low.pick1
core0.step2.hb_mux.high.not_s = NOT core0.step2.hold.sel_lb
core0.step2.hb_mux.high.pick0 = core0.step2.decr.hb' AND core0.step2.hb_mux.high.not_s
core0.step2.hb_mux.high.pick1 = 0 AND core0.step2.hold.sel_lb
core0.step2.hb_mux.high.out = core0.step2.hb_mux.high.pick0 OR core0.step2.hb_mux.high.pick1
core0.step2.hb_mux.top.not_s = NOT core0.step2.hold.sel_hb
core0.step2.hb_mux.top.pick0 = core0.step2.hb_mux.low.out AND core0.step2.hb_mux.top.not_s
core0.step2.hb_mux.top.pick1 = core0.step2.hb_mux.high.out AND core0.step2.hold.sel_hb
core0.step2.hb' = core0.step2.hb_mux.top.pick0 OR core0.step2.hb_mux.top.pick1
core0.step2.lb_mux.low.not_s = NOT core0.step2.hold.sel_lb
core0.step2.lb_mux.low.pick0 = core0.step1.lb' AND core0.step2.lb_mux.low.not_s
core0.step2.lb_mux.low.pick1 = core0.step1.lb' AND core0.step2.hold.sel_lb
core0.step2.lb_mux.low.out = core0.step2.lb_mux.low.pick0 OR core0.step2.lb_mux.low.pick1
core0.step2.lb_mux.high.not_s = NOT core0.step2.hold.sel_lb
core0.step2.lb_mux.high.pick0 = core0.step2.decr.lb' AND core0.step2.lb_mux.high.not_s
core0.step2.lb_mux.high.pick1 = core0.step1.lb' AND core0.step2.hold.sel_lb
core0.step2.lb_mux.high.out = core0.step2.lb_mux.high.pick0 OR core0.step2.lb_mux.high.pick1
core0.step2.lb_mux.top.not_s = NOT core0.step2.hold.sel_hb
core0.step2.lb_mux.top.pick0 = core0.step2.lb_mux.low.out AND core0.step2.lb_mux.top.not_s
core0.step2.lb_mux.top.pick1 = core0.step2.lb_mux.high.out AND core0.step2.hold.sel_hb
core0.step2.lb' = core0.step2.lb_mux.top.pick0 OR core0.step2.lb_mux.top.pick1
core0.step2.accepts_mux.low.not_s = NOT core0.step2.hold.sel_lb
core0.step2.accepts_mux.low.pick0 = 0 AND core0.step2.accepts_mux.low.not_s
core0.step2.accepts_mux.low.pick1 = core0.step2.zero.accepts AND core0.step2.hold.sel_lb
core0.step2.accepts_mux.low.out = core0.step2.accepts_mux.low.pick0 OR core0.step2.accepts_mux.low.pick1
core0.step2.accepts_mux.high.not_s = NOT core0.step2.hold.sel_lb
core0.step2.accepts_mux.high.pick0 = 0 AND core0.step2.accepts_mux.high.not_s
core0.step2.accepts_mux.high.pick1 = 0 AND core0.step2.hold.sel_lb
core0.step2.accepts_mux.high.out = core0.step2.accepts_mux.high.pick0 OR core0.step2.accepts_mux.high.pick1
core0.step2.accepts_mux.top.not_s = NOT core0.step2.hold.sel_hb
core0.step2.accepts_mux.top.pick0 = core0.step2.accepts_mux.low.out AND core0.step2.accepts_mux.top.not_s
core0.step2.accepts_mux.top.pick1 = core0.step2.accepts_mux.high.out AND core0.step2.hold.sel_hb
core0.step2.accepts_mux.out = core0.step2.accepts_mux.top.pick0 OR core0.step2.accepts_mux.top.pick1
core0.step2.halts_mux.low.not_s = NOT core0.step2.hold.sel_lb
core0.step2.halts_mux.low.pick0 = 0 AND core0.step2.halts_mux.low.not_s
core0.step2.halts_mux.low.pick1 = 0 AND core0.step2.hold.sel_lb
core0.step2.halts_mux.low.out = core0.step2.halts_mux.low.pick0 OR core0.step2.halts_mux.low.pick1
core0.step2.halts_mux.high.not_s = NOT core0.step2.hold.sel_lb
core0.step2.halts_mux.high.pick0 = core0.step2.decr.halts AND core0.step2.halts_mux.high.not_s
core0.step2.halts_mux.high.pick1 = 0 AND core0.step2.hold.sel_lb
core0.step2.halts_mux.high.out = core0.step2.halts_mux.high.pick0 OR core0.step2.halts_mux.high.pick1
core0.step2.halts_mux.top.not_s = NOT core0.step2.hold.sel_hb
core0.step2.halts_mux.top.pick0 = core0.step2.halts_mux.low.out AND core0.step2.halts_mux.top.not_s
core0.step2.halts_mux.top.pick1 = core0.step2.halts_mux.high.out AND core0.step2.hold.sel_hb
core0.step2.halts_mux.out = core0.step2.halts_mux.top.pick0 OR core0.step2.halts_mux.top.pick1
core0.step2.halted' = core0.step1.halted' OR core0.step2.halts_mux.out
core0.step2.accepted' = core0.step1.accepted' OR core0.step2.accepts_mux.out
core0.step3.zero.hb_or_lb = core0.step2.hb' OR core0.step2.lb'
core0.step3.zero.accepts = NOT core0.step3.zero.hb_or_lb
core0.step3.decr.hb' = core0.step2.hb' AND core0.step2.lb'
core0.step3.decr.lb' = NOT core0.step2.lb'
core0.step3.decr.hb_or_lb = core0.step2.hb' OR core0.step2.lb'
core0.step3.decr.halts = NOT core0.step3.decr.hb_or_lb
core0.step3.hold.running = NOT core0.step2.halted'
core0.step3.hold.sel_hb = op3_hb AND core0.step3.hold.running
core0.step3.hold.sel_lb = op3_lb AND core0.step3.hold.running
core0.step3.hb_mux.low.not_s = NOT core0.step3.hold.sel_lb
core0.step3.hb_mux.low.pick0 = core0.step2.hb' AND core0.step3.hb_mux.low.not_s
core0.step3.hb_mux.low.pick1 = core0.step2.hb' AND core0.step3.hold.sel_lb
core0.step3.hb_mux.low.out = core0.step3.hb_mux.low.pick0 OR core0.step3.hb_mux.low.pick1
core0.step3.hb_mux.high.not_s = NOT core0.step3.hold.sel_lb
core0.step3.hb_mux.high.pick0 = core0.step3.decr.hb' AND core0.step3.hb_mux.high.not_s
core0.step3.hb_mux.high.pick1 = 0 AND core0.step3.hold.sel_lb
core0.step3.hb_mux.high.out = core0.step3.hb_mux.high.pick0 OR core0.step3.hb_mux.high.pick1
core0.step3.hb_mux.top.not_s = NOT core0.step3.hold.sel_hb
core0.step3.hb_mux.top.pick0 = core0.step3.hb_mux.low.out AND core0.step3.hb_mux.top.not_s
core0.step3.hb_mux.top.pick1 = core0.step3.hb_mux.high.out AND core0.step3.hold.sel_hb
core0.step3.hb' = core0.step3.hb_mux.top.pick0 OR core0.step3.hb_mux.top.pick1
core0.step3.lb_mux.low.not_s = NOT core0.step3.hold.sel_lb
core0.step3.lb_mux.low.pick0 = core0.step2.lb' AND core0.step3.lb_mux.low.not_s
core0.step3.lb_mux.low.pick1 = core0.step2.lb' AND core0.step3.hold.sel_lb
core0.step3.lb_mux.low.out = core0.step3.lb_mux.low.pick0 OR core0.step3.lb_mux.low.pick1
core0.step3.lb_mux.high.not_s = NOT core0.step3.hold.sel_lb
core0.step3.lb_mux.high.pick0 = core0.step3.decr.lb' AND core0.step3.lb_mux.high.not_s
core0.step3.lb_mux.high.pick1 = core0.step2.lb' AND core0.step3.hold.sel_lb
core0.step3.lb_mux.high.out = core0.step3.lb_mux.high.pick0 OR core0.step3.lb_mux.high.pick1
core0.step3.lb_mux.top.not_s = NOT core0.step3.hold.sel_hb
core0.step3.lb_mux.top.pick0 = core0.step3.lb_mux.low.out AND core0.step3.lb_mux.top.not_s
core0.step3.lb_mux.top.pick1 = core0.step3.lb_mux.high.out AND core0.step3.hold.sel_hb
core0.step3.lb' = core0.step3.lb_mux.top.pick0 OR core0.step3.lb_mux.top.pick1
core0.step3.accepts_mux.low.not_s = NOT core0.step3.hold.sel_lb
core0.step3.accepts_mux.low.pick0 = 0 AND core0.step3.accepts_mux.low.not_s
core0.step3.accepts_mux.low.pick1 = core0.step3.zero.accepts AND core0.step3.hold.sel_lb
core0.step3.accepts_mux.low.out = core0.step3.accepts_mux.low.pick0 OR core0.step3.accepts_mux.low.pick1
core0.step3.accepts_mux.high.not_s = NOT core0.step3.hold.sel_lb
core0.step3.accepts_mux.high.pick0 = 0 AND core0.step3.accepts_mux.high.not_s
core0.step3.accepts_mux.high.pick1 = 0 AND core0.step3.hold.sel_lb
core0.step3.accepts_mux.high.out = core0.step3.accepts_mux.high.pick0 OR core0.step3.accepts_mux.high.pick1
core0.step3.accepts_mux.top.not_s = NOT core0.step3.hold.sel_hb
core0.step3.accepts_mux.top.pick0 = core0.step3.accepts_mux.low.out AND core0.step3.accepts_mux.top.not_s
core0.step3.accepts_mux.top.pick1 = core0.step3.accepts_mux.high.out AND core0.step3.hold.sel_hb
core0.step3.accepts_mux.out = core0.step3.accepts_mux.top.pick0 OR core0.step3.accepts_mux.top.pick1
core0.step3.halts_mux.low.not_s = NOT core0.step3.hold.sel_lb
core0.step3.halts_mux.low.pick0 = 0 AND core0.step3.halts_mux.low.not_s
core0.step3.halts_mux.low.pick1 = 0 AND core0.step3.hold.sel_lb
core0.step3.halts_mux.low.out = core0.step3.halts_mux.low.pick0 OR core0.step3.halts_mux.low.pick1
core0.step3.halts_mux.high.not_s = NOT core0.step3.hold.sel_lb
core0.step3.halts_mux.high.pick0 = core0.step3.decr.halts AND core0.step3.halts_mux.high.not_s
core0.step3.halts_mux.high.pick1 = 0 AND core0.step3.hold.sel_lb
core0.step3.halts_mux.high.out = core0.step3.halts_mux.high.pick0 OR core0.step3.halts_mux.high.pick1
core0.step3.halts_mux.top.not_s = NOT core0.step3.hold.sel_hb
core0.step3.halts_mux.top.pick0 = core0.step3.halts_mux.low.out AND core0.step3.halts_mux.top.not_s
core0.step3.halts_mux.top.pick1 = core0.step3.halts_mux.high.out AND core0.step3.hold.sel_hb
core0.step3.halts_mux.out = core0.step3.halts_mux.top.pick0 OR core0.step3.halts_mux.top.pick1
core0.step3.halted' = core0.step2.halted' OR core0.step3.halts_mux.out
core0.step3.accepted' = core0.step2.accepted' OR core0.step3.accepts_mux.out
core0.step4.zero.hb_or_lb = core0.step3.hb' OR core0.step3.lb'
core0.step4.zero.accepts = NOT core0.step4.zero.hb_or_lb
core0.step4.decr.hb' = core0.step3.hb' AND core0.step3.lb'
core0.step4.decr.lb' = NOT core0.step3.lb'
core0.step4.decr.hb_or_lb = core0.step3.hb' OR core0.step3.lb'
core0.step4.decr.halts = NOT core0.step4.decr.hb_or_lb
core0.step4.hold.running = NOT core0.step3.halted'
core0.step4.hold.sel_hb = op4_hb AND core0.step4.hold.running
core0.step4.hold.sel_lb = op4_lb AND core0.step4.hold.running
core0.step4.hb_mux.low.not_s = NOT core0.step4.hold.sel_lb
core0.step4.hb_mux.low.pick0 = core0.step3.hb' AND core0.step4.hb_mux.low.not_s
core0.step4.hb_mux.low.pick1 = core0.step3.hb' AND core0.step4.hold.sel_lb
core0.step4.hb_mux.low.out = core0.step4.hb_mux.low.pick0 OR core0.step4.hb_mux.low.pick1
core0.step4.hb_mux.high.not_s = NOT core0.step4.hold.sel_lb
core0.step4.hb_mux.high.pick0 = core0.step4.decr.hb' AND core0.step4.hb_mux.high.not_s
core0.step4.hb_mux.high.pick1 = 0 AND core0.step4.hold.sel_lb
core0.step4.hb_mux.high.out = core0.step4.hb_mux.high.pick0 OR core0.step4.hb_mux.high.pick1
core0.step4.hb_mux.top.not_s = NOT core0.step4.hold.sel_hb
core0.step4.hb_mux.top.pick0 = core0.step4.hb_mux.low.out AND core0.step4.hb_mux.top.not_s
core0.step4.hb_mux.top.pick1 = core0.step4.hb_mux.high.out AND core0.step4.hold.sel_hb
core0.step4.hb' = core0.step4.hb_mux.top.pick0 OR core0.step4.hb_mux.top.pick1
core0.step4.lb_mux.low.not_s = NOT core0.step4.hold.sel_lb
core0.step4.lb_mux.low.pick0 = core0.step3.lb' AND core0.step4.lb_mux.low.not_s
core0.step4.lb_mux.low.pick1 = core0.step3.lb' AND core0.step4.hold.sel_lb
core0.step4.lb_mux.low.out = core0.step4.lb_mux.low.pick0 OR core0.step4.lb_mux.low.pick1
core0.step4.lb_mux.high.not_s = NOT core0.step4.hold.sel_lb
core0.step4.lb_mux.high.pick0 = core0.step4.decr.lb' AND core0.step4.lb_mux.high.not_s
core0.step4.lb_mux.high.pick1 = core0.step3.lb' AND core0.step4.hold.sel_lb
core0.step4.lb_mux.high.out = core0.step4.lb_mux.high.pick0 OR core0.step4.lb_mux.high.pick1
core0.step4.lb_mux.top.not_s = NOT core0.step4.hold.sel_hb
core0.step4.lb_mux.top.pick0 = core0.step4.lb_mux.low.out AND core0.step4.lb_mux.top.not_s
core0.step4.lb_mux.top.pick1 = core0.step4.lb_mux.high.out AND core0.step4.hold.sel_hb
core0.step4.lb' = core0.step4.lb_mux.top.pick0 OR core0.step4.lb_mux.top.pick1
core0.step4.accepts_mux.low.not_s = NOT core0.step4.hold.sel_lb
core0.step4.accepts_mux.low.pick0 = 0 AND core0.step4.accepts_mux.low.not_s
core0.step4.accepts_mux.low.pick1 = core0.step4.zero.accepts AND core0.step4.hold.sel_lb
core0.step4.accepts_mux.low.out = core0.step4.accepts_mux.low.pick0 OR core0.step4.accepts_mux.low.pick1
core0.step4.accepts_mux.high.not_s = NOT core0.step4.hold.sel_lb
core0.step4.accepts_mux.high.pick0 = 0 AND core0.step4.accepts_mux.high.not_s
core0.step4.accepts_mux.high.pick1 = 0 AND core0.step4.hold.sel_lb
core0.step4.accepts_mux.high.out = core0.step4.accepts_mux.high.pick0 OR core0.step4.accepts_mux.high.pick1
core0.step4.accepts_mux.top.not_s = NOT core0.step4.hold.sel_hb
core0.step4.accepts_mux.top.pick0 = core0.step4.accepts_mux.low.out AND core0.step4.accepts_mux.top.not_s
core0.step4.accepts_mux.top.pick1 = core0.step4.accepts_mux.high.out AND core0.step4.hold.sel_hb
core0.step4.accepts_mux.out = core0.step4.accepts_mux.top.pick0 OR core0.step4.accepts_mux.top.pick1
core0.step4.halts_mux.low.not_s = NOT core0.step4.hold.sel_lb
core0.step4.halts_mux.low.pick0 = 0 AND core0.step4.halts_mux.low.not_s
core0.step4.halts_mux.low.pick1 = 0 AND core0.step4.hold.sel_lb
core0.step4.halts_mux.low.out = core0.step4.halts_mux.low.pick0 OR core0.step4.halts_mux.low.pick1
core0.step4.halts_mux.high.not_s = NOT core0.step4.hold.sel_lb
core0.step4.halts_mux.high.pick0 = core0.step4.decr.halts AND core0.step4.halts_mux.high.not_s
core0.step4.halts_mux.high.pick1 = 0 AND core0.step4.hold.sel_lb
core0.step4.halts_mux.high.out = core0.step4.halts_mux.high.pick0 OR core0.step4.halts_mux.high.pick1
core0.step4.halts_mux.top.not_s = NOT core0.step4.hold.sel_hb
core0.step4.halts_mux.top.pick0 = core0.step4.halts_mux.low.out AND core0.step4.halts_mux.top.not_s
core0.step4.halts_mux.top.pick1 = core0.step4.halts_mux.high.out AND core0.step4.hold.sel_hb
core0.step4.halts_mux.out = core0.step4.halts_mux.top.pick0 OR core0.step4.halts_mux.top.pick1
core0.step4.halted' = core0.step3.halted' OR core0.step4.halts_mux.out
core0.step4.accepted' = core0.step3.accepted' OR core0.step4.accepts_mux.out
core0.step5.zero.hb_or_lb = core0.step4.hb' OR core0.step4.lb'
core0.step5.zero.accepts = NOT core0.step5.zero.hb_or_lb
core0.step5.decr.hb' = core0.step4.hb' AND core0.step4.lb'
core0.step5.decr.lb' = NOT core0.step4.lb'
core0.step5.decr.hb_or_lb = core0.step4.hb' OR core0.step4.lb'
core0.step5.decr.halts = NOT core0.step5.decr.hb_or_lb
core0.step5.hold.running = NOT core0.step4.halted'
core0.step5.hold.sel_hb = op5_hb AND core0.step5.hold.running
core0.step5.hold.sel_lb = op5_lb AND core0.step5.hold.running
core0.step5.hb_mux.low.not_s = NOT core0.step5.hold.sel_lb
core0.step5.hb_mux.low.pick0 = core0.step4.hb' AND core0.step5.hb_mux.low.not_s
core0.step5.hb_mux.low.pick1 = core0.step4.hb' AND core0.step5.hold.sel_lb
core0.step5.hb_mux.low.out = core0.step5.hb_mux.low.pick0 OR core0.step5.hb_mux.low.pick1
core0.step5.hb_mux.high.not_s = NOT core0.step5.hold.sel_lb
core0.step5.hb_mux.high.pick0 = core0.step5.decr.hb' AND core0.step5.hb_mux.high.not_s
core0.step5.hb_mux.high.pick1 = 0 AND core0.step5.hold.sel_lb
core0.step5.hb_mux.high.out = core0.step5.hb_mux.high.pick0 OR core0.step5.hb_mux.high.pick1
core0.step5.hb_mux.top.not_s = NOT core0.step5.hold.sel_hb
core0.step5.hb_mux.top.pick0 = core0.step5.hb_mux.low.out AND core0.step5.hb_mux.top.not_s
core0.step5.hb_mux.top.pick1 = core0.step5.hb_mux.high.out AND core0.step5.hold.sel_hb
core0.step5.hb' = core0.step5.hb_mux.top.pick0 OR core0.step5.hb_mux.top.pick1
core0.step5.lb_mux.low.not_s = NOT core0.step5.hold.sel_lb
core0.step5.lb_mux.low.pick0 = core0.step4.lb' AND core0.step5.lb_mux.low.not_s
core0.step5.lb_mux.low.pick1 = core0.step4.lb' AND core0.step5.hold.sel_lb
core0.step5.lb_mux.low.out = core0.step5.lb_mux.low.pick0 OR core0.step5.lb_mux.low.pick1
core0.step5.lb_mux.high.not_s = NOT core0.step5.hold.sel_lb
core0.step5.lb_mux.high.pick0 = core0.step5.decr.lb' AND core0.step5.lb_mux.high.not_s
core0.step5.lb_mux.high.pick1 = core0.step4.lb' AND core0.step5.hold.sel_lb
core0.step5.lb_mux.high.out = core0.step5.lb_mux.high.pick0 OR core0.step5.lb_mux.high.pick1
core0.step5.lb_mux.top.not_s = NOT core0.step5.hold.sel_hb
core0.step5.lb_mux.top.pick0 = core0.step5.lb_mux.low.out AND core0.step5.lb_mux.top.not_s
core0.step5.lb_mux.top.pick1 = core0.step5.lb_mux.high.out AND core0.step5.hold.sel_hb
core0.step5.lb' = core0.step5.lb_mux.top.pick0 OR core0.step5.lb_mux.top.pick1
core0.step5.accepts_mux.low.not_s = NOT core0.step5.hold.sel_lb
core0.step5.accepts_mux.low.pick0 = 0 AND core0.step5.accepts_mux.low.not_s
core0.step5.accepts_mux.low.pick1 = core0.step5.zero.accepts AND core0.step5.hold.sel_lb
core0.step5.accepts_mux.low.out = core0.step5.accepts_mux.low.pick0 OR core0.step5.accepts_mux.low.pick1
core0.step5.accepts_mux.high.not_s = NOT core0.step5.hold.sel_lb
core0.step5.accepts_mux.high.pick0 = 0 AND core0.step5.accepts_mux.high.not_s
core0.step5.accepts_mux.high.pick1 = 0 AND core0.step5.hold.sel_lb
core0.step5.accepts_mux.high.out = core0.step5.accepts_mux.high.pick0 OR core0.step5.accepts_mux.high.pick1
core0.step5.accepts_mux.top.not_s = NOT core0.step5.hold.sel_hb
core0.step5.accepts_mux.top.pick0 = core0.step5.accepts_mux.low.out AND core0.step5.accepts_mux.top.not_s
core0.step5.accepts_mux.top.pick1 = core0.step5.accepts_mux.high.out AND core0.step5.hold.sel_hb
core0.step5.accepts_mux.out = core0.step5.accepts_mux.top.pick0 OR core0.step5.accepts_mux.top.pick1
core0.step5.halts_mux.low.not_s = NOT core0.step5.hold.sel_lb
core0.step5.halts_mux.low.pick0 = 0 AND core0.step5.halts_mux.low.not_s
core0.step5.halts_mux.low.pick1 = 0 AND core0.step5.hold.sel_lb
core0.step5.halts_mux.low.out = core0.step5.halts_mux.low.pick0 OR core0.step5.halts_mux.low.pick1
core0.step5.halts_mux.high.not_s = NOT core0.step5.hold.sel_lb
core0.step5.halts_mux.high.pick0 = core0.step5.decr.halts AND core0.step5.halts_mux.high.not_s
core0.step5.halts_mux.high.pick1 = 0 AND core0.step5.hold.sel_lb
core0.step5.halts_mux.high.out = core0.step5.halts_mux.high.pick0 OR core0.step5.halts_mux.high.pick1
core0.step5.halts_mux.top.not_s = NOT core0.step5.hold.sel_hb
core0.step5.halts_mux.top.pick0 = core0.step5.halts_mux.low.out AND core0.step5.halts_mux.top.not_s
core0.step5.halts_mux.top.pick1 = core0.step5.halts_mux.high.out AND core0.step5.hold.sel_hb
core0.step5.halts_mux.out = core0.step5.halts_mux.top.pick0 OR core0.step5.halts_mux.top.pick1
core0.step5.halted' = core0.step4.halted' OR core0.step5.halts_mux.out
core0.step5.accepted' = core0.step4.accepted' OR core0.step5.accepts_mux.out
core0.step6.zero.hb_or_lb = core0.step5.hb' OR core0.step5.lb'
core0.step6.zero.accepts = NOT core0.step6.zero.hb_or_lb
core0.step6.decr.hb' = core0.step5.hb' AND core0.step5.lb'
core0.step6.decr.lb' = NOT core0.step5.lb'
core0.step6.decr.hb_or_lb = core0.step5.hb' OR core0.step5.lb'
core0.step6.decr.halts = NOT core0.step6.decr.hb_or_lb
core0.step6.hold.running = NOT core0.step5.halted'
core0.step6.hold.sel_hb = op6_hb AND core0.step6.hold.running
core0.step6.hold.sel_lb = op6_lb AND core0.step6.hold.running
core0.step6.hb_mux.low.not_s = NOT core0.step6.hold.sel_lb
core0.step6.hb_mux.low.pick0 = core0.step5.hb' AND core0.step6.hb_mux.low.not_s
core0.step6.hb_mux.low.pick1 = core0.step5.hb' AND core0.step6.hold.sel_lb
core0.step6.hb_mux.low.out = core0.step6.hb_mux.low.pick0 OR core0.step6.hb_mux.low.pick1
core0.step6.hb_mux.high.not_s = NOT core0.step6.hold.sel_lb
core0.step6.hb_mux.high.pick0 = core0.step6.decr.hb' AND core0.step6.hb_mux.high.not_s
core0.step6.hb_mux.high.pick1 = 0 AND core0.step6.hold.sel_lb
core0.step6.hb_mux.high.out = core0.step6.hb_mux.high.pick0 OR core0.step6.hb_mux.high.pick1
core0.step6.hb_mux.top.not_s = NOT core0.step6.hold.sel_hb
core0.step6.hb_mux.top.pick0 = core0.step6.hb_mux.low.out AND core0.step6.hb_mux.top.not_s
core0.step6.hb_mux.top.pick1 = core0.step6.hb_mux.high.out AND core0.step6.hold.sel_hb
core0.step6.hb' = core0.step6.hb_mux.top.pick0 OR core0.step6.hb_mux.top.pick1
core0.step6.lb_mux.low.not_s = NOT core0.step6.hold.sel_lb
core0.step6.lb_mux.low.pick0 = core0.step5.lb' AND core0.step6.lb_mux.low.not_s
core0.step6.lb_mux.low.pick1 = core0.step5.lb' AND core0.step6.hold.sel_lb
core0.step6.lb_mux.low.out = core0.step6.lb_mux.low.pick0 OR core0.step6.lb_mux.low.pick1
core0.step6.lb_mux.high.not_s = NOT core0.step6.hold.sel_lb
core0.step6.lb_mux.high.pick0 = core0.step6.decr.lb' AND core0.step6.lb_mux.high.not_s
core0.step6.lb_mux.high.pick1 = core0.step5.lb' AND core0.step6.hold.sel_lb
core0.step6.lb_mux.high.out = core0.step6.lb_mux.high.pick0 OR core0.step6.lb_mux.high.pick1
core0.step6.lb_mux.top.not_s = NOT core0.step6.hold.sel_hb
core0.step6.lb_mux.top.pick0 = core0.step6.lb_mux.low.out AND core0.step6.lb_mux.top.not_s
core0.step6.lb_mux.top.pick1 = core0.step6.lb_mux.high.out AND core0.step6.hold.sel_hb
core0.step6.lb' = core0.step6.lb_mux.top.pick0 OR core0.step6.lb_mux.top.pick1
core0.step6.accepts_mux.low.not_s = NOT core0.step6.hold.sel_lb
core0.step6.accepts_mux.low.pick0 = 0 AND core0.step6.accepts_mux.low.not_s
core0.step6.accepts_mux.low.pick1 = core0.step6.zero.accepts AND core0.step6.hold.sel_lb
core0.step6.accepts_mux.low.out = core0.step6.accepts_mux.low.pick0 OR core0.step6.accepts_mux.low.pick1
core0.step6.accepts_mux.high.not_s = NOT core0.step6.hold.sel_lb
core0.step6.accepts_mux.high.pick0 = 0 AND core0.step6.accepts_mux.high.not_s
core0.step6.accepts_mux.high.pick1 = 0 AND core0.step6.hold.sel_lb
core0.step6.accepts_mux.high.out = core0.step6.accepts_mux.high.pick0 OR core0.step6.accepts_mux.high.pick1
core0.step6.accepts_mux.top.not_s = NOT core0.step6.hold.sel_hb
core0.step6.accepts_mux.top.pick0 = core0.step6.accepts_mux.low.out AND core0.step6.accepts_mux.top.not_s
core0.step6.accepts_mux.top.pick1 = core0.step6.accepts_mux.high.out AND core0.step6.hold.sel_hb
core0.step6.accepts_mux.out = core0.step6.accepts_mux.top.pick0 OR core0.step6.accepts_mux.top.pick1
core0.step6.halts_mux.low.not_s = NOT core0.step6.hold.sel_lb
core0.step6.halts_mux.low.pick0 = 0 AND core0.step6.halts_mux.low.not_s
core0.step6.halts_mux.low.pick1 = 0 AND core0.step6.hold.sel_lb
core0.step6.halts_mux.low.out = core0.step6.halts_mux.low.pick0 OR core0.step6.halts_mux.low.pick1
core0.step6.halts_mux.high.not_s = NOT core0.step6.hold.sel_lb
core0.step6.halts_mux.high.pick0 = core0.step6.decr.halts AND core0.step6.halts_mux.high.not_s
core0.step6.halts_mux.high.pick1 = 0 AND core0.step6.hold.sel_lb
core0.step6.halts_mux.high.out = core0.step6.halts_mux.high.pick0 OR core0.step6.halts_mux.high.pick1
core0.step6.halts_mux.top.not_s = NOT core0.step6.hold.sel_hb
core0.step6.halts_mux.top.pick0 = core0.step6.halts_mux.low.out AND core0.step6.halts_mux.top.not_s
core0.step6.halts_mux.top.pick1 = core0.step6.halts_mux.high.out AND core0.step6.hold.sel_hb
core0.step6.halts_mux.out = core0.step6.halts_mux.top.pick0 OR core0.step6.halts_mux.top.pick1
core0.step6.halted' = core0.step5.halted' OR core0.step6.halts_mux.out
core0.step6.accepted' = core0.step5.accepted' OR core0.step6.accepts_mux.out
same0.both1 = core0.step6.accepted' AND want0
same0.not_accepted = NOT core0.step6.accepted'
same0.not_want = NOT want0
same0.both0 = same0.not_accepted AND same0.not_want
same0.same = same0.both1 OR same0.both0
core1.in_hb = 0
core1.in_lb = 1
core1.step1.zero.hb_or_lb = core1.in_hb OR core1.in_lb
core1.step1.zero.accepts = NOT core1.step1.zero.hb_or_lb
core1.step1.decr.hb' = core1.in_hb AND core1.in_lb
core1.step1.decr.lb' = NOT core1.in_lb
core1.step1.decr.hb_or_lb = core1.in_hb OR core1.in_lb
core1.step1.decr.halts = NOT core1.step1.decr.hb_or_lb
core1.step1.hold.running = NOT 0
core1.step1.hold.sel_hb = op1_hb AND core1.step1.hold.running
core1.step1.hold.sel_lb = op1_lb AND core1.step1.hold.running
core1.step1.hb_mux.low.not_s = NOT core1.step1.hold.sel_lb
core1.step1.hb_mux.low.pick0 = core1.in_hb AND core1.step1.hb_mux.low.not_s
core1.step1.hb_mux.low.pick1 = core1.in_hb AND core1.step1.hold.sel_lb
core1.step1.hb_mux.low.out = core1.step1.hb_mux.low.pick0 OR core1.step1.hb_mux.low.pick1
core1.step1.hb_mux.high.not_s = NOT core1.step1.hold.sel_lb
core1.step1.hb_mux.high.pick0 = core1.step1.decr.hb' AND core1.step1.hb_mux.high.not_s
core1.step1.hb_mux.high.pick1 = 0 AND core1.step1.hold.sel_lb
core1.step1.hb_mux.high.out = core1.step1.hb_mux.high.pick0 OR core1.step1.hb_mux.high.pick1
core1.step1.hb_mux.top.not_s = NOT core1.step1.hold.sel_hb
core1.step1.hb_mux.top.pick0 = core1.step1.hb_mux.low.out AND core1.step1.hb_mux.top.not_s
core1.step1.hb_mux.top.pick1 = core1.step1.hb_mux.high.out AND core1.step1.hold.sel_hb
core1.step1.hb' = core1.step1.hb_mux.top.pick0 OR core1.step1.hb_mux.top.pick1
core1.step1.lb_mux.low.not_s = NOT core1.step1.hold.sel_lb
core1.step1.lb_mux.low.pick0 = core1.in_lb AND core1.step1.lb_mux.low.not_s
core1.step1.lb_mux.low.pick1 = core1.in_lb AND core1.step1.hold.sel_lb
core1.step1.lb_mux.low.out = core1.step1.lb_mux.low.pick0 OR core1.step1.lb_mux.low.pick1
core1.step1.lb_mux.high.not_s = NOT core1.step1.hold.sel_lb
core1.step1.lb_mux.high.pick0 = core1.step1.decr.lb' AND core1.step1.lb_mux.high.not_s
core1.step1.lb_mux.high.pick1 = core1.in_lb AND core1.step1.hold.sel_lb
core1.step1.lb_mux.high.out = core1.step1.lb_mux.high.pick0 OR core1.step1.lb_mux.high.pick1
core1.step1.lb_mux.top.not_s = NOT core1.step1.hold.sel_hb
core1.step1.lb_mux.top.pick0 = core1.step1.lb_mux.low.out AND core1.step1.lb_mux.top.not_s
core1.step1.lb_mux.top.pick1 = core1.step1.lb_mux.high.out AND core1.step1.hold.sel_hb
core1.step1.lb' = core1.step1.lb_mux.top.pick0 OR core1.step1.lb_mux.top.pick1
core1.step1.accepts_mux.low.not_s = NOT core1.step1.hold.sel_lb
core1.step1.accepts_mux.low.pick0 = 0 AND core1.step1.accepts_mux.low.not_s
core1.step1.accepts_mux.low.pick1 = core1.step1.zero.accepts AND core1.step1.hold.sel_lb
core1.step1.accepts_mux.low.out = core1.step1.accepts_mux.low.pick0 OR core1.step1.accepts_mux.low.pick1
core1.step1.accepts_mux.high.not_s = NOT core1.step1.hold.sel_lb
core1.step1.accepts_mux.high.pick0 = 0 AND core1.step1.accepts_mux.high.not_s
core1.step1.accepts_mux.high.pick1 = 0 AND core1.step1.hold.sel_lb
core1.step1.accepts_mux.high.out = core1.step1.accepts_mux.high.pick0 OR core1.step1.accepts_mux.high.pick1
core1.step1.accepts_mux.top.not_s = NOT core1.step1.hold.sel_hb
core1.step1.accepts_mux.top.pick0 = core1.step1.accepts_mux.low.out AND core1.step1.accepts_mux.top.not_s
core1.step1.accepts_mux.top.pick1 = core1.step1.accepts_mux.high.out AND core1.step1.hold.sel_hb
core1.step1.accepts_mux.out = core1.step1.accepts_mux.top.pick0 OR core1.step1.accepts_mux.top.pick1
core1.step1.halts_mux.low.not_s = NOT core1.step1.hold.sel_lb
core1.step1.halts_mux.low.pick0 = 0 AND core1.step1.halts_mux.low.not_s
core1.step1.halts_mux.low.pick1 = 0 AND core1.step1.hold.sel_lb
core1.step1.halts_mux.low.out = core1.step1.halts_mux.low.pick0 OR core1.step1.halts_mux.low.pick1
core1.step1.halts_mux.high.not_s = NOT core1.step1.hold.sel_lb
core1.step1.halts_mux.high.pick0 = core1.step1.decr.halts AND core1.step1.halts_mux.high.not_s
core1.step1.halts_mux.high.pick1 = 0 AND core1.step1.hold.sel_lb
core1.step1.halts_mux.high.out = core1.step1.halts_mux.high.pick0 OR core1.step1.halts_mux.high.pick1
core1.step1.halts_mux.top.not_s = NOT core1.step1.hold.sel_hb
core1.step1.halts_mux.top.pick0 = core1.step1.halts_mux.low.out AND core1.step1.halts_mux.top.not_s
core1.step1.halts_mux.top.pick1 = core1.step1.halts_mux.high.out AND core1.step1.hold.sel_hb
core1.step1.halts_mux.out = core1.step1.halts_mux.top.pick0 OR core1.step1.halts_mux.top.pick1
core1.step1.halted' = 0 OR core1.step1.halts_mux.out
core1.step1.accepted' = 0 OR core1.step1.accepts_mux.out
core1.step2.zero.hb_or_lb = core1.step1.hb' OR core1.step1.lb'
core1.step2.zero.accepts = NOT core1.step2.zero.hb_or_lb
core1.step2.decr.hb' = core1.step1.hb' AND core1.step1.lb'
core1.step2.decr.lb' = NOT core1.step1.lb'
core1.step2.decr.hb_or_lb = core1.step1.hb' OR core1.step1.lb'
core1.step2.decr.halts = NOT core1.step2.decr.hb_or_lb
core1.step2.hold.running = NOT core1.step1.halted'
core1.step2.hold.sel_hb = op2_hb AND core1.step2.hold.running
core1.step2.hold.sel_lb = op2_lb AND core1.step2.hold.running
core1.step2.hb_mux.low.not_s = NOT core1.step2.hold.sel_lb
core1.step2.hb_mux.low.pick0 = core1.step1.hb' AND core1.step2.hb_mux.low.not_s
core1.step2.hb_mux.low.pick1 = core1.step1.hb' AND core1.step2.hold.sel_lb
core1.step2.hb_mux.low.out = core1.step2.hb_mux.low.pick0 OR core1.step2.hb_mux.low.pick1
core1.step2.hb_mux.high.not_s = NOT core1.step2.hold.sel_lb
core1.step2.hb_mux.high.pick0 = core1.step2.decr.hb' AND core1.step2.hb_mux.high.not_s
core1.step2.hb_mux.high.pick1 = 0 AND core1.step2.hold.sel_lb
core1.step2.hb_mux.high.out = core1.step2.hb_mux.high.pick0 OR core1.step2.hb_mux.high.pick1
core1.step2.hb_mux.top.not_s = NOT core1.step2.hold.sel_hb
core1.step2.hb_mux.top.pick0 = core1.step2.hb_mux.low.out AND core1.step2.hb_mux.top.not_s
core1.step2.hb_mux.top.pick1 = core1.step2.hb_mux.high.out AND core1.step2.hold.sel_hb
core1.step2.hb' = core1.step2.hb_mux.top.pick0 OR core1.step2.hb_mux.top.pick1
core1.step2.lb_mux.low.not_s = NOT core1.step2.hold.sel_lb
core1.step2.lb_mux.low.pick0 = core1.step1.lb' AND core1.step2.lb_mux.low.not_s
core1.step2.lb_mux.low.pick1 = core1.step1.lb' AND core1.step2.hold.sel_lb
core1.step2.lb_mux.low.out = core1.step2.lb_mux.low.pick0 OR core1.step2.lb_mux.low.pick1
core1.step2.lb_mux.high.not_s = NOT core1.step2.hold.sel_lb
core1.step2.lb_mux.high.pick0 = core1.step2.decr.lb' AND core1.step2.lb_mux.high.not_s
core1.step2.lb_mux.high.pick1 = core1.step1.lb' AND core1.step2.hold.sel_lb
core1.step2.lb_mux.high.out = core1.step2.lb_mux.high.pick0 OR core1.step2.lb_mux.high.pick1
core1.step2.lb_mux.top.not_s = NOT core1.step2.hold.sel_hb
core1.step2.lb_mux.top.pick0 = core1.step2.lb_mux.low.out AND core1.step2.lb_mux.top.not_s
core1.step2.lb_mux.top.pick1 = core1.step2.lb_mux.high.out AND core1.step2.hold.sel_hb
core1.step2.lb' = core1.step2.lb_mux.top.pick0 OR core1.step2.lb_mux.top.pick1
core1.step2.accepts_mux.low.not_s = NOT core1.step2.hold.sel_lb
core1.step2.accepts_mux.low.pick0 = 0 AND core1.step2.accepts_mux.low.not_s
core1.step2.accepts_mux.low.pick1 = core1.step2.zero.accepts AND core1.step2.hold.sel_lb
core1.step2.accepts_mux.low.out = core1.step2.accepts_mux.low.pick0 OR core1.step2.accepts_mux.low.pick1
core1.step2.accepts_mux.high.not_s = NOT core1.step2.hold.sel_lb
core1.step2.accepts_mux.high.pick0 = 0 AND core1.step2.accepts_mux.high.not_s
core1.step2.accepts_mux.high.pick1 = 0 AND core1.step2.hold.sel_lb
core1.step2.accepts_mux.high.out = core1.step2.accepts_mux.high.pick0 OR core1.step2.accepts_mux.high.pick1
core1.step2.accepts_mux.top.not_s = NOT core1.step2.hold.sel_hb
core1.step2.accepts_mux.top.pick0 = core1.step2.accepts_mux.low.out AND core1.step2.accepts_mux.top.not_s
core1.step2.accepts_mux.top.pick1 = core1.step2.accepts_mux.high.out AND core1.step2.hold.sel_hb
core1.step2.accepts_mux.out = core1.step2.accepts_mux.top.pick0 OR core1.step2.accepts_mux.top.pick1
core1.step2.halts_mux.low.not_s = NOT core1.step2.hold.sel_lb
core1.step2.halts_mux.low.pick0 = 0 AND core1.step2.halts_mux.low.not_s
core1.step2.halts_mux.low.pick1 = 0 AND core1.step2.hold.sel_lb
core1.step2.halts_mux.low.out = core1.step2.halts_mux.low.pick0 OR core1.step2.halts_mux.low.pick1
core1.step2.halts_mux.high.not_s = NOT core1.step2.hold.sel_lb
core1.step2.halts_mux.high.pick0 = core1.step2.decr.halts AND core1.step2.halts_mux.high.not_s
core1.step2.halts_mux.high.pick1 = 0 AND core1.step2.hold.sel_lb
core1.step2.halts_mux.high.out = core1.step2.halts_mux.high.pick0 OR core1.step2.halts_mux.high.pick1
core1.step2.halts_mux.top.not_s = NOT core1.step2.hold.sel_hb
core1.step2.halts_mux.top.pick0 = core1.step2.halts_mux.low.out AND core1.step2.halts_mux.top.not_s
core1.step2.halts_mux.top.pick1 = core1.step2.halts_mux.high.out AND core1.step2.hold.sel_hb
core1.step2.halts_mux.out = core1.step2.halts_mux.top.pick0 OR core1.step2.halts_mux.top.pick1
core1.step2.halted' = core1.step1.halted' OR core1.step2.halts_mux.out
core1.step2.accepted' = core1.step1.accepted' OR core1.step2.accepts_mux.out
core1.step3.zero.hb_or_lb = core1.step2.hb' OR core1.step2.lb'
core1.step3.zero.accepts = NOT core1.step3.zero.hb_or_lb
core1.step3.decr.hb' = core1.step2.hb' AND core1.step2.lb'
core1.step3.decr.lb' = NOT core1.step2.lb'
core1.step3.decr.hb_or_lb = core1.step2.hb' OR core1.step2.lb'
core1.step3.decr.halts = NOT core1.step3.decr.hb_or_lb
core1.step3.hold.running = NOT core1.step2.halted'
core1.step3.hold.sel_hb = op3_hb AND core1.step3.hold.running
core1.step3.hold.sel_lb = op3_lb AND core1.step3.hold.running
core1.step3.hb_mux.low.not_s = NOT core1.step3.hold.sel_lb
core1.step3.hb_mux.low.pick0 = core1.step2.hb' AND core1.step3.hb_mux.low.not_s
core1.step3.hb_mux.low.pick1 = core1.step2.hb' AND core1.step3.hold.sel_lb
core1.step3.hb_mux.low.out = core1.step3.hb_mux.low.pick0 OR core1.step3.hb_mux.low.pick1
core1.step3.hb_mux.high.not_s = NOT core1.step3.hold.sel_lb
core1.step3.hb_mux.high.pick0 = core1.step3.decr.hb' AND core1.step3.hb_mux.high.not_s
core1.step3.hb_mux.high.pick1 = 0 AND core1.step3.hold.sel_lb
core1.step3.hb_mux.high.out = core1.step3.hb_mux.high.pick0 OR core1.step3.hb_mux.high.pick1
core1.step3.hb_mux.top.not_s = NOT core1.step3.hold.sel_hb
core1.step3.hb_mux.top.pick0 = core1.step3.hb_mux.low.out AND core1.step3.hb_mux.top.not_s
core1.step3.hb_mux.top.pick1 = core1.step3.hb_mux.high.out AND core1.step3.hold.sel_hb
core1.step3.hb' = core1.step3.hb_mux.top.pick0 OR core1.step3.hb_mux.top.pick1
core1.step3.lb_mux.low.not_s = NOT core1.step3.hold.sel_lb
core1.step3.lb_mux.low.pick0 = core1.step2.lb' AND core1.step3.lb_mux.low.not_s
core1.step3.lb_mux.low.pick1 = core1.step2.lb' AND core1.step3.hold.sel_lb
core1.step3.lb_mux.low.out = core1.step3.lb_mux.low.pick0 OR core1.step3.lb_mux.low.pick1
core1.step3.lb_mux.high.not_s = NOT core1.step3.hold.sel_lb
core1.step3.lb_mux.high.pick0 = core1.step3.decr.lb' AND core1.step3.lb_mux.high.not_s
core1.step3.lb_mux.high.pick1 = core1.step2.lb' AND core1.step3.hold.sel_lb
core1.step3.lb_mux.high.out = core1.step3.lb_mux.high.pick0 OR core1.step3.lb_mux.high.pick1
core1.step3.lb_mux.top.not_s = NOT core1.step3.hold.sel_hb
core1.step3.lb_mux.top.pick0 = core1.step3.lb_mux.low.out AND core1.step3.lb_mux.top.not_s
core1.step3.lb_mux.top.pick1 = core1.step3.lb_mux.high.out AND core1.step3.hold.sel_hb
core1.step3.lb' = core1.step3.lb_mux.top.pick0 OR core1.step3.lb_mux.top.pick1
core1.step3.accepts_mux.low.not_s = NOT core1.step3.hold.sel_lb
core1.step3.accepts_mux.low.pick0 = 0 AND core1.step3.accepts_mux.low.not_s
core1.step3.accepts_mux.low.pick1 = core1.step3.zero.accepts AND core1.step3.hold.sel_lb
core1.step3.accepts_mux.low.out = core1.step3.accepts_mux.low.pick0 OR core1.step3.accepts_mux.low.pick1
core1.step3.accepts_mux.high.not_s = NOT core1.step3.hold.sel_lb
core1.step3.accepts_mux.high.pick0 = 0 AND core1.step3.accepts_mux.high.not_s
core1.step3.accepts_mux.high.pick1 = 0 AND core1.step3.hold.sel_lb
core1.step3.accepts_mux.high.out = core1.step3.accepts_mux.high.pick0 OR core1.step3.accepts_mux.high.pick1
core1.step3.accepts_mux.top.not_s = NOT core1.step3.hold.sel_hb
core1.step3.accepts_mux.top.pick0 = core1.step3.accepts_mux.low.out AND core1.step3.accepts_mux.top.not_s
core1.step3.accepts_mux.top.pick1 = core1.step3.accepts_mux.high.out AND core1.step3.hold.sel_hb
core1.step3.accepts_mux.out = core1.step3.accepts_mux.top.pick0 OR core1.step3.accepts_mux.top.pick1
core1.step3.halts_mux.low.not_s = NOT core1.step3.hold.sel_lb
core1.step3.halts_mux.low.pick0 = 0 AND core1.step3.halts_mux.low.not_s
core1.step3.halts_mux.low.pick1 = 0 AND core1.step3.hold.sel_lb
core1.step3.halts_mux.low.out = core1.step3.halts_mux.low.pick0 OR core1.step3.halts_mux.low.pick1
core1.step3.halts_mux.high.not_s = NOT core1.step3.hold.sel_lb
core1.step3.halts_mux.high.pick0 = core1.step3.decr.halts AND core1.step3.halts_mux.high.not_s
core1.step3.halts_mux.high.pick1 = 0 AND core1.step3.hold.sel_lb
core1.step3.halts_mux.high.out = core1.step3.halts_mux.high.pick0 OR core1.step3.halts_mux.high.pick1
core1.step3.halts_mux.top.not_s = NOT core1.step3.hold.sel_hb
core1.step3.halts_mux.top.pick0 = core1.step3.halts_mux.low.out AND core1.step3.halts_mux.top.not_s
core1.step3.halts_mux.top.pick1 = core1.step3.halts_mux.high.out AND core1.step3.hold.sel_hb
core1.step3.halts_mux.out = core1.step3.halts_mux.top.pick0 OR core1.step3.halts_mux.top.pick1
core1.step3.halted' = core1.step2.halted' OR core1.step3.halts_mux.out
core1.step3.accepted' = core1.step2.accepted' OR core1.step3.accepts_mux.out
core1.step4.zero.hb_or_lb = core1.step3.hb' OR core1.step3.lb'
core1.step4.zero.accepts = NOT core1.step4.zero.hb_or_lb
core1.step4.decr.hb' = core1.step3.hb' AND core1.step3.lb'
core1.step4.decr.lb' = NOT core1.step3.lb'
core1.step4.decr.hb_or_lb = core1.step3.hb' OR core1.step3.lb'
core1.step4.decr.halts = NOT core1.step4.decr.hb_or_lb
core1.step4.hold.running = NOT core1.step3.halted'
core1.step4.hold.sel_hb = op4_hb AND core1.step4.hold.running
core1.step4.hold.sel_lb = op4_lb AND core1.step4.hold.running
core1.step4.hb_mux.low.not_s = NOT core1.step4.hold.sel_lb
core1.step4.hb_mux.low.pick0 = core1.step3.hb' AND core1.step4.hb_mux.low.not_s
core1.step4.hb_mux.low.pick1 = core1.step3.hb' AND core1.step4.hold.sel_lb
core1.step4.hb_mux.low.out = core1.step4.hb_mux.low.pick0 OR core1.step4.hb_mux.low.pick1
core1.step4.hb_mux.high.not_s = NOT core1.step4.hold.sel_lb
core1.step4.hb_mux.high.pick0 = core1.step4.decr.hb' AND core1.step4.hb_mux.high.not_s
core1.step4.hb_mux.high.pick1 = 0 AND core1.step4.hold.sel_lb
core1.step4.hb_mux.high.out = core1.step4.hb_mux.high.pick0 OR core1.step4.hb_mux.high.pick1
core1.step4.hb_mux.top.not_s = NOT core1.step4.hold.sel_hb
core1.step4.hb_mux.top.pick0 = core1.step4.hb_mux.low.out AND core1.step4.hb_mux.top.not_s
core1.step4.hb_mux.top.pick1 = core1.step4.hb_mux.high.out AND core1.step4.hold.sel_hb
core1.step4.hb' = core1.step4.hb_mux.top.pick0 OR core1.step4.hb_mux.top.pick1
core1.step4.lb_mux.low.not_s = NOT core1.step4.hold.sel_lb
core1.step4.lb_mux.low.pick0 = core1.step3.lb' AND core1.step4.lb_mux.low.not_s
core1.step4.lb_mux.low.pick1 = core1.step3.lb' AND core1.step4.hold.sel_lb
core1.step4.lb_mux.low.out = core1.step4.lb_mux.low.pick0 OR core1.step4.lb_mux.low.pick1
core1.step4.lb_mux.high.not_s = NOT core1.step4.hold.sel_lb
core1.step4.lb_mux.high.pick0 = core1.step4.decr.lb' AND core1.step4.lb_mux.high.not_s
core1.step4.lb_mux.high.pick1 = core1.step3.lb' AND core1.step4.hold.sel_lb
core1.step4.lb_mux.high.out = core1.step4.lb_mux.high.pick0 OR core1.step4.lb_mux.high.pick1
core1.step4.lb_mux.top.not_s = NOT core1.step4.hold.sel_hb
core1.step4.lb_mux.top.pick0 = core1.step4.lb_mux.low.out AND core1.step4.lb_mux.top.not_s
core1.step4.lb_mux.top.pick1 = core1.step4.lb_mux.high.out AND core1.step4.hold.sel_hb
core1.step4.lb' = core1.step4.lb_mux.top.pick0 OR core1.step4.lb_mux.top.pick1
core1.step4.accepts_mux.low.not_s = NOT core1.step4.hold.sel_lb
core1.step4.accepts_mux.low.pick0 = 0 AND core1.step4.accepts_mux.low.not_s
core1.step4.accepts_mux.low.pick1 = core1.step4.zero.accepts AND core1.step4.hold.sel_lb
core1.step4.accepts_mux.low.out = core1.step4.accepts_mux.low.pick0 OR core1.step4.accepts_mux.low.pick1
core1.step4.accepts_mux.high.not_s = NOT core1.step4.hold.sel_lb
core1.step4.accepts_mux.high.pick0 = 0 AND core1.step4.accepts_mux.high.not_s
core1.step4.accepts_mux.high.pick1 = 0 AND core1.step4.hold.sel_lb
core1.step4.accepts_mux.high.out = core1.step4.accepts_mux.high.pick0 OR core1.step4.accepts_mux.high.pick1
core1.step4.accepts_mux.top.not_s = NOT core1.step4.hold.sel_hb
core1.step4.accepts_mux.top.pick0 = core1.step4.accepts_mux.low.out AND core1.step4.accepts_mux.top.not_s
core1.step4.accepts_mux.top.pick1 = core1.step4.accepts_mux.high.out AND core1.step4.hold.sel_hb
core1.step4.accepts_mux.out = core1.step4.accepts_mux.top.pick0 OR core1.step4.accepts_mux.top.pick1
core1.step4.halts_mux.low.not_s = NOT core1.step4.hold.sel_lb
core1.step4.halts_mux.low.pick0 = 0 AND core1.step4.halts_mux.low.not_s
core1.step4.halts_mux.low.pick1 = 0 AND core1.step4.hold.sel_lb
core1.step4.halts_mux.low.out = core1.step4.halts_mux.low.pick0 OR core1.step4.halts_mux.low.pick1
core1.step4.halts_mux.high.not_s = NOT core1.step4.hold.sel_lb
core1.step4.halts_mux.high.pick0 = core1.step4.decr.halts AND core1.step4.halts_mux.high.not_s
core1.step4.halts_mux.high.pick1 = 0 AND core1.step4.hold.sel_lb
core1.step4.halts_mux.high.out = core1.step4.halts_mux.high.pick0 OR core1.step4.halts_mux.high.pick1
core1.step4.halts_mux.top.not_s = NOT core1.step4.hold.sel_hb
core1.step4.halts_mux.top.pick0 = core1.step4.halts_mux.low.out AND core1.step4.halts_mux.top.not_s
core1.step4.halts_mux.top.pick1 = core1.step4.halts_mux.high.out AND core1.step4.hold.sel_hb
core1.step4.halts_mux.out = core1.step4.halts_mux.top.pick0 OR core1.step4.halts_mux.top.pick1
core1.step4.halted' = core1.step3.halted' OR core1.step4.halts_mux.out
core1.step4.accepted' = core1.step3.accepted' OR core1.step4.accepts_mux.out
core1.step5.zero.hb_or_lb = core1.step4.hb' OR core1.step4.lb'
core1.step5.zero.accepts = NOT core1.step5.zero.hb_or_lb
core1.step5.decr.hb' = core1.step4.hb' AND core1.step4.lb'
core1.step5.decr.lb' = NOT core1.step4.lb'
core1.step5.decr.hb_or_lb = core1.step4.hb' OR core1.step4.lb'
core1.step5.decr.halts = NOT core1.step5.decr.hb_or_lb
core1.step5.hold.running = NOT core1.step4.halted'
core1.step5.hold.sel_hb = op5_hb AND core1.step5.hold.running
core1.step5.hold.sel_lb = op5_lb AND core1.step5.hold.running
core1.step5.hb_mux.low.not_s = NOT core1.step5.hold.sel_lb
core1.step5.hb_mux.low.pick0 = core1.step4.hb' AND core1.step5.hb_mux.low.not_s
core1.step5.hb_mux.low.pick1 = core1.step4.hb' AND core1.step5.hold.sel_lb
core1.step5.hb_mux.low.out = core1.step5.hb_mux.low.pick0 OR core1.step5.hb_mux.low.pick1
core1.step5.hb_mux.high.not_s = NOT core1.step5.hold.sel_lb
core1.step5.hb_mux.high.pick0 = core1.step5.decr.hb' AND core1.step5.hb_mux.high.not_s
core1.step5.hb_mux.high.pick1 = 0 AND core1.step5.hold.sel_lb
core1.step5.hb_mux.high.out = core1.step5.hb_mux.high.pick0 OR core1.step5.hb_mux.high.pick1
core1.step5.hb_mux.top.not_s = NOT core1.step5.hold.sel_hb
core1.step5.hb_mux.top.pick0 = core1.step5.hb_mux.low.out AND core1.step5.hb_mux.top.not_s
core1.step5.hb_mux.top.pick1 = core1.step5.hb_mux.high.out AND core1.step5.hold.sel_hb
core1.step5.hb' = core1.step5.hb_mux.top.pick0 OR core1.step5.hb_mux.top.pick1
core1.step5.lb_mux.low.not_s = NOT core1.step5.hold.sel_lb
core1.step5.lb_mux.low.pick0 = core1.step4.lb' AND core1.step5.lb_mux.low.not_s
core1.step5.lb_mux.low.pick1 = core1.step4.lb' AND core1.step5.hold.sel_lb
core1.step5.lb_mux.low.out = core1.step5.lb_mux.low.pick0 OR core1.step5.lb_mux.low.pick1
core1.step5.lb_mux.high.not_s = NOT core1.step5.hold.sel_lb
core1.step5.lb_mux.high.pick0 = core1.step5.decr.lb' AND core1.step5.lb_mux.high.not_s
core1.step5.lb_mux.high.pick1 = core1.step4.lb' AND core1.step5.hold.sel_lb
core1.step5.lb_mux.high.out = core1.step5.lb_mux.high.pick0 OR core1.step5.lb_mux.high.pick1
core1.step5.lb_mux.top.not_s = NOT core1.step5.hold.sel_hb
core1.step5.lb_mux.top.pick0 = core1.step5.lb_mux.low.out AND core1.step5.lb_mux.top.not_s
core1.step5.lb_mux.top.pick1 = core1.step5.lb_mux.high.out AND core1.step5.hold.sel_hb
core1.step5.lb' = core1.step5.lb_mux.top.pick0 OR core1.step5.lb_mux.top.pick1
core1.step5.accepts_mux.low.not_s = NOT core1.step5.hold.sel_lb
core1.step5.accepts_mux.low.pick0 = 0 AND core1.step5.accepts_mux.low.not_s
core1.step5.accepts_mux.low.pick1 = core1.step5.zero.accepts AND core1.step5.hold.sel_lb
core1.step5.accepts_mux.low.out = core1.step5.accepts_mux.low.pick0 OR core1.step5.accepts_mux.low.pick1
core1.step5.accepts_mux.high.not_s = NOT core1.step5.hold.sel_lb
core1.step5.accepts_mux.high.pick0 = 0 AND core1.step5.accepts_mux.high.not_s
core1.step5.accepts_mux.high.pick1 = 0 AND core1.step5.hold.sel_lb
core1.step5.accepts_mux.high.out = core1.step5.accepts_mux.high.pick0 OR core1.step5.accepts_mux.high.pick1
core1.step5.accepts_mux.top.not_s = NOT core1.step5.hold.sel_hb
core1.step5.accepts_mux.top.pick0 = core1.step5.accepts_mux.low.out AND core1.step5.accepts_mux.top.not_s
core1.step5.accepts_mux.top.pick1 = core1.step5.accepts_mux.high.out AND core1.step5.hold.sel_hb
core1.step5.accepts_mux.out = core1.step5.accepts_mux.top.pick0 OR core1.step5.accepts_mux.top.pick1
core1.step5.halts_mux.low.not_s = NOT core1.step5.hold.sel_lb
core1.step5.halts_mux.low.pick0 = 0 AND core1.step5.halts_mux.low.not_s
core1.step5.halts_mux.low.pick1 = 0 AND core1.step5.hold.sel_lb
core1.step5.halts_mux.low.out = core1.step5.halts_mux.low.pick0 OR core1.step5.halts_mux.low.pick1
core1.step5.halts_mux.high.not_s = NOT core1.step5.hold.sel_lb
core1.step5.halts_mux.high.pick0 = core1.step5.decr.halts AND core1.step5.halts_mux.high.not_s
core1.step5.halts_mux.high.pick1 = 0 AND core1.step5.hold.sel_lb
core1.step5.halts_mux.high.out = core1.step5.halts_mux.high.pick0 OR core1.step5.halts_mux.high.pick1
core1.step5.halts_mux.top.not_s = NOT core1.step5.hold.sel_hb
core1.step5.halts_mux.top.pick0 = core1.step5.halts_mux.low.out AND core1.step5.halts_mux.top.not_s
core1.step5.halts_mux.top.pick1 = core1.step5.halts_mux.high.out AND core1.step5.hold.sel_hb
core1.step5.halts_mux.out = core1.step5.halts_mux.top.pick0 OR core1.step5.halts_mux.top.pick1
core1.step5.halted' = core1.step4.halted' OR core1.step5.halts_mux.out
core1.step5.accepted' = core1.step4.accepted' OR core1.step5.accepts_mux.out
core1.step6.zero.hb_or_lb = core1.step5.hb' OR core1.step5.lb'
core1.step6.zero.accepts = NOT core1.step6.zero.hb_or_lb
core1.step6.decr.hb' = core1.step5.hb' AND core1.step5.lb'
core1.step6.decr.lb' = NOT core1.step5.lb'
core1.step6.decr.hb_or_lb = core1.step5.hb' OR core1.step5.lb'
core1.step6.decr.halts = NOT core1.step6.decr.hb_or_lb
core1.step6.hold.running = NOT core1.step5.halted'
core1.step6.hold.sel_hb = op6_hb AND core1.step6.hold.running
core1.step6.hold.sel_lb = op6_lb AND core1.step6.hold.running
core1.step6.hb_mux.low.not_s = NOT core1.step6.hold.sel_lb
core1.step6.hb_mux.low.pick0 = core1.step5.hb' AND core1.step6.hb_mux.low.not_s
core1.step6.hb_mux.low.pick1 = core1.step5.hb' AND core1.step6.hold.sel_lb
core1.step6.hb_mux.low.out = core1.step6.hb_mux.low.pick0 OR core1.step6.hb_mux.low.pick1
core1.step6.hb_mux.high.not_s = NOT core1.step6.hold.sel_lb
core1.step6.hb_mux.high.pick0 = core1.step6.decr.hb' AND core1.step6.hb_mux.high.not_s
core1.step6.hb_mux.high.pick1 = 0 AND core1.step6.hold.sel_lb
core1.step6.hb_mux.high.out = core1.step6.hb_mux.high.pick0 OR core1.step6.hb_mux.high.pick1
core1.step6.hb_mux.top.not_s = NOT core1.step6.hold.sel_hb
core1.step6.hb_mux.top.pick0 = core1.step6.hb_mux.low.out AND core1.step6.hb_mux.top.not_s
core1.step6.hb_mux.top.pick1 = core1.step6.hb_mux.high.out AND core1.step6.hold.sel_hb
core1.step6.hb' = core1.step6.hb_mux.top.pick0 OR core1.step6.hb_mux.top.pick1
core1.step6.lb_mux.low.not_s = NOT core1.step6.hold.sel_lb
core1.step6.lb_mux.low.pick0 = core1.step5.lb' AND core1.step6.lb_mux.low.not_s
core1.step6.lb_mux.low.pick1 = core1.step5.lb' AND core1.step6.hold.sel_lb
core1.step6.lb_mux.low.out = core1.step6.lb_mux.low.pick0 OR core1.step6.lb_mux.low.pick1
core1.step6.lb_mux.high.not_s = NOT core1.step6.hold.sel_lb
core1.step6.lb_mux.high.pick0 = core1.step6.decr.lb' AND core1.step6.lb_mux.high.not_s
core1.step6.lb_mux.high.pick1 = core1.step5.lb' AND core1.step6.hold.sel_lb
core1.step6.lb_mux.high.out = core1.step6.lb_mux.high.pick0 OR core1.step6.lb_mux.high.pick1
core1.step6.lb_mux.top.not_s = NOT core1.step6.hold.sel_hb
core1.step6.lb_mux.top.pick0 = core1.step6.lb_mux.low.out AND core1.step6.lb_mux.top.not_s
core1.step6.lb_mux.top.pick1 = core1.step6.lb_mux.high.out AND core1.step6.hold.sel_hb
core1.step6.lb' = core1.step6.lb_mux.top.pick0 OR core1.step6.lb_mux.top.pick1
core1.step6.accepts_mux.low.not_s = NOT core1.step6.hold.sel_lb
core1.step6.accepts_mux.low.pick0 = 0 AND core1.step6.accepts_mux.low.not_s
core1.step6.accepts_mux.low.pick1 = core1.step6.zero.accepts AND core1.step6.hold.sel_lb
core1.step6.accepts_mux.low.out = core1.step6.accepts_mux.low.pick0 OR core1.step6.accepts_mux.low.pick1
core1.step6.accepts_mux.high.not_s = NOT core1.step6.hold.sel_lb
core1.step6.accepts_mux.high.pick0 = 0 AND core1.step6.accepts_mux.high.not_s
core1.step6.accepts_mux.high.pick1 = 0 AND core1.step6.hold.sel_lb
core1.step6.accepts_mux.high.out = core1.step6.accepts_mux.high.pick0 OR core1.step6.accepts_mux.high.pick1
core1.step6.accepts_mux.top.not_s = NOT core1.step6.hold.sel_hb
core1.step6.accepts_mux.top.pick0 = core1.step6.accepts_mux.low.out AND core1.step6.accepts_mux.top.not_s
core1.step6.accepts_mux.top.pick1 = core1.step6.accepts_mux.high.out AND core1.step6.hold.sel_hb
core1.step6.accepts_mux.out = core1.step6.accepts_mux.top.pick0 OR core1.step6.accepts_mux.top.pick1
core1.step6.halts_mux.low.not_s = NOT core1.step6.hold.sel_lb
core1.step6.halts_mux.low.pick0 = 0 AND core1.step6.halts_mux.low.not_s
core1.step6.halts_mux.low.pick1 = 0 AND core1.step6.hold.sel_lb
core1.step6.halts_mux.low.out = core1.step6.halts_mux.low.pick0 OR core1.step6.halts_mux.low.pick1
core1.step6.halts_mux.high.not_s = NOT core1.step6.hold.sel_lb
core1.step6.halts_mux.high.pick0 = core1.step6.decr.halts AND core1.step6.halts_mux.high.not_s
core1.step6.halts_mux.high.pick1 = 0 AND core1.step6.hold.sel_lb
core1.step6.halts_mux.high.out = core1.step6.halts_mux.high.pick0 OR core1.step6.halts_mux.high.pick1
core1.step6.halts_mux.top.not_s = NOT core1.step6.hold.sel_hb
core1.step6.halts_mux.top.pick0 = core1.step6.halts_mux.low.out AND core1.step6.halts_mux.top.not_s
core1.step6.halts_mux.top.pick1 = core1.step6.halts_mux.high.out AND core1.step6.hold.sel_hb
core1.step6.halts_mux.out = core1.step6.halts_mux.top.pick0 OR core1.step6.halts_mux.top.pick1
core1.step6.halted' = core1.step5.halted' OR core1.step6.halts_mux.out
core1.step6.accepted' = core1.step5.accepted' OR core1.step6.accepts_mux.out
same1.both1 = core1.step6.accepted' AND want1
same1.not_accepted = NOT core1.step6.accepted'
same1.not_want = NOT want1
same1.both0 = same1.not_accepted AND same1.not_want
same1.same = same1.both1 OR same1.both0
all.upto1 = same0.same AND same1.same
core2.in_hb = 1
core2.in_lb = 0
core2.step1.zero.hb_or_lb = core2.in_hb OR core2.in_lb
core2.step1.zero.accepts = NOT core2.step1.zero.hb_or_lb
core2.step1.decr.hb' = core2.in_hb AND core2.in_lb
core2.step1.decr.lb' = NOT core2.in_lb
core2.step1.decr.hb_or_lb = core2.in_hb OR core2.in_lb
core2.step1.decr.halts = NOT core2.step1.decr.hb_or_lb
core2.step1.hold.running = NOT 0
core2.step1.hold.sel_hb = op1_hb AND core2.step1.hold.running
core2.step1.hold.sel_lb = op1_lb AND core2.step1.hold.running
core2.step1.hb_mux.low.not_s = NOT core2.step1.hold.sel_lb
core2.step1.hb_mux.low.pick0 = core2.in_hb AND core2.step1.hb_mux.low.not_s
core2.step1.hb_mux.low.pick1 = core2.in_hb AND core2.step1.hold.sel_lb
core2.step1.hb_mux.low.out = core2.step1.hb_mux.low.pick0 OR core2.step1.hb_mux.low.pick1
core2.step1.hb_mux.high.not_s = NOT core2.step1.hold.sel_lb
core2.step1.hb_mux.high.pick0 = core2.step1.decr.hb' AND core2.step1.hb_mux.high.not_s
core2.step1.hb_mux.high.pick1 = 0 AND core2.step1.hold.sel_lb
core2.step1.hb_mux.high.out = core2.step1.hb_mux.high.pick0 OR core2.step1.hb_mux.high.pick1
core2.step1.hb_mux.top.not_s = NOT core2.step1.hold.sel_hb
core2.step1.hb_mux.top.pick0 = core2.step1.hb_mux.low.out AND core2.step1.hb_mux.top.not_s
core2.step1.hb_mux.top.pick1 = core2.step1.hb_mux.high.out AND core2.step1.hold.sel_hb
core2.step1.hb' = core2.step1.hb_mux.top.pick0 OR core2.step1.hb_mux.top.pick1
core2.step1.lb_mux.low.not_s = NOT core2.step1.hold.sel_lb
core2.step1.lb_mux.low.pick0 = core2.in_lb AND core2.step1.lb_mux.low.not_s
core2.step1.lb_mux.low.pick1 = core2.in_lb AND core2.step1.hold.sel_lb
core2.step1.lb_mux.low.out = core2.step1.lb_mux.low.pick0 OR core2.step1.lb_mux.low.pick1
core2.step1.lb_mux.high.not_s = NOT core2.step1.hold.sel_lb
core2.step1.lb_mux.high.pick0 = core2.step1.decr.lb' AND core2.step1.lb_mux.high.not_s
core2.step1.lb_mux.high.pick1 = core2.in_lb AND core2.step1.hold.sel_lb
core2.step1.lb_mux.high.out = core2.step1.lb_mux.high.pick0 OR core2.step1.lb_mux.high.pick1
core2.step1.lb_mux.top.not_s = NOT core2.step1.hold.sel_hb
core2.step1.lb_mux.top.pick0 = core2.step1.lb_mux.low.out AND core2.step1.lb_mux.top.not_s
core2.step1.lb_mux.top.pick1 = core2.step1.lb_mux.high.out AND core2.step1.hold.sel_hb
core2.step1.lb' = core2.step1.lb_mux.top.pick0 OR core2.step1.lb_mux.top.pick1
core2.step1.accepts_mux.low.not_s = NOT core2.step1.hold.sel_lb
core2.step1.accepts_mux.low.pick0 = 0 AND core2.step1.accepts_mux.low.not_s
core2.step1.accepts_mux.low.pick1 = core2.step1.zero.accepts AND core2.step1.hold.sel_lb
core2.step1.accepts_mux.low.out = core2.step1.accepts_mux.low.pick0 OR core2.step1.accepts_mux.low.pick1
core2.step1.accepts_mux.high.not_s = NOT core2.step1.hold.sel_lb
core2.step1.accepts_mux.high.pick0 = 0 AND core2.step1.accepts_mux.high.not_s
core2.step1.accepts_mux.high.pick1 = 0 AND core2.step1.hold.sel_lb
core2.step1.accepts_mux.high.out = core2.step1.accepts_mux.high.pick0 OR core2.step1.accepts_mux.high.pick1
core2.step1.accepts_mux.top.not_s = NOT core2.step1.hold.sel_hb
core2.step1.accepts_mux.top.pick0 = core2.step1.accepts_mux.low.out AND core2.step1.accepts_mux.top.not_s
core2.step1.accepts_mux.top.pick1 = core2.step1.accepts_mux.high.out AND core2.step1.hold.sel_hb
core2.step1.accepts_mux.out = core2.step1.accepts_mux.top.pick0 OR core2.step1.accepts_mux.top.pick1
core2.step1.halts_mux.low.not_s = NOT core2.step1.hold.sel_lb
core2.step1.halts_mux.low.pick0 = 0 AND core2.step1.halts_mux.low.not_s
core2.step1.halts_mux.low.pick1 = 0 AND core2.step1.hold.sel_lb
core2.step1.halts_mux.low.out = core2.step1.halts_mux.low.pick0 OR core2.step1.halts_mux.low.pick1
core2.step1.halts_mux.high.not_s = NOT core2.step1.hold.sel_lb
core2.step1.halts_mux.high.pick0 = core2.step1.decr.halts AND core2.step1.halts_mux.high.not_s
core2.step1.halts_mux.high.pick1 = 0 AND core2.step1.hold.sel_lb
core2.step1.halts_mux.high.out = core2.step1.halts_mux.high.pick0 OR core2.step1.halts_mux.high.pick1
core2.step1.halts_mux.top.not_s = NOT core2.step1.hold.sel_hb
core2.step1.halts_mux.top.pick0 = core2.step1.halts_mux.low.out AND core2.step1.halts_mux.top.not_s
core2.step1.halts_mux.top.pick1 = core2.step1.halts_mux.high.out AND core2.step1.hold.sel_hb
core2.step1.halts_mux.out = core2.step1.halts_mux.top.pick0 OR core2.step1.halts_mux.top.pick1
core2.step1.halted' = 0 OR core2.step1.halts_mux.out
core2.step1.accepted' = 0 OR core2.step1.accepts_mux.out
core2.step2.zero.hb_or_lb = core2.step1.hb' OR core2.step1.lb'
core2.step2.zero.accepts = NOT core2.step2.zero.hb_or_lb
core2.step2.decr.hb' = core2.step1.hb' AND core2.step1.lb'
core2.step2.decr.lb' = NOT core2.step1.lb'
core2.step2.decr.hb_or_lb = core2.step1.hb' OR core2.step1.lb'
core2.step2.decr.halts = NOT core2.step2.decr.hb_or_lb
core2.step2.hold.running = NOT core2.step1.halted'
core2.step2.hold.sel_hb = op2_hb AND core2.step2.hold.running
core2.step2.hold.sel_lb = op2_lb AND core2.step2.hold.running
core2.step2.hb_mux.low.not_s = NOT core2.step2.hold.sel_lb
core2.step2.hb_mux.low.pick0 = core2.step1.hb' AND core2.step2.hb_mux.low.not_s
core2.step2.hb_mux.low.pick1 = core2.step1.hb' AND core2.step2.hold.sel_lb
core2.step2.hb_mux.low.out = core2.step2.hb_mux.low.pick0 OR core2.step2.hb_mux.low.pick1
core2.step2.hb_mux.high.not_s = NOT core2.step2.hold.sel_lb
core2.step2.hb_mux.high.pick0 = core2.step2.decr.hb' AND core2.step2.hb_mux.high.not_s
core2.step2.hb_mux.high.pick1 = 0 AND core2.step2.hold.sel_lb
core2.step2.hb_mux.high.out = core2.step2.hb_mux.high.pick0 OR core2.step2.hb_mux.high.pick1
core2.step2.hb_mux.top.not_s = NOT core2.step2.hold.sel_hb
core2.step2.hb_mux.top.pick0 = core2.step2.hb_mux.low.out AND core2.step2.hb_mux.top.not_s
core2.step2.hb_mux.top.pick1 = core2.step2.hb_mux.high.out AND core2.step2.hold.sel_hb
core2.step2.hb' = core2.step2.hb_mux.top.pick0 OR core2.step2.hb_mux.top.pick1
core2.step2.lb_mux.low.not_s = NOT core2.step2.hold.sel_lb
core2.step2.lb_mux.low.pick0 = core2.step1.lb' AND core2.step2.lb_mux.low.not_s
core2.step2.lb_mux.low.pick1 = core2.step1.lb' AND core2.step2.hold.sel_lb
core2.step2.lb_mux.low.out = core2.step2.lb_mux.low.pick0 OR core2.step2.lb_mux.low.pick1
core2.step2.lb_mux.high.not_s = NOT core2.step2.hold.sel_lb
core2.step2.lb_mux.high.pick0 = core2.step2.decr.lb' AND core2.step2.lb_mux.high.not_s
core2.step2.lb_mux.high.pick1 = core2.step1.lb' AND core2.step2.hold.sel_lb
core2.step2.lb_mux.high.out = core2.step2.lb_mux.high.pick0 OR core2.step2.lb_mux.high.pick1
core2.step2.lb_mux.top.not_s = NOT core2.step2.hold.sel_hb
core2.step2.lb_mux.top.pick0 = core2.step2.lb_mux.low.out AND core2.step2.lb_mux.top.not_s
core2.step2.lb_mux.top.pick1 = core2.step2.lb_mux.high.out AND core2.step2.hold.sel_hb
core2.step2.lb' = core2.step2.lb_mux.top.pick0 OR core2.step2.lb_mux.top.pick1
core2.step2.accepts_mux.low.not_s = NOT core2.step2.hold.sel_lb
core2.step2.accepts_mux.low.pick0 = 0 AND core2.step2.accepts_mux.low.not_s
core2.step2.accepts_mux.low.pick1 = core2.step2.zero.accepts AND core2.step2.hold.sel_lb
core2.step2.accepts_mux.low.out = core2.step2.accepts_mux.low.pick0 OR core2.step2.accepts_mux.low.pick1
core2.step2.accepts_mux.high.not_s = NOT core2.step2.hold.sel_lb
core2.step2.accepts_mux.high.pick0 = 0 AND core2.step2.accepts_mux.high.not_s
core2.step2.accepts_mux.high.pick1 = 0 AND core2.step2.hold.sel_lb
core2.step2.accepts_mux.high.out = core2.step2.accepts_mux.high.pick0 OR core2.step2.accepts_mux.high.pick1
core2.step2.accepts_mux.top.not_s = NOT core2.step2.hold.sel_hb
core2.step2.accepts_mux.top.pick0 = core2.step2.accepts_mux.low.out AND core2.step2.accepts_mux.top.not_s
core2.step2.accepts_mux.top.pick1 = core2.step2.accepts_mux.high.out AND core2.step2.hold.sel_hb
core2.step2.accepts_mux.out = core2.step2.accepts_mux.top.pick0 OR core2.step2.accepts_mux.top.pick1
core2.step2.halts_mux.low.not_s = NOT core2.step2.hold.sel_lb
core2.step2.halts_mux.low.pick0 = 0 AND core2.step2.halts_mux.low.not_s
core2.step2.halts_mux.low.pick1 = 0 AND core2.step2.hold.sel_lb
core2.step2.halts_mux.low.out = core2.step2.halts_mux.low.pick0 OR core2.step2.halts_mux.low.pick1
core2.step2.halts_mux.high.not_s = NOT core2.step2.hold.sel_lb
core2.step2.halts_mux.high.pick0 = core2.step2.decr.halts AND core2.step2.halts_mux.high.not_s
core2.step2.halts_mux.high.pick1 = 0 AND core2.step2.hold.sel_lb
core2.step2.halts_mux.high.out = core2.step2.halts_mux.high.pick0 OR core2.step2.halts_mux.high.pick1
core2.step2.halts_mux.top.not_s = NOT core2.step2.hold.sel_hb
core2.step2.halts_mux.top.pick0 = core2.step2.halts_mux.low.out AND core2.step2.halts_mux.top.not_s
core2.step2.halts_mux.top.pick1 = core2.step2.halts_mux.high.out AND core2.step2.hold.sel_hb
core2.step2.halts_mux.out = core2.step2.halts_mux.top.pick0 OR core2.step2.halts_mux.top.pick1
core2.step2.halted' = core2.step1.halted' OR core2.step2.halts_mux.out
core2.step2.accepted' = core2.step1.accepted' OR core2.step2.accepts_mux.out
core2.step3.zero.hb_or_lb = core2.step2.hb' OR core2.step2.lb'
core2.step3.zero.accepts = NOT core2.step3.zero.hb_or_lb
core2.step3.decr.hb' = core2.step2.hb' AND core2.step2.lb'
core2.step3.decr.lb' = NOT core2.step2.lb'
core2.step3.decr.hb_or_lb = core2.step2.hb' OR core2.step2.lb'
core2.step3.decr.halts = NOT core2.step3.decr.hb_or_lb
core2.step3.hold.running = NOT core2.step2.halted'
core2.step3.hold.sel_hb = op3_hb AND core2.step3.hold.running
core2.step3.hold.sel_lb = op3_lb AND core2.step3.hold.running
core2.step3.hb_mux.low.not_s = NOT core2.step3.hold.sel_lb
core2.step3.hb_mux.low.pick0 = core2.step2.hb' AND core2.step3.hb_mux.low.not_s
core2.step3.hb_mux.low.pick1 = core2.step2.hb' AND core2.step3.hold.sel_lb
core2.step3.hb_mux.low.out = core2.step3.hb_mux.low.pick0 OR core2.step3.hb_mux.low.pick1
core2.step3.hb_mux.high.not_s = NOT core2.step3.hold.sel_lb
core2.step3.hb_mux.high.pick0 = core2.step3.decr.hb' AND core2.step3.hb_mux.high.not_s
core2.step3.hb_mux.high.pick1 = 0 AND core2.step3.hold.sel_lb
core2.step3.hb_mux.high.out = core2.step3.hb_mux.high.pick0 OR core2.step3.hb_mux.high.pick1
core2.step3.hb_mux.top.not_s = NOT core2.step3.hold.sel_hb
core2.step3.hb_mux.top.pick0 = core2.step3.hb_mux.low.out AND core2.step3.hb_mux.top.not_s
core2.step3.hb_mux.top.pick1 = core2.step3.hb_mux.high.out AND core2.step3.hold.sel_hb
core2.step3.hb' = core2.step3.hb_mux.top.pick0 OR core2.step3.hb_mux.top.pick1
core2.step3.lb_mux.low.not_s = NOT core2.step3.hold.sel_lb
core2.step3.lb_mux.low.pick0 = core2.step2.lb' AND core2.step3.lb_mux.low.not_s
core2.step3.lb_mux.low.pick1 = core2.step2.lb' AND core2.step3.hold.sel_lb
core2.step3.lb_mux.low.out = core2.step3.lb_mux.low.pick0 OR core2.step3.lb_mux.low.pick1
core2.step3.lb_mux.high.not_s = NOT core2.step3.hold.sel_lb
core2.step3.lb_mux.high.pick0 = core2.step3.decr.lb' AND core2.step3.lb_mux.high.not_s
core2.step3.lb_mux.high.pick1 = core2.step2.lb' AND core2.step3.hold.sel_lb
core2.step3.lb_mux.high.out = core2.step3.lb_mux.high.pick0 OR core2.step3.lb_mux.high.pick1
core2.step3.lb_mux.top.not_s = NOT core2.step3.hold.sel_hb
core2.step3.lb_mux.top.pick0 = core2.step3.lb_mux.low.out AND core2.step3.lb_mux.top.not_s
core2.step3.lb_mux.top.pick1 = core2.step3.lb_mux.high.out AND core2.step3.hold.sel_hb
core2.step3.lb' = core2.step3.lb_mux.top.pick0 OR core2.step3.lb_mux.top.pick1
core2.step3.accepts_mux.low.not_s = NOT core2.step3.hold.sel_lb
core2.step3.accepts_mux.low.pick0 = 0 AND core2.step3.accepts_mux.low.not_s
core2.step3.accepts_mux.low.pick1 = core2.step3.zero.accepts AND core2.step3.hold.sel_lb
core2.step3.accepts_mux.low.out = core2.step3.accepts_mux.low.pick0 OR core2.step3.accepts_mux.low.pick1
core2.step3.accepts_mux.high.not_s = NOT core2.step3.hold.sel_lb
core2.step3.accepts_mux.high.pick0 = 0 AND core2.step3.accepts_mux.high.not_s
core2.step3.accepts_mux.high.pick1 = 0 AND core2.step3.hold.sel_lb
core2.step3.accepts_mux.high.out = core2.step3.accepts_mux.high.pick0 OR core2.step3.accepts_mux.high.pick1
core2.step3.accepts_mux.top.not_s = NOT core2.step3.hold.sel_hb
core2.step3.accepts_mux.top.pick0 = core2.step3.accepts_mux.low.out AND core2.step3.accepts_mux.top.not_s
core2.step3.accepts_mux.top.pick1 = core2.step3.accepts_mux.high.out AND core2.step3.hold.sel_hb
core2.step3.accepts_mux.out = core2.step3.accepts_mux.top.pick0 OR core2.step3.accepts_mux.top.pick1
core2.step3.halts_mux.low.not_s = NOT core2.step3.hold.sel_lb
core2.step3.halts_mux.low.pick0 = 0 AND core2.step3.halts_mux.low.not_s
core2.step3.halts_mux.low.pick1 = 0 AND core2.step3.hold.sel_lb
core2.step3.halts_mux.low.out = core2.step3.halts_mux.low.pick0 OR core2.step3.halts_mux.low.pick1
core2.step3.halts_mux.high.not_s = NOT core2.step3.hold.sel_lb
core2.step3.halts_mux.high.pick0 = core2.step3.decr.halts AND core2.step3.halts_mux.high.not_s
core2.step3.halts_mux.high.pick1 = 0 AND core2.step3.hold.sel_lb
core2.step3.halts_mux.high.out = core2.step3.halts_mux.high.pick0 OR core2.step3.halts_mux.high.pick1
core2.step3.halts_mux.top.not_s = NOT core2.step3.hold.sel_hb
core2.step3.halts_mux.top.pick0 = core2.step3.halts_mux.low.out AND core2.step3.halts_mux.top.not_s
core2.step3.halts_mux.top.pick1 = core2.step3.halts_mux.high.out AND core2.step3.hold.sel_hb
core2.step3.halts_mux.out = core2.step3.halts_mux.top.pick0 OR core2.step3.halts_mux.top.pick1
core2.step3.halted' = core2.step2.halted' OR core2.step3.halts_mux.out
core2.step3.accepted' = core2.step2.accepted' OR core2.step3.accepts_mux.out
core2.step4.zero.hb_or_lb = core2.step3.hb' OR core2.step3.lb'
core2.step4.zero.accepts = NOT core2.step4.zero.hb_or_lb
core2.step4.decr.hb' = core2.step3.hb' AND core2.step3.lb'
core2.step4.decr.lb' = NOT core2.step3.lb'
core2.step4.decr.hb_or_lb = core2.step3.hb' OR core2.step3.lb'
core2.step4.decr.halts = NOT core2.step4.decr.hb_or_lb
core2.step4.hold.running = NOT core2.step3.halted'
core2.step4.hold.sel_hb = op4_hb AND core2.step4.hold.running
core2.step4.hold.sel_lb = op4_lb AND core2.step4.hold.running
core2.step4.hb_mux.low.not_s = NOT core2.step4.hold.sel_lb
core2.step4.hb_mux.low.pick0 = core2.step3.hb' AND core2.step4.hb_mux.low.not_s
core2.step4.hb_mux.low.pick1 = core2.step3.hb' AND core2.step4.hold.sel_lb
core2.step4.hb_mux.low.out = core2.step4.hb_mux.low.pick0 OR core2.step4.hb_mux.low.pick1
core2.step4.hb_mux.high.not_s = NOT core2.step4.hold.sel_lb
core2.step4.hb_mux.high.pick0 = core2.step4.decr.hb' AND core2.step4.hb_mux.high.not_s
core2.step4.hb_mux.high.pick1 = 0 AND core2.step4.hold.sel_lb
core2.step4.hb_mux.high.out = core2.step4.hb_mux.high.pick0 OR core2.step4.hb_mux.high.pick1
core2.step4.hb_mux.top.not_s = NOT core2.step4.hold.sel_hb
core2.step4.hb_mux.top.pick0 = core2.step4.hb_mux.low.out AND core2.step4.hb_mux.top.not_s
core2.step4.hb_mux.top.pick1 = core2.step4.hb_mux.high.out AND core2.step4.hold.sel_hb
core2.step4.hb' = core2.step4.hb_mux.top.pick0 OR core2.step4.hb_mux.top.pick1
core2.step4.lb_mux.low.not_s = NOT core2.step4.hold.sel_lb
core2.step4.lb_mux.low.pick0 = core2.step3.lb' AND core2.step4.lb_mux.low.not_s
core2.step4.lb_mux.low.pick1 = core2.step3.lb' AND core2.step4.hold.sel_lb
core2.step4.lb_mux.low.out = core2.step4.lb_mux.low.pick0 OR core2.step4.lb_mux.low.pick1
core2.step4.lb_mux.high.not_s = NOT core2.step4.hold.sel_lb
core2.step4.lb_mux.high.pick0 = core2.step4.decr.lb' AND core2.step4.lb_mux.high.not_s
core2.step4.lb_mux.high.pick1 = core2.step3.lb' AND core2.step4.hold.sel_lb
core2.step4.lb_mux.high.out = core2.step4.lb_mux.high.pick0 OR core2.step4.lb_mux.high.pick1
core2.step4.lb_mux.top.not_s = NOT core2.step4.hold.sel_hb
core2.step4.lb_mux.top.pick0 = core2.step4.lb_mux.low.out AND core2.step4.lb_mux.top.not_s
core2.step4.lb_mux.top.pick1 = core2.step4.lb_mux.high.out AND core2.step4.hold.sel_hb
core2.step4.lb' = core2.step4.lb_mux.top.pick0 OR core2.step4.lb_mux.top.pick1
core2.step4.accepts_mux.low.not_s = NOT core2.step4.hold.sel_lb
core2.step4.accepts_mux.low.pick0 = 0 AND core2.step4.accepts_mux.low.not_s
core2.step4.accepts_mux.low.pick1 = core2.step4.zero.accepts AND core2.step4.hold.sel_lb
core2.step4.accepts_mux.low.out = core2.step4.accepts_mux.low.pick0 OR core2.step4.accepts_mux.low.pick1
core2.step4.accepts_mux.high.not_s = NOT core2.step4.hold.sel_lb
core2.step4.accepts_mux.high.pick0 = 0 AND core2.step4.accepts_mux.high.not_s
core2.step4.accepts_mux.high.pick1 = 0 AND core2.step4.hold.sel_lb
core2.step4.accepts_mux.high.out = core2.step4.accepts_mux.high.pick0 OR core2.step4.accepts_mux.high.pick1
core2.step4.accepts_mux.top.not_s = NOT core2.step4.hold.sel_hb
core2.step4.accepts_mux.top.pick0 = core2.step4.accepts_mux.low.out AND core2.step4.accepts_mux.top.not_s
core2.step4.accepts_mux.top.pick1 = core2.step4.accepts_mux.high.out AND core2.step4.hold.sel_hb
core2.step4.accepts_mux.out = core2.step4.accepts_mux.top.pick0 OR core2.step4.accepts_mux.top.pick1
core2.step4.halts_mux.low.not_s = NOT core2.step4.hold.sel_lb
core2.step4.halts_mux.low.pick0 = 0 AND core2.step4.halts_mux.low.not_s
core2.step4.halts_mux.low.pick1 = 0 AND core2.step4.hold.sel_lb
core2.step4.halts_mux.low.out = core2.step4.halts_mux.low.pick0 OR core2.step4.halts_mux.low.pick1
core2.step4.halts_mux.high.not_s = NOT core2.step4.hold.sel_lb
core2.step4.halts_mux.high.pick0 = core2.step4.decr.halts AND core2.step4.halts_mux.high.not_s
core2.step4.halts_mux.high.pick1 = 0 AND core2.step4.hold.sel_lb
core2.step4.halts_mux.high.out = core2.step4.halts_mux.high.pick0 OR core2.step4.halts_mux.high.pick1
core2.step4.halts_mux.top.not_s = NOT core2.step4.hold.sel_hb
core2.step4.halts_mux.top.pick0 = core2.step4.halts_mux.low.out AND core2.step4.halts_mux.top.not_s
core2.step4.halts_mux.top.pick1 = core2.step4.halts_mux.high.out AND core2.step4.hold.sel_hb
core2.step4.halts_mux.out = core2.step4.halts_mux.top.pick0 OR core2.step4.halts_mux.top.pick1
core2.step4.halted' = core2.step3.halted' OR core2.step4.halts_mux.out
core2.step4.accepted' = core2.step3.accepted' OR core2.step4.accepts_mux.out
core2.step5.zero.hb_or_lb = core2.step4.hb' OR core2.step4.lb'
core2.step5.zero.accepts = NOT core2.step5.zero.hb_or_lb
core2.step5.decr.hb' = core2.step4.hb' AND core2.step4.lb'
core2.step5.decr.lb' = NOT core2.step4.lb'
core2.step5.decr.hb_or_lb = core2.step4.hb' OR core2.step4.lb'
core2.step5.decr.halts = NOT core2.step5.decr.hb_or_lb
core2.step5.hold.running = NOT core2.step4.halted'
core2.step5.hold.sel_hb = op5_hb AND core2.step5.hold.running
core2.step5.hold.sel_lb = op5_lb AND core2.step5.hold.running
core2.step5.hb_mux.low.not_s = NOT core2.step5.hold.sel_lb
core2.step5.hb_mux.low.pick0 = core2.step4.hb' AND core2.step5.hb_mux.low.not_s
core2.step5.hb_mux.low.pick1 = core2.step4.hb' AND core2.step5.hold.sel_lb
core2.step5.hb_mux.low.out = core2.step5.hb_mux.low.pick0 OR core2.step5.hb_mux.low.pick1
core2.step5.hb_mux.high.not_s = NOT core2.step5.hold.sel_lb
core2.step5.hb_mux.high.pick0 = core2.step5.decr.hb' AND core2.step5.hb_mux.high.not_s
core2.step5.hb_mux.high.pick1 = 0 AND core2.step5.hold.sel_lb
core2.step5.hb_mux.high.out = core2.step5.hb_mux.high.pick0 OR core2.step5.hb_mux.high.pick1
core2.step5.hb_mux.top.not_s = NOT core2.step5.hold.sel_hb
core2.step5.hb_mux.top.pick0 = core2.step5.hb_mux.low.out AND core2.step5.hb_mux.top.not_s
core2.step5.hb_mux.top.pick1 = core2.step5.hb_mux.high.out AND core2.step5.hold.sel_hb
core2.step5.hb' = core2.step5.hb_mux.top.pick0 OR core2.step5.hb_mux.top.pick1
core2.step5.lb_mux.low.not_s = NOT core2.step5.hold.sel_lb
core2.step5.lb_mux.low.pick0 = core2.step4.lb' AND core2.step5.lb_mux.low.not_s
core2.step5.lb_mux.low.pick1 = core2.step4.lb' AND core2.step5.hold.sel_lb
core2.step5.lb_mux.low.out = core2.step5.lb_mux.low.pick0 OR core2.step5.lb_mux.low.pick1
core2.step5.lb_mux.high.not_s = NOT core2.step5.hold.sel_lb
core2.step5.lb_mux.high.pick0 = core2.step5.decr.lb' AND core2.step5.lb_mux.high.not_s
core2.step5.lb_mux.high.pick1 = core2.step4.lb' AND core2.step5.hold.sel_lb
core2.step5.lb_mux.high.out = core2.step5.lb_mux.high.pick0 OR core2.step5.lb_mux.high.pick1
core2.step5.lb_mux.top.not_s = NOT core2.step5.hold.sel_hb
core2.step5.lb_mux.top.pick0 = core2.step5.lb_mux.low.out AND core2.step5.lb_mux.top.not_s
core2.step5.lb_mux.top.pick1 = core2.step5.lb_mux.high.out AND core2.step5.hold.sel_hb
core2.step5.lb' = core2.step5.lb_mux.top.pick0 OR core2.step5.lb_mux.top.pick1
core2.step5.accepts_mux.low.not_s = NOT core2.step5.hold.sel_lb
core2.step5.accepts_mux.low.pick0 = 0 AND core2.step5.accepts_mux.low.not_s
core2.step5.accepts_mux.low.pick1 = core2.step5.zero.accepts AND core2.step5.hold.sel_lb
core2.step5.accepts_mux.low.out = core2.step5.accepts_mux.low.pick0 OR core2.step5.accepts_mux.low.pick1
core2.step5.accepts_mux.high.not_s = NOT core2.step5.hold.sel_lb
core2.step5.accepts_mux.high.pick0 = 0 AND core2.step5.accepts_mux.high.not_s
core2.step5.accepts_mux.high.pick1 = 0 AND core2.step5.hold.sel_lb
core2.step5.accepts_mux.high.out = core2.step5.accepts_mux.high.pick0 OR core2.step5.accepts_mux.high.pick1
core2.step5.accepts_mux.top.not_s = NOT core2.step5.hold.sel_hb
core2.step5.accepts_mux.top.pick0 = core2.step5.accepts_mux.low.out AND core2.step5.accepts_mux.top.not_s
core2.step5.accepts_mux.top.pick1 = core2.step5.accepts_mux.high.out AND core2.step5.hold.sel_hb
core2.step5.accepts_mux.out = core2.step5.accepts_mux.top.pick0 OR core2.step5.accepts_mux.top.pick1
core2.step5.halts_mux.low.not_s = NOT core2.step5.hold.sel_lb
core2.step5.halts_mux.low.pick0 = 0 AND core2.step5.halts_mux.low.not_s
core2.step5.halts_mux.low.pick1 = 0 AND core2.step5.hold.sel_lb
core2.step5.halts_mux.low.out = core2.step5.halts_mux.low.pick0 OR core2.step5.halts_mux.low.pick1
core2.step5.halts_mux.high.not_s = NOT core2.step5.hold.sel_lb
core2.step5.halts_mux.high.pick0 = core2.step5.decr.halts AND core2.step5.halts_mux.high.not_s
core2.step5.halts_mux.high.pick1 = 0 AND core2.step5.hold.sel_lb
core2.step5.halts_mux.high.out = core2.step5.halts_mux.high.pick0 OR core2.step5.halts_mux.high.pick1
core2.step5.halts_mux.top.not_s = NOT core2.step5.hold.sel_hb
core2.step5.halts_mux.top.pick0 = core2.step5.halts_mux.low.out AND core2.step5.halts_mux.top.not_s
core2.step5.halts_mux.top.pick1 = core2.step5.halts_mux.high.out AND core2.step5.hold.sel_hb
core2.step5.halts_mux.out = core2.step5.halts_mux.top.pick0 OR core2.step5.halts_mux.top.pick1
core2.step5.halted' = core2.step4.halted' OR core2.step5.halts_mux.out
core2.step5.accepted' = core2.step4.accepted' OR core2.step5.accepts_mux.out
core2.step6.zero.hb_or_lb = core2.step5.hb' OR core2.step5.lb'
core2.step6.zero.accepts = NOT core2.step6.zero.hb_or_lb
core2.step6.decr.hb' = core2.step5.hb' AND core2.step5.lb'
core2.step6.decr.lb' = NOT core2.step5.lb'
core2.step6.decr.hb_or_lb = core2.step5.hb' OR core2.step5.lb'
core2.step6.decr.halts = NOT core2.step6.decr.hb_or_lb
core2.step6.hold.running = NOT core2.step5.halted'
core2.step6.hold.sel_hb = op6_hb AND core2.step6.hold.running
core2.step6.hold.sel_lb = op6_lb AND core2.step6.hold.running
core2.step6.hb_mux.low.not_s = NOT core2.step6.hold.sel_lb
core2.step6.hb_mux.low.pick0 = core2.step5.hb' AND core2.step6.hb_mux.low.not_s
core2.step6.hb_mux.low.pick1 = core2.step5.hb' AND core2.step6.hold.sel_lb
core2.step6.hb_mux.low.out = core2.step6.hb_mux.low.pick0 OR core2.step6.hb_mux.low.pick1
core2.step6.hb_mux.high.not_s = NOT core2.step6.hold.sel_lb
core2.step6.hb_mux.high.pick0 = core2.step6.decr.hb' AND core2.step6.hb_mux.high.not_s
core2.step6.hb_mux.high.pick1 = 0 AND core2.step6.hold.sel_lb
core2.step6.hb_mux.high.out = core2.step6.hb_mux.high.pick0 OR core2.step6.hb_mux.high.pick1
core2.step6.hb_mux.top.not_s = NOT core2.step6.hold.sel_hb
core2.step6.hb_mux.top.pick0 = core2.step6.hb_mux.low.out AND core2.step6.hb_mux.top.not_s
core2.step6.hb_mux.top.pick1 = core2.step6.hb_mux.high.out AND core2.step6.hold.sel_hb
core2.step6.hb' = core2.step6.hb_mux.top.pick0 OR core2.step6.hb_mux.top.pick1
core2.step6.lb_mux.low.not_s = NOT core2.step6.hold.sel_lb
core2.step6.lb_mux.low.pick0 = core2.step5.lb' AND core2.step6.lb_mux.low.not_s
core2.step6.lb_mux.low.pick1 = core2.step5.lb' AND core2.step6.hold.sel_lb
core2.step6.lb_mux.low.out = core2.step6.lb_mux.low.pick0 OR core2.step6.lb_mux.low.pick1
core2.step6.lb_mux.high.not_s = NOT core2.step6.hold.sel_lb
core2.step6.lb_mux.high.pick0 = core2.step6.decr.lb' AND core2.step6.lb_mux.high.not_s
core2.step6.lb_mux.high.pick1 = core2.step5.lb' AND core2.step6.hold.sel_lb
core2.step6.lb_mux.high.out = core2.step6.lb_mux.high.pick0 OR core2.step6.lb_mux.high.pick1
core2.step6.lb_mux.top.not_s = NOT core2.step6.hold.sel_hb
core2.step6.lb_mux.top.pick0 = core2.step6.lb_mux.low.out AND core2.step6.lb_mux.top.not_s
core2.step6.lb_mux.top.pick1 = core2.step6.lb_mux.high.out AND core2.step6.hold.sel_hb
core2.step6.lb' = core2.step6.lb_mux.top.pick0 OR core2.step6.lb_mux.top.pick1
core2.step6.accepts_mux.low.not_s = NOT core2.step6.hold.sel_lb
core2.step6.accepts_mux.low.pick0 = 0 AND core2.step6.accepts_mux.low.not_s
core2.step6.accepts_mux.low.pick1 = core2.step6.zero.accepts AND core2.step6.hold.sel_lb
core2.step6.accepts_mux.low.out = core2.step6.accepts_mux.low.pick0 OR core2.step6.accepts_mux.low.pick1
core2.step6.accepts_mux.high.not_s = NOT core2.step6.hold.sel_lb
core2.step6.accepts_mux.high.pick0 = 0 AND core2.step6.accepts_mux.high.not_s
core2.step6.accepts_mux.high.pick1 = 0 AND core2.step6.hold.sel_lb
core2.step6.accepts_mux.high.out = core2.step6.accepts_mux.high.pick0 OR core2.step6.accepts_mux.high.pick1
core2.step6.accepts_mux.top.not_s = NOT core2.step6.hold.sel_hb
core2.step6.accepts_mux.top.pick0 = core2.step6.accepts_mux.low.out AND core2.step6.accepts_mux.top.not_s
core2.step6.accepts_mux.top.pick1 = core2.step6.accepts_mux.high.out AND core2.step6.hold.sel_hb
core2.step6.accepts_mux.out = core2.step6.accepts_mux.top.pick0 OR core2.step6.accepts_mux.top.pick1
core2.step6.halts_mux.low.not_s = NOT core2.step6.hold.sel_lb
core2.step6.halts_mux.low.pick0 = 0 AND core2.step6.halts_mux.low.not_s
core2.step6.halts_mux.low.pick1 = 0 AND core2.step6.hold.sel_lb
core2.step6.halts_mux.low.out = core2.step6.halts_mux.low.pick0 OR core2.step6.halts_mux.low.pick1
core2.step6.halts_mux.high.not_s = NOT core2.step6.hold.sel_lb
core2.step6.halts_mux.high.pick0 = core2.step6.decr.halts AND core2.step6.halts_mux.high.not_s
core2.step6.halts_mux.high.pick1 = 0 AND core2.step6.hold.sel_lb
core2.step6.halts_mux.high.out = core2.step6.halts_mux.high.pick0 OR core2.step6.halts_mux.high.pick1
core2.step6.halts_mux.top.not_s = NOT core2.step6.hold.sel_hb
core2.step6.halts_mux.top.pick0 = core2.step6.halts_mux.low.out AND core2.step6.halts_mux.top.not_s
core2.step6.halts_mux.top.pick1 = core2.step6.halts_mux.high.out AND core2.step6.hold.sel_hb
core2.step6.halts_mux.out = core2.step6.halts_mux.top.pick0 OR core2.step6.halts_mux.top.pick1
core2.step6.halted' = core2.step5.halted' OR core2.step6.halts_mux.out
core2.step6.accepted' = core2.step5.accepted' OR core2.step6.accepts_mux.out
same2.both1 = core2.step6.accepted' AND want2
same2.not_accepted = NOT core2.step6.accepted'
same2.not_want = NOT want2
same2.both0 = same2.not_accepted AND same2.not_want
same2.same = same2.both1 OR same2.both0
all.upto2 = all.upto1 AND same2.same
core3.in_hb = 1
core3.in_lb = 1
core3.step1.zero.hb_or_lb = core3.in_hb OR core3.in_lb
core3.step1.zero.accepts = NOT core3.step1.zero.hb_or_lb
core3.step1.decr.hb' = core3.in_hb AND core3.in_lb
core3.step1.decr.lb' = NOT core3.in_lb
core3.step1.decr.hb_or_lb = core3.in_hb OR core3.in_lb
core3.step1.decr.halts = NOT core3.step1.decr.hb_or_lb
core3.step1.hold.running = NOT 0
core3.step1.hold.sel_hb = op1_hb AND core3.step1.hold.running
core3.step1.hold.sel_lb = op1_lb AND core3.step1.hold.running
core3.step1.hb_mux.low.not_s = NOT core3.step1.hold.sel_lb
core3.step1.hb_mux.low.pick0 = core3.in_hb AND core3.step1.hb_mux.low.not_s
core3.step1.hb_mux.low.pick1 = core3.in_hb AND core3.step1.hold.sel_lb
core3.step1.hb_mux.low.out = core3.step1.hb_mux.low.pick0 OR core3.step1.hb_mux.low.pick1
core3.step1.hb_mux.high.not_s = NOT core3.step1.hold.sel_lb
core3.step1.hb_mux.high.pick0 = core3.step1.decr.hb' AND core3.step1.hb_mux.high.not_s
core3.step1.hb_mux.high.pick1 = 0 AND core3.step1.hold.sel_lb
core3.step1.hb_mux.high.out = core3.step1.hb_mux.high.pick0 OR core3.step1.hb_mux.high.pick1
core3.step1.hb_mux.top.not_s = NOT core3.step1.hold.sel_hb
core3.step1.hb_mux.top.pick0 = core3.step1.hb_mux.low.out AND core3.step1.hb_mux.top.not_s
core3.step1.hb_mux.top.pick1 = core3.step1.hb_mux.high.out AND core3.step1.hold.sel_hb
core3.step1.hb' = core3.step1.hb_mux.top.pick0 OR core3.step1.hb_mux.top.pick1
core3.step1.lb_mux.low.not_s = NOT core3.step1.hold.sel_lb
core3.step1.lb_mux.low.pick0 = core3.in_lb AND core3.step1.lb_mux.low.not_s
core3.step1.lb_mux.low.pick1 = core3.in_lb AND core3.step1.hold.sel_lb
core3.step1.lb_mux.low.out = core3.step1.lb_mux.low.pick0 OR core3.step1.lb_mux.low.pick1
core3.step1.lb_mux.high.not_s = NOT core3.step1.hold.sel_lb
core3.step1.lb_mux.high.pick0 = core3.step1.decr.lb' AND core3.step1.lb_mux.high.not_s
core3.step1.lb_mux.high.pick1 = core3.in_lb AND core3.step1.hold.sel_lb
core3.step1.lb_mux.high.out = core3.step1.lb_mux.high.pick0 OR core3.step1.lb_mux.high.pick1
core3.step1.lb_mux.top.not_s = NOT core3.step1.hold.sel_hb
core3.step1.lb_mux.top.pick0 = core3.step1.lb_mux.low.out AND core3.step1.lb_mux.top.not_s
core3.step1.lb_mux.top.pick1 = core3.step1.lb_mux.high.out AND core3.step1.hold.sel_hb
core3.step1.lb' = core3.step1.lb_mux.top.pick0 OR core3.step1.lb_mux.top.pick1
core3.step1.accepts_mux.low.not_s = NOT core3.step1.hold.sel_lb
core3.step1.accepts_mux.low.pick0 = 0 AND core3.step1.accepts_mux.low.not_s
core3.step1.accepts_mux.low.pick1 = core3.step1.zero.accepts AND core3.step1.hold.sel_lb
core3.step1.accepts_mux.low.out = core3.step1.accepts_mux.low.pick0 OR core3.step1.accepts_mux.low.pick1
core3.step1.accepts_mux.high.not_s = NOT core3.step1.hold.sel_lb
core3.step1.accepts_mux.high.pick0 = 0 AND core3.step1.accepts_mux.high.not_s
core3.step1.accepts_mux.high.pick1 = 0 AND core3.step1.hold.sel_lb
core3.step1.accepts_mux.high.out = core3.step1.accepts_mux.high.pick0 OR core3.step1.accepts_mux.high.pick1
core3.step1.accepts_mux.top.not_s = NOT core3.step1.hold.sel_hb
core3.step1.accepts_mux.top.pick0 = core3.step1.accepts_mux.low.out AND core3.step1.accepts_mux.top.not_s
core3.step1.accepts_mux.top.pick1 = core3.step1.accepts_mux.high.out AND core3.step1.hold.sel_hb
core3.step1.accepts_mux.out = core3.step1.accepts_mux.top.pick0 OR core3.step1.accepts_mux.top.pick1
core3.step1.halts_mux.low.not_s = NOT core3.step1.hold.sel_lb
core3.step1.halts_mux.low.pick0 = 0 AND core3.step1.halts_mux.low.not_s
core3.step1.halts_mux.low.pick1 = 0 AND core3.step1.hold.sel_lb
core3.step1.halts_mux.low.out = core3.step1.halts_mux.low.pick0 OR core3.step1.halts_mux.low.pick1
core3.step1.halts_mux.high.not_s = NOT core3.step1.hold.sel_lb
core3.step1.halts_mux.high.pick0 = core3.step1.decr.halts AND core3.step1.halts_mux.high.not_s
core3.step1.halts_mux.high.pick1 = 0 AND core3.step1.hold.sel_lb
core3.step1.halts_mux.high.out = core3.step1.halts_mux.high.pick0 OR core3.step1.halts_mux.high.pick1
core3.step1.halts_mux.top.not_s = NOT core3.step1.hold.sel_hb
core3.step1.halts_mux.top.pick0 = core3.step1.halts_mux.low.out AND core3.step1.halts_mux.top.not_s
core3.step1.halts_mux.top.pick1 = core3.step1.halts_mux.high.out AND core3.step1.hold.sel_hb
core3.step1.halts_mux.out = core3.step1.halts_mux.top.pick0 OR core3.step1.halts_mux.top.pick1
core3.step1.halted' = 0 OR core3.step1.halts_mux.out
core3.step1.accepted' = 0 OR core3.step1.accepts_mux.out
core3.step2.zero.hb_or_lb = core3.step1.hb' OR core3.step1.lb'
core3.step2.zero.accepts = NOT core3.step2.zero.hb_or_lb
core3.step2.decr.hb' = core3.step1.hb' AND core3.step1.lb'
core3.step2.decr.lb' = NOT core3.step1.lb'
core3.step2.decr.hb_or_lb = core3.step1.hb' OR core3.step1.lb'
core3.step2.decr.halts = NOT core3.step2.decr.hb_or_lb
core3.step2.hold.running = NOT core3.step1.halted'
core3.step2.hold.sel_hb = op2_hb AND core3.step2.hold.running
core3.step2.hold.sel_lb = op2_lb AND core3.step2.hold.running
core3.step2.hb_mux.low.not_s = NOT core3.step2.hold.sel_lb
core3.step2.hb_mux.low.pick0 = core3.step1.hb' AND core3.step2.hb_mux.low.not_s
core3.step2.hb_mux.low.pick1 = core3.step1.hb' AND core3.step2.hold.sel_lb
core3.step2.hb_mux.low.out = core3.step2.hb_mux.low.pick0 OR core3.step2.hb_mux.low.pick1
core3.step2.hb_mux.high.not_s = NOT core3.step2.hold.sel_lb
core3.step2.hb_mux.high.pick0 = core3.step2.decr.hb' AND core3.step2.hb_mux.high.not_s
core3.step2.hb_mux.high.pick1 = 0 AND core3.step2.hold.sel_lb
core3.step2.hb_mux.high.out = core3.step2.hb_mux.high.pick0 OR core3.step2.hb_mux.high.pick1
core3.step2.hb_mux.top.not_s = NOT core3.step2.hold.sel_hb
core3.step2.hb_mux.top.pick0 = core3.step2.hb_mux.low.out AND core3.step2.hb_mux.top.not_s
core3.step2.hb_mux.top.pick1 = core3.step2.hb_mux.high.out AND core3.step2.hold.sel_hb
core3.step2.hb' = core3.step2.hb_mux.top.pick0 OR core3.step2.hb_mux.top.pick1
core3.step2.lb_mux.low.not_s = NOT core3.step2.hold.sel_lb
core3.step2.lb_mux.low.pick0 = core3.step1.lb' AND core3.step2.lb_mux.low.not_s
core3.step2.lb_mux.low.pick1 = core3.step1.lb' AND core3.step2.hold.sel_lb
core3.step2.lb_mux.low.out = core3.step2.lb_mux.low.pick0 OR core3.step2.lb_mux.low.pick1
core3.step2.lb_mux.high.not_s = NOT core3.step2.hold.sel_lb
core3.step2.lb_mux.high.pick0 = core3.step2.decr.lb' AND core3.step2.lb_mux.high.not_s
core3.step2.lb_mux.high.pick1 = core3.step1.lb' AND core3.step2.hold.sel_lb
core3.step2.lb_mux.high.out = core3.step2.lb_mux.high.pick0 OR core3.step2.lb_mux.high.pick1
core3.step2.lb_mux.top.not_s = NOT core3.step2.hold.sel_hb
core3.step2.lb_mux.top.pick0 = core3.step2.lb_mux.low.out AND core3.step2.lb_mux.top.not_s
core3.step2.lb_mux.top.pick1 = core3.step2.lb_mux.high.out AND core3.step2.hold.sel_hb
core3.step2.lb' = core3.step2.lb_mux.top.pick0 OR core3.step2.lb_mux.top.pick1
core3.step2.accepts_mux.low.not_s = NOT core3.step2.hold.sel_lb
core3.step2.accepts_mux.low.pick0 = 0 AND core3.step2.accepts_mux.low.not_s
core3.step2.accepts_mux.low.pick1 = core3.step2.zero.accepts AND core3.step2.hold.sel_lb
core3.step2.accepts_mux.low.out = core3.step2.accepts_mux.low.pick0 OR core3.step2.accepts_mux.low.pick1
core3.step2.accepts_mux.high.not_s = NOT core3.step2.hold.sel_lb
core3.step2.accepts_mux.high.pick0 = 0 AND core3.step2.accepts_mux.high.not_s
core3.step2.accepts_mux.high.pick1 = 0 AND core3.step2.hold.sel_lb
core3.step2.accepts_mux.high.out = core3.step2.accepts_mux.high.pick0 OR core3.step2.accepts_mux.high.pick1
core3.step2.accepts_mux.top.not_s = NOT core3.step2.hold.sel_hb
core3.step2.accepts_mux.top.pick0 = core3.step2.accepts_mux.low.out AND core3.step2.accepts_mux.top.not_s
core3.step2.accepts_mux.top.pick1 = core3.step2.accepts_mux.high.out AND core3.step2.hold.sel_hb
core3.step2.accepts_mux.out = core3.step2.accepts_mux.top.pick0 OR core3.step2.accepts_mux.top.pick1
core3.step2.halts_mux.low.not_s = NOT core3.step2.hold.sel_lb
core3.step2.halts_mux.low.pick0 = 0 AND core3.step2.halts_mux.low.not_s
core3.step2.halts_mux.low.pick1 = 0 AND core3.step2.hold.sel_lb
core3.step2.halts_mux.low.out = core3.step2.halts_mux.low.pick0 OR core3.step2.halts_mux.low.pick1
core3.step2.halts_mux.high.not_s = NOT core3.step2.hold.sel_lb
core3.step2.halts_mux.high.pick0 = core3.step2.decr.halts AND core3.step2.halts_mux.high.not_s
core3.step2.halts_mux.high.pick1 = 0 AND core3.step2.hold.sel_lb
core3.step2.halts_mux.high.out = core3.step2.halts_mux.high.pick0 OR core3.step2.halts_mux.high.pick1
core3.step2.halts_mux.top.not_s = NOT core3.step2.hold.sel_hb
core3.step2.halts_mux.top.pick0 = core3.step2.halts_mux.low.out AND core3.step2.halts_mux.top.not_s
core3.step2.halts_mux.top.pick1 = core3.step2.halts_mux.high.out AND core3.step2.hold.sel_hb
core3.step2.halts_mux.out = core3.step2.halts_mux.top.pick0 OR core3.step2.halts_mux.top.pick1
core3.step2.halted' = core3.step1.halted' OR core3.step2.halts_mux.out
core3.step2.accepted' = core3.step1.accepted' OR core3.step2.accepts_mux.out
core3.step3.zero.hb_or_lb = core3.step2.hb' OR core3.step2.lb'
core3.step3.zero.accepts = NOT core3.step3.zero.hb_or_lb
core3.step3.decr.hb' = core3.step2.hb' AND core3.step2.lb'
core3.step3.decr.lb' = NOT core3.step2.lb'
core3.step3.decr.hb_or_lb = core3.step2.hb' OR core3.step2.lb'
core3.step3.decr.halts = NOT core3.step3.decr.hb_or_lb
core3.step3.hold.running = NOT core3.step2.halted'
core3.step3.hold.sel_hb = op3_hb AND core3.step3.hold.running
core3.step3.hold.sel_lb = op3_lb AND core3.step3.hold.running
core3.step3.hb_mux.low.not_s = NOT core3.step3.hold.sel_lb
core3.step3.hb_mux.low.pick0 = core3.step2.hb' AND core3.step3.hb_mux.low.not_s
core3.step3.hb_mux.low.pick1 = core3.step2.hb' AND core3.step3.hold.sel_lb
core3.step3.hb_mux.low.out = core3.step3.hb_mux.low.pick0 OR core3.step3.hb_mux.low.pick1
core3.step3.hb_mux.high.not_s = NOT core3.step3.hold.sel_lb
core3.step3.hb_mux.high.pick0 = core3.step3.decr.hb' AND core3.step3.hb_mux.high.not_s
core3.step3.hb_mux.high.pick1 = 0 AND core3.step3.hold.sel_lb
core3.step3.hb_mux.high.out = core3.step3.hb_mux.high.pick0 OR core3.step3.hb_mux.high.pick1
core3.step3.hb_mux.top.not_s = NOT core3.step3.hold.sel_hb
core3.step3.hb_mux.top.pick0 = core3.step3.hb_mux.low.out AND core3.step3.hb_mux.top.not_s
core3.step3.hb_mux.top.pick1 = core3.step3.hb_mux.high.out AND core3.step3.hold.sel_hb
core3.step3.hb' = core3.step3.hb_mux.top.pick0 OR core3.step3.hb_mux.top.pick1
core3.step3.lb_mux.low.not_s = NOT core3.step3.hold.sel_lb
core3.step3.lb_mux.low.pick0 = core3.step2.lb' AND core3.step3.lb_mux.low.not_s
core3.step3.lb_mux.low.pick1 = core3.step2.lb' AND core3.step3.hold.sel_lb
core3.step3.lb_mux.low.out = core3.step3.lb_mux.low.pick0 OR core3.step3.lb_mux.low.pick1
core3.step3.lb_mux.high.not_s = NOT core3.step3.hold.sel_lb
core3.step3.lb_mux.high.pick0 = core3.step3.decr.lb' AND core3.step3.lb_mux.high.not_s
core3.step3.lb_mux.high.pick1 = core3.step2.lb' AND core3.step3.hold.sel_lb
core3.step3.lb_mux.high.out = core3.step3.lb_mux.high.pick0 OR core3.step3.lb_mux.high.pick1
core3.step3.lb_mux.top.not_s = NOT core3.step3.hold.sel_hb
core3.step3.lb_mux.top.pick0 = core3.step3.lb_mux.low.out AND core3.step3.lb_mux.top.not_s
core3.step3.lb_mux.top.pick1 = core3.step3.lb_mux.high.out AND core3.step3.hold.sel_hb
core3.step3.lb' = core3.step3.lb_mux.top.pick0 OR core3.step3.lb_mux.top.pick1
core3.step3.accepts_mux.low.not_s = NOT core3.step3.hold.sel_lb
core3.step3.accepts_mux.low.pick0 = 0 AND core3.step3.accepts_mux.low.not_s
core3.step3.accepts_mux.low.pick1 = core3.step3.zero.accepts AND core3.step3.hold.sel_lb
core3.step3.accepts_mux.low.out = core3.step3.accepts_mux.low.pick0 OR core3.step3.accepts_mux.low.pick1
core3.step3.accepts_mux.high.not_s = NOT core3.step3.hold.sel_lb
core3.step3.accepts_mux.high.pick0 = 0 AND core3.step3.accepts_mux.high.not_s
core3.step3.accepts_mux.high.pick1 = 0 AND core3.step3.hold.sel_lb
core3.step3.accepts_mux.high.out = core3.step3.accepts_mux.high.pick0 OR core3.step3.accepts_mux.high.pick1
core3.step3.accepts_mux.top.not_s = NOT core3.step3.hold.sel_hb
core3.step3.accepts_mux.top.pick0 = core3.step3.accepts_mux.low.out AND core3.step3.accepts_mux.top.not_s
core3.step3.accepts_mux.top.pick1 = core3.step3.accepts_mux.high.out AND core3.step3.hold.sel_hb
core3.step3.accepts_mux.out = core3.step3.accepts_mux.top.pick0 OR core3.step3.accepts_mux.top.pick1
core3.step3.halts_mux.low.not_s = NOT core3.step3.hold.sel_lb
core3.step3.halts_mux.low.pick0 = 0 AND core3.step3.halts_mux.low.not_s
core3.step3.halts_mux.low.pick1 = 0 AND core3.step3.hold.sel_lb
core3.step3.halts_mux.low.out = core3.step3.halts_mux.low.pick0 OR core3.step3.halts_mux.low.pick1
core3.step3.halts_mux.high.not_s = NOT core3.step3.hold.sel_lb
core3.step3.halts_mux.high.pick0 = core3.step3.decr.halts AND core3.step3.halts_mux.high.not_s
core3.step3.halts_mux.high.pick1 = 0 AND core3.step3.hold.sel_lb
core3.step3.halts_mux.high.out = core3.step3.halts_mux.high.pick0 OR core3.step3.halts_mux.high.pick1
core3.step3.halts_mux.top.not_s = NOT core3.step3.hold.sel_hb
core3.step3.halts_mux.top.pick0 = core3.step3.halts_mux.low.out AND core3.step3.halts_mux.top.not_s
core3.step3.halts_mux.top.pick1 = core3.step3.halts_mux.high.out AND core3.step3.hold.sel_hb
core3.step3.halts_mux.out = core3.step3.halts_mux.top.pick0 OR core3.step3.halts_mux.top.pick1
core3.step3.halted' = core3.step2.halted' OR core3.step3.halts_mux.out
core3.step3.accepted' = core3.step2.accepted' OR core3.step3.accepts_mux.out
core3.step4.zero.hb_or_lb = core3.step3.hb' OR core3.step3.lb'
core3.step4.zero.accepts = NOT core3.step4.zero.hb_or_lb
core3.step4.decr.hb' = core3.step3.hb' AND core3.step3.lb'
core3.step4.decr.lb' = NOT core3.step3.lb'
core3.step4.decr.hb_or_lb = core3.step3.hb' OR core3.step3.lb'
core3.step4.decr.halts = NOT core3.step4.decr.hb_or_lb
core3.step4.hold.running = NOT core3.step3.halted'
core3.step4.hold.sel_hb = op4_hb AND core3.step4.hold.running
core3.step4.hold.sel_lb = op4_lb AND core3.step4.hold.running
core3.step4.hb_mux.low.not_s = NOT core3.step4.hold.sel_lb
core3.step4.hb_mux.low.pick0 = core3.step3.hb' AND core3.step4.hb_mux.low.not_s
core3.step4.hb_mux.low.pick1 = core3.step3.hb' AND core3.step4.hold.sel_lb
core3.step4.hb_mux.low.out = core3.step4.hb_mux.low.pick0 OR core3.step4.hb_mux.low.pick1
core3.step4.hb_mux.high.not_s = NOT core3.step4.hold.sel_lb
core3.step4.hb_mux.high.pick0 = core3.step4.decr.hb' AND core3.step4.hb_mux.high.not_s
core3.step4.hb_mux.high.pick1 = 0 AND core3.step4.hold.sel_lb
core3.step4.hb_mux.high.out = core3.step4.hb_mux.high.pick0 OR core3.step4.hb_mux.high.pick1
core3.step4.hb_mux.top.not_s = NOT core3.step4.hold.sel_hb
core3.step4.hb_mux.top.pick0 = core3.step4.hb_mux.low.out AND core3.step4.hb_mux.top.not_s
core3.step4.hb_mux.top.pick1 = core3.step4.hb_mux.high.out AND core3.step4.hold.sel_hb
core3.step4.hb' = core3.step4.hb_mux.top.pick0 OR core3.step4.hb_mux.top.pick1
core3.step4.lb_mux.low.not_s = NOT core3.step4.hold.sel_lb
core3.step4.lb_mux.low.pick0 = core3.step3.lb' AND core3.step4.lb_mux.low.not_s
core3.step4.lb_mux.low.pick1 = core3.step3.lb' AND core3.step4.hold.sel_lb
core3.step4.lb_mux.low.out = core3.step4.lb_mux.low.pick0 OR core3.step4.lb_mux.low.pick1
core3.step4.lb_mux.high.not_s = NOT core3.step4.hold.sel_lb
core3.step4.lb_mux.high.pick0 = core3.step4.decr.lb' AND core3.step4.lb_mux.high.not_s
core3.step4.lb_mux.high.pick1 = core3.step3.lb' AND core3.step4.hold.sel_lb
core3.step4.lb_mux.high.out = core3.step4.lb_mux.high.pick0 OR core3.step4.lb_mux.high.pick1
core3.step4.lb_mux.top.not_s = NOT core3.step4.hold.sel_hb
core3.step4.lb_mux.top.pick0 = core3.step4.lb_mux.low.out AND core3.step4.lb_mux.top.not_s
core3.step4.lb_mux.top.pick1 = core3.step4.lb_mux.high.out AND core3.step4.hold.sel_hb
core3.step4.lb' = core3.step4.lb_mux.top.pick0 OR core3.step4.lb_mux.top.pick1
core3.step4.accepts_mux.low.not_s = NOT core3.step4.hold.sel_lb
core3.step4.accepts_mux.low.pick0 = 0 AND core3.step4.accepts_mux.low.not_s
core3.step4.accepts_mux.low.pick1 = core3.step4.zero.accepts AND core3.step4.hold.sel_lb
core3.step4.accepts_mux.low.out = core3.step4.accepts_mux.low.pick0 OR core3.step4.accepts_mux.low.pick1
core3.step4.accepts_mux.high.not_s = NOT core3.step4.hold.sel_lb
core3.step4.accepts_mux.high.pick0 = 0 AND core3.step4.accepts_mux.high.not_s
core3.step4.accepts_mux.high.pick1 = 0 AND core3.step4.hold.sel_lb
core3.step4.accepts_mux.high.out = core3.step4.accepts_mux.high.pick0 OR core3.step4.accepts_mux.high.pick1
core3.step4.accepts_mux.top.not_s = NOT core3.step4.hold.sel_hb
core3.step4.accepts_mux.top.pick0 = core3.step4.accepts_mux.low.out AND core3.step4.accepts_mux.top.not_s
core3.step4.accepts_mux.top.pick1 = core3.step4.accepts_mux.high.out AND core3.step4.hold.sel_hb
core3.step4.accepts_mux.out = core3.step4.accepts_mux.top.pick0 OR core3.step4.accepts_mux.top.pick1
core3.step4.halts_mux.low.not_s = NOT core3.step4.hold.sel_lb
core3.step4.halts_mux.low.pick0 = 0 AND core3.step4.halts_mux.low.not_s
core3.step4.halts_mux.low.pick1 = 0 AND core3.step4.hold.sel_lb
core3.step4.halts_mux.low.out = core3.step4.halts_mux.low.pick0 OR core3.step4.halts_mux.low.pick1
core3.step4.halts_mux.high.not_s = NOT core3.step4.hold.sel_lb
core3.step4.halts_mux.high.pick0 = core3.step4.decr.halts AND core3.step4.halts_mux.high.not_s
core3.step4.halts_mux.high.pick1 = 0 AND core3.step4.hold.sel_lb
core3.step4.halts_mux.high.out = core3.step4.halts_mux.high.pick0 OR core3.step4.halts_mux.high.pick1
core3.step4.halts_mux.top.not_s = NOT core3.step4.hold.sel_hb
core3.step4.halts_mux.top.pick0 = core3.step4.halts_mux.low.out AND core3.step4.halts_mux.top.not_s
core3.step4.halts_mux.top.pick1 = core3.step4.halts_mux.high.out AND core3.step4.hold.sel_hb
core3.step4.halts_mux.out = core3.step4.halts_mux.top.pick0 OR core3.step4.halts_mux.top.pick1
core3.step4.halted' = core3.step3.halted' OR core3.step4.halts_mux.out
core3.step4.accepted' = core3.step3.accepted' OR core3.step4.accepts_mux.out
core3.step5.zero.hb_or_lb = core3.step4.hb' OR core3.step4.lb'
core3.step5.zero.accepts = NOT core3.step5.zero.hb_or_lb
core3.step5.decr.hb' = core3.step4.hb' AND core3.step4.lb'
core3.step5.decr.lb' = NOT core3.step4.lb'
core3.step5.decr.hb_or_lb = core3.step4.hb' OR core3.step4.lb'
core3.step5.decr.halts = NOT core3.step5.decr.hb_or_lb
core3.step5.hold.running = NOT core3.step4.halted'
core3.step5.hold.sel_hb = op5_hb AND core3.step5.hold.running
core3.step5.hold.sel_lb = op5_lb AND core3.step5.hold.running
core3.step5.hb_mux.low.not_s = NOT core3.step5.hold.sel_lb
core3.step5.hb_mux.low.pick0 = core3.step4.hb' AND core3.step5.hb_mux.low.not_s
core3.step5.hb_mux.low.pick1 = core3.step4.hb' AND core3.step5.hold.sel_lb
core3.step5.hb_mux.low.out = core3.step5.hb_mux.low.pick0 OR core3.step5.hb_mux.low.pick1
core3.step5.hb_mux.high.not_s = NOT core3.step5.hold.sel_lb
core3.step5.hb_mux.high.pick0 = core3.step5.decr.hb' AND core3.step5.hb_mux.high.not_s
core3.step5.hb_mux.high.pick1 = 0 AND core3.step5.hold.sel_lb
core3.step5.hb_mux.high.out = core3.step5.hb_mux.high.pick0 OR core3.step5.hb_mux.high.pick1
core3.step5.hb_mux.top.not_s = NOT core3.step5.hold.sel_hb
core3.step5.hb_mux.top.pick0 = core3.step5.hb_mux.low.out AND core3.step5.hb_mux.top.not_s
core3.step5.hb_mux.top.pick1 = core3.step5.hb_mux.high.out AND core3.step5.hold.sel_hb
core3.step5.hb' = core3.step5.hb_mux.top.pick0 OR core3.step5.hb_mux.top.pick1
core3.step5.lb_mux.low.not_s = NOT core3.step5.hold.sel_lb
core3.step5.lb_mux.low.pick0 = core3.step4.lb' AND core3.step5.lb_mux.low.not_s
core3.step5.lb_mux.low.pick1 = core3.step4.lb' AND core3.step5.hold.sel_lb
core3.step5.lb_mux.low.out = core3.step5.lb_mux.low.pick0 OR core3.step5.lb_mux.low.pick1
core3.step5.lb_mux.high.not_s = NOT core3.step5.hold.sel_lb
core3.step5.lb_mux.high.pick0 = core3.step5.decr.lb' AND core3.step5.lb_mux.high.not_s
core3.step5.lb_mux.high.pick1 = core3.step4.lb' AND core3.step5.hold.sel_lb
core3.step5.lb_mux.high.out = core3.step5.lb_mux.high.pick0 OR core3.step5.lb_mux.high.pick1
core3.step5.lb_mux.top.not_s = NOT core3.step5.hold.sel_hb
core3.step5.lb_mux.top.pick0 = core3.step5.lb_mux.low.out AND core3.step5.lb_mux.top.not_s
core3.step5.lb_mux.top.pick1 = core3.step5.lb_mux.high.out AND core3.step5.hold.sel_hb
core3.step5.lb' = core3.step5.lb_mux.top.pick0 OR core3.step5.lb_mux.top.pick1
core3.step5.accepts_mux.low.not_s = NOT core3.step5.hold.sel_lb
core3.step5.accepts_mux.low.pick0 = 0 AND core3.step5.accepts_mux.low.not_s
core3.step5.accepts_mux.low.pick1 = core3.step5.zero.accepts AND core3.step5.hold.sel_lb
core3.step5.accepts_mux.low.out = core3.step5.accepts_mux.low.pick0 OR core3.step5.accepts_mux.low.pick1
core3.step5.accepts_mux.high.not_s = NOT core3.step5.hold.sel_lb
core3.step5.accepts_mux.high.pick0 = 0 AND core3.step5.accepts_mux.high.not_s
core3.step5.accepts_mux.high.pick1 = 0 AND core3.step5.hold.sel_lb
core3.step5.accepts_mux.high.out = core3.step5.accepts_mux.high.pick0 OR core3.step5.accepts_mux.high.pick1
core3.step5.accepts_mux.top.not_s = NOT core3.step5.hold.sel_hb
core3.step5.accepts_mux.top.pick0 = core3.step5.accepts_mux.low.out AND core3.step5.accepts_mux.top.not_s
core3.step5.accepts_mux.top.pick1 = core3.step5.accepts_mux.high.out AND core3.step5.hold.sel_hb
core3.step5.accepts_mux.out = core3.step5.accepts_mux.top.pick0 OR core3.step5.accepts_mux.top.pick1
core3.step5.halts_mux.low.not_s = NOT core3.step5.hold.sel_lb
core3.step5.halts_mux.low.pick0 = 0 AND core3.step5.halts_mux.low.not_s
core3.step5.halts_mux.low.pick1 = 0 AND core3.step5.hold.sel_lb
core3.step5.halts_mux.low.out = core3.step5.halts_mux.low.pick0 OR core3.step5.halts_mux.low.pick1
core3.step5.halts_mux.high.not_s = NOT core3.step5.hold.sel_lb
core3.step5.halts_mux.high.pick0 = core3.step5.decr.halts AND core3.step5.halts_mux.high.not_s
core3.step5.halts_mux.high.pick1 = 0 AND core3.step5.hold.sel_lb
core3.step5.halts_mux.high.out = core3.step5.halts_mux.high.pick0 OR core3.step5.halts_mux.high.pick1
core3.step5.halts_mux.top.not_s = NOT core3.step5.hold.sel_hb
core3.step5.halts_mux.top.pick0 = core3.step5.halts_mux.low.out AND core3.step5.halts_mux.top.not_s
core3.step5.halts_mux.top.pick1 = core3.step5.halts_mux.high.out AND core3.step5.hold.sel_hb
core3.step5.halts_mux.out = core3.step5.halts_mux.top.pick0 OR core3.step5.halts_mux.top.pick1
core3.step5.halted' = core3.step4.halted' OR core3.step5.halts_mux.out
core3.step5.accepted' = core3.step4.accepted' OR core3.step5.accepts_mux.out
core3.step6.zero.hb_or_lb = core3.step5.hb' OR core3.step5.lb'
core3.step6.zero.accepts = NOT core3.step6.zero.hb_or_lb
core3.step6.decr.hb' = core3.step5.hb' AND core3.step5.lb'
core3.step6.decr.lb' = NOT core3.step5.lb'
core3.step6.decr.hb_or_lb = core3.step5.hb' OR core3.step5.lb'
core3.step6.decr.halts = NOT core3.step6.decr.hb_or_lb
core3.step6.hold.running = NOT core3.step5.halted'
core3.step6.hold.sel_hb = op6_hb AND core3.step6.hold.running
core3.step6.hold.sel_lb = op6_lb AND core3.step6.hold.running
core3.step6.hb_mux.low.not_s = NOT core3.step6.hold.sel_lb
core3.step6.hb_mux.low.pick0 = core3.step5.hb' AND core3.step6.hb_mux.low.not_s
core3.step6.hb_mux.low.pick1 = core3.step5.hb' AND core3.step6.hold.sel_lb
core3.step6.hb_mux.low.out = core3.step6.hb_mux.low.pick0 OR core3.step6.hb_mux.low.pick1
core3.step6.hb_mux.high.not_s = NOT core3.step6.hold.sel_lb
core3.step6.hb_mux.high.pick0 = core3.step6.decr.hb' AND core3.step6.hb_mux.high.not_s
core3.step6.hb_mux.high.pick1 = 0 AND core3.step6.hold.sel_lb
core3.step6.hb_mux.high.out = core3.step6.hb_mux.high.pick0 OR core3.step6.hb_mux.high.pick1
core3.step6.hb_mux.top.not_s = NOT core3.step6.hold.sel_hb
core3.step6.hb_mux.top.pick0 = core3.step6.hb_mux.low.out AND core3.step6.hb_mux.top.not_s
core3.step6.hb_mux.top.pick1 = core3.step6.hb_mux.high.out AND core3.step6.hold.sel_hb
core3.step6.hb' = core3.step6.hb_mux.top.pick0 OR core3.step6.hb_mux.top.pick1
core3.step6.lb_mux.low.not_s = NOT core3.step6.hold.sel_lb
core3.step6.lb_mux.low.pick0 = core3.step5.lb' AND core3.step6.lb_mux.low.not_s
core3.step6.lb_mux.low.pick1 = core3.step5.lb' AND core3.step6.hold.sel_lb
core3.step6.lb_mux.low.out = core3.step6.lb_mux.low.pick0 OR core3.step6.lb_mux.low.pick1
core3.step6.lb_mux.high.not_s = NOT core3.step6.hold.sel_lb
core3.step6.lb_mux.high.pick0 = core3.step6.decr.lb' AND core3.step6.lb_mux.high.not_s
core3.step6.lb_mux.high.pick1 = core3.step5.lb' AND core3.step6.hold.sel_lb
core3.step6.lb_mux.high.out = core3.step6.lb_mux.high.pick0 OR core3.step6.lb_mux.high.pick1
core3.step6.lb_mux.top.not_s = NOT core3.step6.hold.sel_hb
core3.step6.lb_mux.top.pick0 = core3.step6.lb_mux.low.out AND core3.step6.lb_mux.top.not_s
core3.step6.lb_mux.top.pick1 = core3.step6.lb_mux.high.out AND core3.step6.hold.sel_hb
core3.step6.lb' = core3.step6.lb_mux.top.pick0 OR core3.step6.lb_mux.top.pick1
core3.step6.accepts_mux.low.not_s = NOT core3.step6.hold.sel_lb
core3.step6.accepts_mux.low.pick0 = 0 AND core3.step6.accepts_mux.low.not_s
core3.step6.accepts_mux.low.pick1 = core3.step6.zero.accepts AND core3.step6.hold.sel_lb
core3.step6.accepts_mux.low.out = core3.step6.accepts_mux.low.pick0 OR core3.step6.accepts_mux.low.pick1
core3.step6.accepts_mux.high.not_s = NOT core3.step6.hold.sel_lb
core3.step6.accepts_mux.high.pick0 = 0 AND core3.step6.accepts_mux.high.not_s
core3.step6.accepts_mux.high.pick1 = 0 AND core3.step6.hold.sel_lb
core3.step6.accepts_mux.high.out = core3.step6.accepts_mux.high.pick0 OR core3.step6.accepts_mux.high.pick1
core3.step6.accepts_mux.top.not_s = NOT core3.step6.hold.sel_hb
core3.step6.accepts_mux.top.pick0 = core3.step6.accepts_mux.low.out AND core3.step6.accepts_mux.top.not_s
core3.step6.accepts_mux.top.pick1 = core3.step6.accepts_mux.high.out AND core3.step6.hold.sel_hb
core3.step6.accepts_mux.out = core3.step6.accepts_mux.top.pick0 OR core3.step6.accepts_mux.top.pick1
core3.step6.halts_mux.low.not_s = NOT core3.step6.hold.sel_lb
core3.step6.halts_mux.low.pick0 = 0 AND core3.step6.halts_mux.low.not_s
core3.step6.halts_mux.low.pick1 = 0 AND core3.step6.hold.sel_lb
core3.step6.halts_mux.low.out = core3.step6.halts_mux.low.pick0 OR core3.step6.halts_mux.low.pick1
core3.step6.halts_mux.high.not_s = NOT core3.step6.hold.sel_lb
core3.step6.halts_mux.high.pick0 = core3.step6.decr.halts AND core3.step6.halts_mux.high.not_s
core3.step6.halts_mux.high.pick1 = 0 AND core3.step6.hold.sel_lb
core3.step6.halts_mux.high.out = core3.step6.halts_mux.high.pick0 OR core3.step6.halts_mux.high.pick1
core3.step6.halts_mux.top.not_s = NOT core3.step6.hold.sel_hb
core3.step6.halts_mux.top.pick0 = core3.step6.halts_mux.low.out AND core3.step6.halts_mux.top.not_s
core3.step6.halts_mux.top.pick1 = core3.step6.halts_mux.high.out AND core3.step6.hold.sel_hb
core3.step6.halts_mux.out = core3.step6.halts_mux.top.pick0 OR core3.step6.halts_mux.top.pick1
core3.step6.halted' = core3.step5.halted' OR core3.step6.halts_mux.out
core3.step6.accepted' = core3.step5.accepted' OR core3.step6.accepts_mux.out
same3.both1 = core3.step6.accepted' AND want3
same3.not_accepted = NOT core3.step6.accepted'
same3.not_want = NOT want3
same3.both0 = same3.not_accepted AND same3.not_want
same3.same = same3.both1 OR same3.both0
decides = all.upto2 AND same3.same