data/full_repos/permissive/178601407/flexpad-and-leds/flexpad_and_leds.v
1: b"%Error: data/full_repos/permissive/178601407/flexpad-and-leds/flexpad_and_leds.v:36: Cannot find file containing module: 'SB_IO'\n SB_IO #(\n ^~~~~\n        ... Looked in:\n             data/full_repos/permissive/178601407/flexpad-and-leds,data/full_repos/permissive/178601407/SB_IO\n             data/full_repos/permissive/178601407/flexpad-and-leds,data/full_repos/permissive/178601407/SB_IO.v\n             data/full_repos/permissive/178601407/flexpad-and-leds,data/full_repos/permissive/178601407/SB_IO.sv\n             SB_IO\n             SB_IO.v\n             SB_IO.sv\n             obj_dir/SB_IO\n             obj_dir/SB_IO.v\n             obj_dir/SB_IO.sv\n%Error: data/full_repos/permissive/178601407/flexpad-and-leds/flexpad_and_leds.v:45: Cannot find file containing module: 'SB_IO'\n SB_IO #(\n ^~~~~\n%Error: data/full_repos/permissive/178601407/flexpad-and-leds/flexpad_and_leds.v:54: Cannot find file containing module: 'SB_IO'\n SB_IO #(\n ^~~~~\n%Error: data/full_repos/permissive/178601407/flexpad-and-leds/flexpad_and_leds.v:63: Cannot find file containing module: 'SB_IO'\n SB_IO #(\n ^~~~~\n%Error: Exiting due to 4 error(s)\n"
module top(
	input KEYPAD_ROW_0,
	input KEYPAD_ROW_1,
	input KEYPAD_ROW_2,
	input KEYPAD_ROW_3,
	output KEYPAD_COL_0,
	output KEYPAD_COL_1,
	output KEYPAD_COL_2,
	output LED2,
	output LED3,
	output LED4,
	output LED5
);


	wire keypad_row_0_din;
	SB_IO #(
		.PIN_TYPE(6'b000001),
		.PULLUP(1'b1)
	) keypad_row_0_config (
		.PACKAGE_PIN(KEYPAD_ROW_0),
		.D_IN_0(keypad_row_0_din)
	);

	wire keypad_row_1_din;
	SB_IO #(
		.PIN_TYPE(6'b000001),
		.PULLUP(1'b1)
	) keypad_row_1_config (
		.PACKAGE_PIN(KEYPAD_ROW_1),
		.D_IN_0(keypad_row_1_din)
	);

	wire keypad_row_2_din;
	SB_IO #(
		.PIN_TYPE(6'b000001),
		.PULLUP(1'b1)
	) keypad_row_2_config (
		.PACKAGE_PIN(KEYPAD_ROW_2),
		.D_IN_0(keypad_row_2_din)
	);

	wire keypad_row_3_din;
	SB_IO #(
		.PIN_TYPE(6'b000001),
		.PULLUP(1'b1)
	) keypad_row_3_config (
		.PACKAGE_PIN(KEYPAD_ROW_3),
		.D_IN_0(keypad_row_3_din)
	);


	flexpad_and_leds flexpad_and_leds_inst(
		keypad_row_0_din,
		keypad_row_1_din,
		keypad_row_2_din,
		keypad_row_3_din,
		KEYPAD_COL_0,
		KEYPAD_COL_1,
		KEYPAD_COL_2,
		LED2,
		LED3,
		LED4,
		LED5);

endmodule
module top(
	input KEYPAD_ROW_0,
	input KEYPAD_ROW_1,
	input KEYPAD_ROW_2,
	input KEYPAD_ROW_3,
	output KEYPAD_COL_0,
	output KEYPAD_COL_1,
	output KEYPAD_COL_2,
	output LED2,
	output LED3,
	output LED4,
	output LED5
);



	wire keypad_row_0_din;
	SB_IO #(
		.PIN_TYPE(6'b000001),
		.PULLUP(1'b1)
	) keypad_row_0_config (
		.PACKAGE_PIN(KEYPAD_ROW_0),
		.D_IN_0(keypad_row_0_din)
	);

	wire keypad_row_1_din;
	SB_IO #(
		.PIN_TYPE(6'b000001),
		.PULLUP(1'b1)
	) keypad_row_1_config (
		.PACKAGE_PIN(KEYPAD_ROW_1),
		.D_IN_0(keypad_row_1_din)
	);

	wire keypad_row_2_din;
	SB_IO #(
		.PIN_TYPE(6'b000001),
		.PULLUP(1'b1)
	) keypad_row_2_config (
		.PACKAGE_PIN(KEYPAD_ROW_2),
		.D_IN_0(keypad_row_2_din)
	);

	wire keypad_row_3_din;
	SB_IO #(
		.PIN_TYPE(6'b000001),
		.PULLUP(1'b1)
	) keypad_row_3_config (
		.PACKAGE_PIN(KEYPAD_ROW_3),
		.D_IN_0(keypad_row_3_din)
	);


	flexpad_and_leds flexpad_and_leds_inst(
		keypad_row_0_din,
		keypad_row_1_din,
		keypad_row_2_din,
		keypad_row_3_din,
		KEYPAD_COL_0,
		KEYPAD_COL_1,
		KEYPAD_COL_2,
		LED2,
		LED3,
		LED4,
		LED5);

endmodule