data/full_repos/permissive/423547971/College Coursework/Digital Design II Final Project/traffic_controller.v
1: b'%Error: Cannot find file containing module: Coursework/Digital\n        ... Looked in:\n             data/full_repos/permissive/423547971/College/Coursework/Digital\n             data/full_repos/permissive/423547971/College/Coursework/Digital.v\n             data/full_repos/permissive/423547971/College/Coursework/Digital.sv\n             Coursework/Digital\n             Coursework/Digital.v\n             Coursework/Digital.sv\n             obj_dir/Coursework/Digital\n             obj_dir/Coursework/Digital.v\n             obj_dir/Coursework/Digital.sv\n%Error: Cannot find file containing module: Design\n%Error: Cannot find file containing module: II\n%Error: Cannot find file containing module: Final\n%Error: Cannot find file containing module: Project,data/full_repos/permissive/423547971\n%Error: Cannot find file containing module: data/full_repos/permissive/423547971/College\n%Error: Cannot find file containing module: Project/traffic_controller.v\n%Error: Exiting due to 7 error(s)\n'
module traffic_controller(

	output rA_Maj,
	output rMR_Maj,
	output yA_Maj,
	output yLR_Maj,
	output gA_Maj,
	output gLR_Maj,
	
	output W_Maj,
	output DW_Maj,

	output a_Maj,		
	output b_Maj,
	output c_Maj,
	output d_Maj,
	output e_Maj,
	output f_Maj,
	output g_Maj,
	output h_Maj,
	output i_Maj,
	

	output rLR_min,
	output yA_min,
	output yLR_min,
	output gA_min,
	output gLR_min,
	
	output W_min,
	output DW_min,

	output a_min,
	output b_min,
	output c_min,
	output d_min,
	output e_min,
	output f_min,
	output g_min,
	output h_min,
	output i_min,
	
	input CLOCK,
	input RESET,
	input CLK_24hr,
	input WALK,
	input CAR,
	input EMERGENCY
);

wire T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, RST_int,
	 S0, S1, S2, S3, S4, CLOCK, RESET, EMERGENCY,
	 CD0s, CD1s, CD2s, CD3s, CD4s, CD5s, CD6s, CD7s, CD8s, CD9s,
	 CD0_M, CD1_M, CD2_M, CD3_M, CD4_M, CD5_M, CD6_M, CD7_M, CD8_M, CD9_M,
	 CD0_m, CD1_m, CD2_m, CD3_m, CD4_m, CD5_m, CD6_m, CD7_m, CD8_m, CD9_m, 
	 rA_Maj, rMR_Maj, yA_Maj, yLR_Maj, gA_Maj, gLR_Maj, 
	 rLR_min, yA_min, yLR_min, gA_min, gLR_min, temp2, h_Maj, i_Maj,
	 W_Maj, DW_Maj, W_min, DW_min, a_min, b_min, c_min, d_min, e_min, f_min,
	 g_min, h_min, i_min, a_Maj, b_Maj, c_Maj, d_Maj, e_Maj, f_Maj, g_Maj,
	 not_CLK_24hr, CLK_24hr, RST_int2, en_countdown_M,
	 SET_srl, W_C, WALK, CAR, en_countdown_m;

assign temp2 = not_CLK_24hr | RST_int;
assign RST_int = EMERGENCY | RESET;
assign RST_int2 = RST_int | CLK_24hr;
assign W_C = WALK | CAR;
assign not_CLK_24hr = ~CLK_24hr;
assign SET_srl = W_C & CLOCK & not_CLK_24hr;
	 

