module BusMux (PHI2, SB, DB, ADL, ADH, Z_ADL0, Z_ADL1, Z_ADL2, Z_ADH0, Z_ADH17, SB_DB, SB_ADH );

	input PHI2;
	inout [7:0] SB;
	inout [7:0] DB;
	inout [7:0] ADL;
	inout [7:0] ADH;

	input Z_ADL0;
	input Z_ADL1;
	input Z_ADL2;
	input Z_ADH0;
	input Z_ADH17;
	input SB_DB;
	input SB_ADH;

	BusPrecharge precharge (
		.PHI2(PHI2),
		.SB(SB),
		.DB(DB),
		.ADL(ADL),
		.ADH(ADH) );

	ConstGen constgen (
		.ADL(ADL),
		.ADH(ADH),
		.Z_ADL0(Z_ADL0),
		.Z_ADL1(Z_ADL1),
		.Z_ADL2(Z_ADL2),
		.Z_ADH0(Z_ADH0),
		.Z_ADH17(Z_ADH17) );

	BusVsBus busbus (
		.SB(SB),
		.DB(DB),
		.ADH(ADH),
		.SB_DB(SB_DB),
		.SB_ADH(SB_ADH) );

endmodule // BusMux