data/full_repos/permissive/117026779/src/QuadratureDecoder.v
1: b"%Error: data/full_repos/permissive/117026779/src/QuadratureDecoder.v:59: Cannot find file containing module: 'ExtToIntSync'\nExtToIntSync U0(\n^~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/117026779/src,data/full_repos/permissive/117026779/ExtToIntSync\n             data/full_repos/permissive/117026779/src,data/full_repos/permissive/117026779/ExtToIntSync.v\n             data/full_repos/permissive/117026779/src,data/full_repos/permissive/117026779/ExtToIntSync.sv\n             ExtToIntSync\n             ExtToIntSync.v\n             ExtToIntSync.sv\n             obj_dir/ExtToIntSync\n             obj_dir/ExtToIntSync.v\n             obj_dir/ExtToIntSync.sv\n%Error: data/full_repos/permissive/117026779/src/QuadratureDecoder.v:65: Cannot find file containing module: 'ExtToIntSync'\nExtToIntSync U1(\n^~~~~~~~~~~~\n%Error: Exiting due to 2 error(s)\n"
module QuadratureTop(
	input wire clk,
	input wire rst,
	input wire ext_phase_a,
	input wire ext_phase_b,
	input wire off_led,
	input wire output_enable,
	output wire [15:0] leds
);

wire [31:0] data;
wire oe;
wire we;

assign oe = output_enable;
assign we = 0;
assign leds[14:0] = (oe && off_led) ? data[14:0] : 0;

QuadratureDecoder U0 (
    .clk(clk),
    .rst(rst),
    .oe(oe),
    .we(we),
    .ext_phase_a(ext_phase_a),
    .ext_phase_b(ext_phase_b),
    .direction(leds[15]),
    .data(data)
);

endmodule
module QuadratureTop(
	input wire clk,
	input wire rst,
	input wire ext_phase_a,
	input wire ext_phase_b,
	input wire off_led,
	input wire output_enable,
	output wire [15:0] leds
);


wire [31:0] data;
wire oe;
wire we;

assign oe = output_enable;
assign we = 0;
assign leds[14:0] = (oe && off_led) ? data[14:0] : 0;

QuadratureDecoder U0 (
    .clk(clk),
    .rst(rst),
    .oe(oe),
    .we(we),
    .ext_phase_a(ext_phase_a),
    .ext_phase_b(ext_phase_b),
    .direction(leds[15]),
    .data(data)
);

endmodule