timer_mode TM0(

	.CLOCK(CLOCK),
	.RESET(temp2),
	.enable_timer_mode(CLK_24hr),

	.T0(T0),
	.T1(T1),
	.T2(T2),
	.T3(T3),
	.T4(T4),
	.T5(T5),
	.T6(T6),
	.T7(T7),
	.T8(T8),
	.T9(T9),
	.CD0_M(CD0_M),
	.CD1_M(CD1_M),
	.CD2_M(CD2_M),
	.CD3_M(CD3_M),
	.CD4_M(CD4_M),
	.CD5_M(CD5_M),
	.CD6_M(CD6_M),
	.CD7_M(CD7_M),
	.CD8_M(CD8_M),
	.CD9_M(CD9_M),
	
	.CD0_m(CD0_m),
	.CD1_m(CD1_m),
	.CD2_m(CD2_m),
	.CD3_m(CD3_m),
	.CD4_m(CD4_m),
	.CD5_m(CD5_m),
	.CD6_m(CD6_m),
	.CD7_m(CD7_m),
	.CD8_m(CD8_m),
	.CD9_m(CD9_m),
	.en_countdown_M(en_countdown_M),
	.en_countdown_m(en_countdown_m)
);

sensor_mode SM0(

	.S0(S0),
	.S1(S1),
	.S2(S2),
	.S3(S3),
	.S4(S4),
	.CD0s(CD0s),
	.CD1s(CD1s),
	.CD2s(CD2s),
	.CD3s(CD3s),
	.CD4s(CD4s),
	.CD5s(CD5s),
	.CD6s(CD6s),
	.CD7s(CD7s),
	.CD8s(CD8s),
	.CD9s(CD9s),

	.CLOCK(CLOCK),
	.RESET(RST_int2),
	.enable_sensor_mode(not_CLK_24hr),
	.SET_srl(SET_srl)
);

light_control LC0(

	.rA_Maj(rA_Maj),
	.rMR_Maj(rMR_Maj),
	.yA_Maj(yA_Maj),
	.yLR_Maj(yLR_Maj),
	.gA_Maj(gA_Maj),
	.gLR_Maj(gLR_Maj),
	
	.rLR_min(rLR_min),
	.yA_min(yA_min),
	.yLR_min(yLR_min),
	.gA_min(gA_min),
	.gLR_min(gLR_min),
	
	.W_Maj(W_Maj),
	.DW_Maj(DW_Maj),
	
	.W_min(W_min),
	.DW_min(DW_min),
	
	.a_Maj(a_Maj),
	.b_Maj(b_Maj),
	.c_Maj(c_Maj),
	.d_Maj(d_Maj),
	.e_Maj(e_Maj),
	.f_Maj(f_Maj),
	.g_Maj(g_Maj),
	.h_Maj(h_Maj),
	.i_Maj(i_Maj),
	
	.a_min(a_min),
	.b_min(b_min),
	.c_min(c_min),
	.d_min(d_min),
	.e_min(e_min),
	.f_min(f_min),
	.g_min(g_min),
	.h_min(h_min),
	.i_min(i_min),


	.T0(T0),
	.T1(T1),
	.T2(T2),
	.T3(T3),
	.T4(T4),
	.T5(T5),
	.T6(T6),
	.T7(T7),
	.T8(T8),
	.T9(T9),	
	.S0(S0),
	.S1(S1), 
	.S2(S2), 
	.S3(S3),
	.S4(S4),
	
	.CD0_M(CD0_M),
	.CD1_M(CD1_M),
	.CD2_M(CD2_M),
	.CD3_M(CD3_M),
	.CD4_M(CD4_M),
	.CD5_M(CD5_M),
	.CD6_M(CD6_M),
	.CD7_M(CD7_M),
	.CD8_M(CD8_M),
	.CD9_M(CD9_M),
	
	.CD0_m(CD0_m),
	.CD1_m(CD1_m),
	.CD2_m(CD2_m),
	.CD3_m(CD3_m),
	.CD4_m(CD4_m),
	.CD5_m(CD5_m),
	.CD6_m(CD6_m),
	.CD7_m(CD7_m),
	.CD8_m(CD8_m),
	.CD9_m(CD9_m),
	
	.CD0s(CD0s),
	.CD1s(CD1s),
	.CD2s(CD2s),
	.CD3s(CD3s),
	.CD4s(CD4s),
	.CD5s(CD5s),
	.CD6s(CD6s),
	.CD7s(CD7s),
	.CD8s(CD8s),
	.CD9s(CD9s),
	
	.en_countdown_M(en_countdown_M),
	.en_countdown_m(en_countdown_m),
	.CLOCK(CLOCK),
	.EM(EMERGENCY),
	.EN_S0(not_CLK_24hr),
	.EN_T0(CLK_24hr)
);

