data/full_repos/permissive/451961217/morse_decoder.v
data/verilator_xmls/3f3bffb6-24f8-4fb7-b4d4-ceb50a066a63.xml
module part3(ClockIn, Resetn, Start, Letter, DotDashOut);
	input ClockIn;
	input Resetn;
	input Start;
	input [2:0]Letter;
	output DotDashOut;

	wire [11:0]encoding;
	wire Enablew;
	wire w1;
	assign w1 = Enablew|Start;
	
	mux8to1 mux(Letter[2:0], encoding[11:0]);
	
	RateDivider ratediv (.d(28'b0000000000000000000011111001),.ParLoad(w1),.Clearb(Resetn),.Enable(Enablew),.clock(ClockIn));
	
	shift_reg shifter(.clock(ClockIn), .reset_n(Resetn), .ParallelLoadn(Start), .Enable(Enablew), .Data_IN(encoding[11:0]), .Q(DotDashOut));
	
endmodule
module part3(ClockIn, Resetn, Start, Letter, DotDashOut);

	input ClockIn;
	input Resetn;
	input Start;
	input [2:0]Letter;
	output DotDashOut;

	wire [11:0]encoding;
	wire Enablew;
	wire w1;
	assign w1 = Enablew|Start;
	
	mux8to1 mux(Letter[2:0], encoding[11:0]);
	
	RateDivider ratediv (.d(28'b0000000000000000000011111001),.ParLoad(w1),.Clearb(Resetn),.Enable(Enablew),.clock(ClockIn));
	
	shift_reg shifter(.clock(ClockIn), .reset_n(Resetn), .ParallelLoadn(Start), .Enable(Enablew), .Data_IN(encoding[11:0]), .Q(DotDashOut));
	
endmodule