data/full_repos/permissive/147086086/Lab6/hw/bin_to_bcd/bin8_to_bcd_DE10_Lite.v
1: b"%Error: data/full_repos/permissive/147086086/Lab6/hw/bin_to_bcd/bin8_to_bcd_DE10_Lite.v:8: Cannot find file containing module: 'bin8_to_bcd'\nbin8_to_bcd bin2bcd_inst (.i_bin (SW[7:0]), \n^~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/147086086/Lab6/hw/bin_to_bcd,data/full_repos/permissive/147086086/bin8_to_bcd\n             data/full_repos/permissive/147086086/Lab6/hw/bin_to_bcd,data/full_repos/permissive/147086086/bin8_to_bcd.v\n             data/full_repos/permissive/147086086/Lab6/hw/bin_to_bcd,data/full_repos/permissive/147086086/bin8_to_bcd.sv\n             bin8_to_bcd\n             bin8_to_bcd.v\n             bin8_to_bcd.sv\n             obj_dir/bin8_to_bcd\n             obj_dir/bin8_to_bcd.v\n             obj_dir/bin8_to_bcd.sv\n%Error: data/full_repos/permissive/147086086/Lab6/hw/bin_to_bcd/bin8_to_bcd_DE10_Lite.v:12: Cannot find file containing module: 'dec_7seg'\ndec_7seg    bcd0(.i_dat (bcd[3:0]), \n^~~~~~~~\n%Error: data/full_repos/permissive/147086086/Lab6/hw/bin_to_bcd/bin8_to_bcd_DE10_Lite.v:16: Cannot find file containing module: 'dec_7seg'\ndec_7seg    bcd1(.i_dat (bcd[7:4]), \n^~~~~~~~\n%Error: data/full_repos/permissive/147086086/Lab6/hw/bin_to_bcd/bin8_to_bcd_DE10_Lite.v:20: Cannot find file containing module: 'dec_7seg'\ndec_7seg    bcd2(.i_dat (bcd[11:8]), \n^~~~~~~~\n%Error: Exiting due to 4 error(s)\n"
module bin8_to_bcd_DE10_Lite (SW, HEX0, HEX1, HEX2);

input   [9:0]   SW;
output  [6:0]   HEX0, HEX1, HEX2;

wire    [11:0]  bcd;

bin8_to_bcd bin2bcd_inst (.i_bin (SW[7:0]), 
                          .o_bcd (bcd)
                          );

dec_7seg    bcd0(.i_dat (bcd[3:0]), 
                 .o_seg (HEX0)
                 );

dec_7seg    bcd1(.i_dat (bcd[7:4]), 
                 .o_seg (HEX1)
                 );

dec_7seg    bcd2(.i_dat (bcd[11:8]), 
                 .o_seg (HEX2)
                 );

endmodule
module bin8_to_bcd_DE10_Lite (SW, HEX0, HEX1, HEX2);


input   [9:0]   SW;
output  [6:0]   HEX0, HEX1, HEX2;

wire    [11:0]  bcd;

bin8_to_bcd bin2bcd_inst (.i_bin (SW[7:0]), 
                          .o_bcd (bcd)
                          );

dec_7seg    bcd0(.i_dat (bcd[3:0]), 
                 .o_seg (HEX0)
                 );

dec_7seg    bcd1(.i_dat (bcd[7:4]), 
                 .o_seg (HEX1)
                 );

dec_7seg    bcd2(.i_dat (bcd[11:8]), 
                 .o_seg (HEX2)
                 );

endmodule