// "alternator-wchb_split-04.hac"
// multi-level split trees

import "alternator.hac";
import "env.hac";

e1of1 L, M[2], R[4];
bool _Reset, Reset;
wchb_alternator_split_2_slow
	X(L, M, _Reset, Reset),
	Y(M[0], R[0..1], _Reset, Reset),
	Z(M[1], R[2..3], _Reset, Reset);
source_e1of<1> s<1,{0}>(L, _Reset);
bitbucket_e1of<1>
	b0(R[0], _Reset), 
	b1(R[1], _Reset),
	b2(R[2], _Reset), 
	b3(R[3], _Reset);

