data/full_repos/permissive/411831376/CD.v
1: b"%Error: data/full_repos/permissive/411831376/CD.v:132: Cannot find file containing module: 'DTT'\n DTT #(2) TT(.Q(a), .D(CombLogic), .C(C), .aR(aR));\n ^~~\n        ... Looked in:\n             data/full_repos/permissive/411831376,data/full_repos/permissive/411831376/DTT\n             data/full_repos/permissive/411831376,data/full_repos/permissive/411831376/DTT.v\n             data/full_repos/permissive/411831376,data/full_repos/permissive/411831376/DTT.sv\n             DTT\n             DTT.v\n             DTT.sv\n             obj_dir/DTT\n             obj_dir/DTT.v\n             obj_dir/DTT.sv\n%Error: Exiting due to 1 error(s)\n"
module CD(
		output [1:0] a,

		output reg INC_Y,
		output reg INV_TLATY,
		output reg DemandY,
		output reg SH_Y,
		output reg INV_TCLKY,
		output reg S_TBKY,
		output reg L_Y,
		output reg R_TBKY,
		output reg INV_TWordY,

		input CTEq32,
		input CTEq95,
		input C, aR);
	parameter	a0 = 2'd0, a1 = 2'd1, a2 = 2'd2, a3 = 2'd3;
	reg [1:0] CombLogic;

	always @(*)
	begin
		case(a)
			a0:
			begin
				CombLogic = a1;
				INC_Y = 0;
				INV_TLATY = 0;
				DemandY = 0;
				SH_Y = 0;
				INV_TCLKY = 1;
				S_TBKY = 0;
				L_Y = 1;
				R_TBKY = 1;
				INV_TWordY = 0;
			end
			a1:
			begin
				CombLogic = a2;
				INC_Y = 0;
				INV_TLATY = 0;
				DemandY = 0;
				SH_Y = 0;
				INV_TCLKY = 1;
				S_TBKY = 0;
				L_Y = 0;
				R_TBKY = 0;
				INV_TWordY = 0;
			end
			a2:
			begin
				if(!CTEq32 && !CTEq95)
				begin
					CombLogic = a1;
					INC_Y = 1;
					INV_TLATY = 0;
					DemandY = 0;
					SH_Y = 1;
					INV_TCLKY = 1;
					S_TBKY = 0;
					L_Y = 0;
					R_TBKY = 0;
					INV_TWordY = 0;
				end
					else if(CTEq32 && !CTEq95)
					begin
						CombLogic = a1;
						INC_Y = 1;
						INV_TLATY = 0;
						DemandY = 0;
						SH_Y = 1;
						INV_TCLKY = 1;
						S_TBKY = 1;
						L_Y = 0;
						R_TBKY = 0;
						INV_TWordY = 0;
					end
						else if(CTEq95)
						begin
							CombLogic = a3;
							INC_Y = 0;
							INV_TLATY = 1;
							DemandY = 1;
							SH_Y = 0;
							INV_TCLKY = 0;
							S_TBKY = 0;
							L_Y = 0;
							R_TBKY = 0;
							INV_TWordY = 0;
						end
							else
							begin
								CombLogic = a0;
								INC_Y = 0;
								INV_TLATY = 0;
								DemandY = 0;
								SH_Y = 0;
								INV_TCLKY = 0;
								S_TBKY = 0;
								L_Y = 0;
								R_TBKY = 0;
								INV_TWordY = 0;
							end
			end
			a3:
			begin
				CombLogic = a0;
				INC_Y = 1;
				INV_TLATY = 1;
				DemandY = 0;
				SH_Y = 0;
				INV_TCLKY = 0;
				S_TBKY = 0;
				L_Y = 0;
				R_TBKY = 0;
				INV_TWordY = 1;
			end
			default:
			begin
				CombLogic = a0;
				INC_Y = 0;
				INV_TLATY = 0;
				DemandY = 0;
				SH_Y = 0;
				INV_TCLKY = 0;
				S_TBKY = 0;
				L_Y = 0;
				R_TBKY = 0;
				INV_TWordY = 0;
			end
		endcase
	end
	DTT #(2) TT(.Q(a), .D(CombLogic), .C(C), .aR(aR));
endmodule
module CD(
		output [1:0] a,

		output reg INC_Y,
		output reg INV_TLATY,
		output reg DemandY,
		output reg SH_Y,
		output reg INV_TCLKY,
		output reg S_TBKY,
		output reg L_Y,
		output reg R_TBKY,
		output reg INV_TWordY,

		input CTEq32,
		input CTEq95,
		input C, aR);

	parameter	a0 = 2'd0, a1 = 2'd1, a2 = 2'd2, a3 = 2'd3;
	reg [1:0] CombLogic;

	always @(*)
	begin
		case(a)
			a0:
			begin
				CombLogic = a1;
				INC_Y = 0;
				INV_TLATY = 0;
				DemandY = 0;
				SH_Y = 0;
				INV_TCLKY = 1;
				S_TBKY = 0;
				L_Y = 1;
				R_TBKY = 1;
				INV_TWordY = 0;
			end
			a1:
			begin
				CombLogic = a2;
				INC_Y = 0;
				INV_TLATY = 0;
				DemandY = 0;
				SH_Y = 0;
				INV_TCLKY = 1;
				S_TBKY = 0;
				L_Y = 0;
				R_TBKY = 0;
				INV_TWordY = 0;
			end
			a2:
			begin
				if(!CTEq32 && !CTEq95)
				begin
					CombLogic = a1;
					INC_Y = 1;
					INV_TLATY = 0;
					DemandY = 0;
					SH_Y = 1;
					INV_TCLKY = 1;
					S_TBKY = 0;
					L_Y = 0;
					R_TBKY = 0;
					INV_TWordY = 0;
				end
					else if(CTEq32 && !CTEq95)
					begin
						CombLogic = a1;
						INC_Y = 1;
						INV_TLATY = 0;
						DemandY = 0;
						SH_Y = 1;
						INV_TCLKY = 1;
						S_TBKY = 1;
						L_Y = 0;
						R_TBKY = 0;
						INV_TWordY = 0;
					end
						else if(CTEq95)
						begin
							CombLogic = a3;
							INC_Y = 0;
							INV_TLATY = 1;
							DemandY = 1;
							SH_Y = 0;
							INV_TCLKY = 0;
							S_TBKY = 0;
							L_Y = 0;
							R_TBKY = 0;
							INV_TWordY = 0;
						end
							else
							begin
								CombLogic = a0;
								INC_Y = 0;
								INV_TLATY = 0;
								DemandY = 0;
								SH_Y = 0;
								INV_TCLKY = 0;
								S_TBKY = 0;
								L_Y = 0;
								R_TBKY = 0;
								INV_TWordY = 0;
							end
			end
			a3:
			begin
				CombLogic = a0;
				INC_Y = 1;
				INV_TLATY = 1;
				DemandY = 0;
				SH_Y = 0;
				INV_TCLKY = 0;
				S_TBKY = 0;
				L_Y = 0;
				R_TBKY = 0;
				INV_TWordY = 1;
			end
			default:
			begin
				CombLogic = a0;
				INC_Y = 0;
				INV_TLATY = 0;
				DemandY = 0;
				SH_Y = 0;
				INV_TCLKY = 0;
				S_TBKY = 0;
				L_Y = 0;
				R_TBKY = 0;
				INV_TWordY = 0;
			end
		endcase
	end
	DTT #(2) TT(.Q(a), .D(CombLogic), .C(C), .aR(aR));
endmodule