endmodule
module traffic_controller(

	output rA_Maj,
	output rMR_Maj,
	output yA_Maj,
	output yLR_Maj,
	output gA_Maj,
	output gLR_Maj,
	
	output W_Maj,
	output DW_Maj,

	output a_Maj,		
	output b_Maj,
	output c_Maj,
	output d_Maj,
	output e_Maj,
	output f_Maj,
	output g_Maj,
	output h_Maj,
	output i_Maj,
	

	output rLR_min,
	output yA_min,
	output yLR_min,
	output gA_min,
	output gLR_min,
	
	output W_min,
	output DW_min,

	output a_min,
	output b_min,
	output c_min,
	output d_min,
	output e_min,
	output f_min,
	output g_min,
	output h_min,
	output i_min,
	
	input CLOCK,
	input RESET,
	input CLK_24hr,
	input WALK,
	input CAR,
	input EMERGENCY
);


wire T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, RST_int,
	 S0, S1, S2, S3, S4, CLOCK, RESET, EMERGENCY,
	 CD0s, CD1s, CD2s, CD3s, CD4s, CD5s, CD6s, CD7s, CD8s, CD9s,
	 CD0_M, CD1_M, CD2_M, CD3_M, CD4_M, CD5_M, CD6_M, CD7_M, CD8_M, CD9_M,
	 CD0_m, CD1_m, CD2_m, CD3_m, CD4_m, CD5_m, CD6_m, CD7_m, CD8_m, CD9_m, 
	 rA_Maj, rMR_Maj, yA_Maj, yLR_Maj, gA_Maj, gLR_Maj, 
	 rLR_min, yA_min, yLR_min, gA_min, gLR_min, temp2, h_Maj, i_Maj,
	 W_Maj, DW_Maj, W_min, DW_min, a_min, b_min, c_min, d_min, e_min, f_min,
	 g_min, h_min, i_min, a_Maj, b_Maj, c_Maj, d_Maj, e_Maj, f_Maj, g_Maj,
	 not_CLK_24hr, CLK_24hr, RST_int2, en_countdown_M,
	 SET_srl, W_C, WALK, CAR, en_countdown_m;

assign temp2 = not_CLK_24hr | RST_int;
assign RST_int = EMERGENCY | RESET;
assign RST_int2 = RST_int | CLK_24hr;
assign W_C = WALK | CAR;
assign not_CLK_24hr = ~CLK_24hr;
assign SET_srl = W_C & CLOCK & not_CLK_24hr;
	 

timer_mode TM0(

	.CLOCK(CLOCK),
	.RESET(temp2),
	.enable_timer_mode(CLK_24hr),

	.T0(T0),
	.T1(T1),
	.T2(T2),
	.T3(T3),
	.T4(T4),
	.T5(T5),
	.T6(T6),
	.T7(T7),
	.T8(T8),
	.T9(T9),
	.CD0_M(CD0_M),
	.CD1_M(CD1_M),
	.CD2_M(CD2_M),
	.CD3_M(CD3_M),
	.CD4_M(CD4_M),
	.CD5_M(CD5_M),
	.CD6_M(CD6_M),
	.CD7_M(CD7_M),
	.CD8_M(CD8_M),
	.CD9_M(CD9_M),
	
	.CD0_m(CD0_m),
	.CD1_m(CD1_m),
	.CD2_m(CD2_m),
	.CD3_m(CD3_m),
	.CD4_m(CD4_m),
	.CD5_m(CD5_m),
	.CD6_m(CD6_m),
	.CD7_m(CD7_m),
	.CD8_m(CD8_m),
	.CD9_m(CD9_m),
	.en_countdown_M(en_countdown_M),
	.en_countdown_m(en_countdown_m)
);

