data/full_repos/permissive/423547971/FPGA Projects/Nexys to Basys Test 1(ROM to RAM)/Nexys Video part/rom.v
1: b'%Error: Cannot find file containing module: Projects/Nexys\n        ... Looked in:\n             data/full_repos/permissive/423547971/FPGA/Projects/Nexys\n             data/full_repos/permissive/423547971/FPGA/Projects/Nexys.v\n             data/full_repos/permissive/423547971/FPGA/Projects/Nexys.sv\n             Projects/Nexys\n             Projects/Nexys.v\n             Projects/Nexys.sv\n             obj_dir/Projects/Nexys\n             obj_dir/Projects/Nexys.v\n             obj_dir/Projects/Nexys.sv\n%Error: Cannot find file containing module: to\n%Error: Cannot find file containing module: Basys\n%Error: Cannot find file containing module: Test\n%Error: Cannot find file containing module: 1(ROM\n%Error: Cannot find file containing module: RAM)/Nexys\n%Error: Cannot find file containing module: Video\n%Error: Cannot find file containing module: part,data/full_repos/permissive/423547971\n%Error: Cannot find file containing module: data/full_repos/permissive/423547971/FPGA\n%Error: Cannot find file containing module: part/rom.v\n%Error: Exiting due to 10 error(s)\n'
module rom(
    input [3:0] addr,
    output reg [3:0] data
    );
    
    always @*
        case(addr)
            4'h0 : data = 4'hF;
            4'h1 : data = 4'hE;
            4'h2 : data = 4'hD;
            4'h3 : data = 4'hC;
            4'h4 : data = 4'hB;
            4'h5 : data = 4'hA;
            4'h6 : data = 4'h9;
            4'h7 : data = 4'h8;
            4'h8 : data = 4'h7;
            4'h9 : data = 4'h6;
            4'hA : data = 4'h5;
            4'hB : data = 4'h4;
            4'hC : data = 4'h3;
            4'hD : data = 4'h2;
            4'hE : data = 4'h1;
            4'hF : data = 4'h0;
        endcase
    
endmodule
module rom(
    input [3:0] addr,
    output reg [3:0] data
    );

    
    always @*
        case(addr)
            4'h0 : data = 4'hF;
            4'h1 : data = 4'hE;
            4'h2 : data = 4'hD;
            4'h3 : data = 4'hC;
            4'h4 : data = 4'hB;
            4'h5 : data = 4'hA;
            4'h6 : data = 4'h9;
            4'h7 : data = 4'h8;
            4'h8 : data = 4'h7;
            4'h9 : data = 4'h6;
            4'hA : data = 4'h5;
            4'hB : data = 4'h4;
            4'hC : data = 4'h3;
            4'hD : data = 4'h2;
            4'hE : data = 4'h1;
            4'hF : data = 4'h0;
        endcase
    
endmodule