module tlc(rst,clk,cars,hg,hy,hr,fg,fy,fr); input rst, clk; // reset and clock input cars; // high when a car is present at the farm road output hg, hy, hr; // highway light: green, yellow, red output fg, fy, fr; // farm light: green, yellow, red wire long, short, count_reset; // long and short timers + counter reset sequencer s1(rst,clk,cars,long,short,hg,hy,hr,fg,fy,fr,count_reset); timer t1(count_reset,clk,long,short); endmodule