sensor_mode SM0(

	.S0(S0),
	.S1(S1),
	.S2(S2),
	.S3(S3),
	.S4(S4),
	.CD0s(CD0s),
	.CD1s(CD1s),
	.CD2s(CD2s),
	.CD3s(CD3s),
	.CD4s(CD4s),
	.CD5s(CD5s),
	.CD6s(CD6s),
	.CD7s(CD7s),
	.CD8s(CD8s),
	.CD9s(CD9s),

	.CLOCK(CLOCK),
	.RESET(RST_int2),
	.enable_sensor_mode(not_CLK_24hr),
	.SET_srl(SET_srl)
);

light_control LC0(

	.rA_Maj(rA_Maj),
	.rMR_Maj(rMR_Maj),
	.yA_Maj(yA_Maj),
	.yLR_Maj(yLR_Maj),
	.gA_Maj(gA_Maj),
	.gLR_Maj(gLR_Maj),
	
	.rLR_min(rLR_min),
	.yA_min(yA_min),
	.yLR_min(yLR_min),
	.gA_min(gA_min),
	.gLR_min(gLR_min),
	
	.W_Maj(W_Maj),
	.DW_Maj(DW_Maj),
	
	.W_min(W_min),
	.DW_min(DW_min),
	
	.a_Maj(a_Maj),
	.b_Maj(b_Maj),
	.c_Maj(c_Maj),
	.d_Maj(d_Maj),
	.e_Maj(e_Maj),
	.f_Maj(f_Maj),
	.g_Maj(g_Maj),
	.h_Maj(h_Maj),
	.i_Maj(i_Maj),
	
	.a_min(a_min),
	.b_min(b_min),
	.c_min(c_min),
	.d_min(d_min),
	.e_min(e_min),
	.f_min(f_min),
	.g_min(g_min),
	.h_min(h_min),
	.i_min(i_min),


	.T0(T0),
	.T1(T1),
	.T2(T2),
	.T3(T3),
	.T4(T4),
	.T5(T5),
	.T6(T6),
	.T7(T7),
	.T8(T8),
	.T9(T9),	
	.S0(S0),
	.S1(S1), 
	.S2(S2), 
	.S3(S3),
	.S4(S4),
	
	.CD0_M(CD0_M),
	.CD1_M(CD1_M),
	.CD2_M(CD2_M),
	.CD3_M(CD3_M),
	.CD4_M(CD4_M),
	.CD5_M(CD5_M),
	.CD6_M(CD6_M),
	.CD7_M(CD7_M),
	.CD8_M(CD8_M),
	.CD9_M(CD9_M),
	
	.CD0_m(CD0_m),
	.CD1_m(CD1_m),
	.CD2_m(CD2_m),
	.CD3_m(CD3_m),
	.CD4_m(CD4_m),
	.CD5_m(CD5_m),
	.CD6_m(CD6_m),
	.CD7_m(CD7_m),
	.CD8_m(CD8_m),
	.CD9_m(CD9_m),
	
	.CD0s(CD0s),
	.CD1s(CD1s),
	.CD2s(CD2s),
	.CD3s(CD3s),
	.CD4s(CD4s),
	.CD5s(CD5s),
	.CD6s(CD6s),
	.CD7s(CD7s),
	.CD8s(CD8s),
	.CD9s(CD9s),
	
	.en_countdown_M(en_countdown_M),
	.en_countdown_m(en_countdown_m),
	.CLOCK(CLOCK),
	.EM(EMERGENCY),
	.EN_S0(not_CLK_24hr),
	.EN_T0(CLK_24hr)
);

endmodule