data/full_repos/permissive/210403374/s3_uart_tft_sdram/src/bidirectional_io.v
data/verilator_xmls/ae54f23b-deac-476e-ac06-e9ae76431d68.xml
module bidirectional_io #(
	parameter WIDTH=16
)
(
	input output_enable,
	input [WIDTH-1:0] data,
	inout [WIDTH-1:0] bidir_variable,
	output [WIDTH-1:0] read_buffer
);
	


	assign bidir_variable = (output_enable ? data : {WIDTH{1'bz}});



	assign read_buffer = bidir_variable;

endmodule
module bidirectional_io #(
	parameter WIDTH=16
)
(
	input output_enable,
	input [WIDTH-1:0] data,
	inout [WIDTH-1:0] bidir_variable,
	output [WIDTH-1:0] read_buffer
);

	


	assign bidir_variable = (output_enable ? data : {WIDTH{1'bz}});



	assign read_buffer = bidir_variable;

endmodule