data/full_repos/permissive/183345139/projects/gpio_test/inout_example/top_inout.v
 line:70: before: ")"
1: b"%Error: data/full_repos/permissive/183345139/projects/gpio_test/inout_example/top_inout.v:70: syntax error, unexpected ')', expecting '['\n);\n^\n%Error: data/full_repos/permissive/183345139/projects/gpio_test/inout_example/top_inout.v:79: syntax error, unexpected IDENTIFIER\nSB_IO #(\n^~~~~\n%Error: Exiting due to 2 error(s)\n"
module top_inout
(
    input wire  CLK_16MHZ,
    input wire  PIN_1,
    input wire  PIN_2,
    inout wire  PIN_3,
    output reg PIN_4,
);

localparam INPUT = 0;
localparam OUTPUT = 1;

wire out_en = PIN_1;
wire in_sig;
reg out_sig;

SB_IO #(
    .PIN_TYPE(6'b 1010_01),
    .PULLUP(1'b 0)
) io_block_instance (
    .PACKAGE_PIN(PIN_3),
    .OUTPUT_ENABLE(out_en),
    .D_OUT_0(out_sig),
    .D_IN_0(in_sig)
);

gpio gpio_inst
(
    .clk(CLK_16MHZ),
    .out_en(out_en),
    .in_sig(in_sig),
    .out_sig(out_sig)
);

endmodule
module top_inout
(
    input wire  CLK_16MHZ,
    input wire  PIN_1,
    input wire  PIN_2,
    inout wire  PIN_3,
    output reg PIN_4,
);


localparam INPUT = 0;
localparam OUTPUT = 1;

wire out_en = PIN_1;
wire in_sig;
reg out_sig;

SB_IO #(
    .PIN_TYPE(6'b 1010_01),
    .PULLUP(1'b 0)
) io_block_instance (
    .PACKAGE_PIN(PIN_3),
    .OUTPUT_ENABLE(out_en),
    .D_OUT_0(out_sig),
    .D_IN_0(in_sig)
);

gpio gpio_inst
(
    .clk(CLK_16MHZ),
    .out_en(out_en),
    .in_sig(in_sig),
    .out_sig(out_sig)
);

endmodule