data/full_repos/permissive/433122322/src/segment.v
1: b"%Error: data/full_repos/permissive/433122322/src/segment.v:13: Cannot find file containing module: 'seg_encoder'\nseg_encoder b_sel1(\n^~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/433122322/src,data/full_repos/permissive/433122322/seg_encoder\n             data/full_repos/permissive/433122322/src,data/full_repos/permissive/433122322/seg_encoder.v\n             data/full_repos/permissive/433122322/src,data/full_repos/permissive/433122322/seg_encoder.sv\n             seg_encoder\n             seg_encoder.v\n             seg_encoder.sv\n             obj_dir/seg_encoder\n             obj_dir/seg_encoder.v\n             obj_dir/seg_encoder.sv\n%Error: data/full_repos/permissive/433122322/src/segment.v:20: Cannot find file containing module: 'seg_encoder'\nseg_encoder b_sel2(\n^~~~~~~~~~~\n%Error: data/full_repos/permissive/433122322/src/segment.v:26: Cannot find file containing module: 'seg_encoder'\nseg_encoder b_sel3(\n^~~~~~~~~~~\n%Error: data/full_repos/permissive/433122322/src/segment.v:32: Cannot find file containing module: 'seg_scan'\nseg_scan seg_scan(\n^~~~~~~~\n%Error: Exiting due to 4 error(s)\n"
module segment(
	input clk,
	input rst_n,
	input [2: 0] s0,
	input [1: 0] s1,
	input [2: 0] s2,
	output [5:0] seg_sel,
   output [7:0] seg_data
);


wire[6:0] seg_data_1;
seg_encoder b_sel1(
		.bin_data(s0),
		.seg_data({seg_data_1})
);


wire[6:0] seg_data_2;
seg_encoder b_sel2(
		.bin_data(s1),
		.seg_data({seg_data_2})
);

wire[6:0] seg_data_3;
seg_encoder b_sel3(
		.bin_data(s2),
		.seg_data({seg_data_3})
);


seg_scan seg_scan(
    .clk        (clk),
    .rst_n      (rst_n),
    .seg_sel    (seg_sel),
    .seg_data   (seg_data),
    .seg_data_0 ({1'b1,seg_data_1}),
    .seg_data_1 ({1'b1,seg_data_2}), 
    .seg_data_2 ({1'b1,seg_data_3}),
    .seg_data_3 (8'b1111_1111),
    .seg_data_4 (8'b1111_1111),
    .seg_data_5 (8'b1111_1111)
);

endmodule
module segment(
	input clk,
	input rst_n,
	input [2: 0] s0,
	input [1: 0] s1,
	input [2: 0] s2,
	output [5:0] seg_sel,
   output [7:0] seg_data
);



wire[6:0] seg_data_1;
seg_encoder b_sel1(
		.bin_data(s0),
		.seg_data({seg_data_1})
);


wire[6:0] seg_data_2;
seg_encoder b_sel2(
		.bin_data(s1),
		.seg_data({seg_data_2})
);

wire[6:0] seg_data_3;
seg_encoder b_sel3(
		.bin_data(s2),
		.seg_data({seg_data_3})
);


seg_scan seg_scan(
    .clk        (clk),
    .rst_n      (rst_n),
    .seg_sel    (seg_sel),
    .seg_data   (seg_data),
    .seg_data_0 ({1'b1,seg_data_1}),
    .seg_data_1 ({1'b1,seg_data_2}), 
    .seg_data_2 ({1'b1,seg_data_3}),
    .seg_data_3 (8'b1111_1111),
    .seg_data_4 (8'b1111_1111),
    .seg_data_5 (8'b1111_1111)
);

endmodule