data/full_repos/permissive/216192770/MCU2.v
 line:90: before: "/"
1: b"%Error: data/full_repos/permissive/216192770/MCU2.v:50: Cannot find file containing module: 'Ram'\n    Ram myRam(DataIntoRam, DataFromRam, RamAddr, RamCS, RamWE, RamRE);\n    ^~~\n        ... Looked in:\n             data/full_repos/permissive/216192770,data/full_repos/permissive/216192770/Ram\n             data/full_repos/permissive/216192770,data/full_repos/permissive/216192770/Ram.v\n             data/full_repos/permissive/216192770,data/full_repos/permissive/216192770/Ram.sv\n             Ram\n             Ram.v\n             Ram.sv\n             obj_dir/Ram\n             obj_dir/Ram.v\n             obj_dir/Ram.sv\n%Error: data/full_repos/permissive/216192770/MCU2.v:52: Cannot find file containing module: 'Rom'\n    Rom ProgramMemory(ProgramCode, RomAddr, RomCS, RomRE);\n    ^~~\n%Error: data/full_repos/permissive/216192770/MCU2.v:54: Cannot find file containing module: 'ALU'\n    ALU MainALU(FunctionSelect, ar, br, DataACC);\n    ^~~\n%Error: data/full_repos/permissive/216192770/MCU2.v:56: Cannot find file containing module: 'timer'\n    timer myTimer(clk, TimerCS, TimerWR, TimerSTART, TimerRD, TimerDataIn, TimerINT, TimerValue);\n    ^~~~~\n%Error: data/full_repos/permissive/216192770/MCU2.v:58: Cannot find file containing module: 'controller'\n    controller MainController(.clk(clk),\n    ^~~~~~~~~~\n%Error: data/full_repos/permissive/216192770/MCU2.v:87: Cannot find file containing module: 'NixieTube'\n    NixieTube myNT(datadisplay, drive);\n    ^~~~~~~~~\n%Error: Exiting due to 6 error(s)\n"
module MCU2(
    input  clk,
    input  rst,
    input  [15:0] portIn,
    input exINT,
    output [15:0] portOut,
    output [31:0] drive,
    output PinOut
);


    wire [15:0] ProgramCode;
    wire [7:0] RomAddr;
    wire RomCS;
    wire RomRE;



    wire [3:0] FunctionSelect;
    wire [15:0] ar, br;
    wire [31:0] DataACC;






    wire RamCS;
    wire RamRE;
    wire RamWE;
    wire [7:0] RamAddr;
    wire [15:0] DataFromRam;
    wire [15:0] DataIntoRam;


    wire TimerCS;
    wire TimerWR;
    wire TimerSTART;
    wire TimerRD;
    wire [15:0] TimerDataIn;
    wire TimerINT;
    wire [15:0] TimerValue;

    wire [15:0] datadisplay;

    assign datadisplay = portOut;



    Ram myRam(DataIntoRam, DataFromRam, RamAddr, RamCS, RamWE, RamRE);
    
    Rom ProgramMemory(ProgramCode, RomAddr, RomCS, RomRE);

    ALU MainALU(FunctionSelect, ar, br, DataACC);

    timer myTimer(clk, TimerCS, TimerWR, TimerSTART, TimerRD, TimerDataIn, TimerINT, TimerValue);

    controller MainController(.clk(clk),
                              .rst(rst),
                              .rom_cs(RomCS), 
                              .re(RomRE), 
                              .EXT_INT(exINT),
                              .timer_INT(TimerINT),
                              .timer_value(TimerValue),
                              .timer_cs(TimerCS),
                              .timer_wr(TimerWR),
                              .timer_start(TimerSTART),
                              .timer_rd(TimerRD),
                              .timer_datain(TimerDataIn),
                              .ProgramCode(ProgramCode), 
                              .addr(RomAddr), 
                              .dataACC(DataACC),
                              .functionSelect(FunctionSelect),
                              .arin(ar),
                              .brin(br),
                              .ramData(DataFromRam),
                              .ram_data_out(DataIntoRam),
                              .ram_cs(RamCS),
                              .ram_re(RamRE),
                              .ram_we(RamWE),
                              .portOut(portOut),
                              .PinOut(PinOut),
                              .portIn(portIn),
                              .ram_addr(RamAddr)
                             );

    NixieTube myNT(datadisplay, drive);


endmodule
module MCU2(
    input  clk,
    input  rst,
    input  [15:0] portIn,
    input exINT,
    output [15:0] portOut,
    output [31:0] drive,
    output PinOut
);



    wire [15:0] ProgramCode;
    wire [7:0] RomAddr;
    wire RomCS;
    wire RomRE;



    wire [3:0] FunctionSelect;
    wire [15:0] ar, br;
    wire [31:0] DataACC;






    wire RamCS;
    wire RamRE;
    wire RamWE;
    wire [7:0] RamAddr;
    wire [15:0] DataFromRam;
    wire [15:0] DataIntoRam;


    wire TimerCS;
    wire TimerWR;
    wire TimerSTART;
    wire TimerRD;
    wire [15:0] TimerDataIn;
    wire TimerINT;
    wire [15:0] TimerValue;

    wire [15:0] datadisplay;

    assign datadisplay = portOut;



    Ram myRam(DataIntoRam, DataFromRam, RamAddr, RamCS, RamWE, RamRE);
    
    Rom ProgramMemory(ProgramCode, RomAddr, RomCS, RomRE);

    ALU MainALU(FunctionSelect, ar, br, DataACC);

    timer myTimer(clk, TimerCS, TimerWR, TimerSTART, TimerRD, TimerDataIn, TimerINT, TimerValue);

    controller MainController(.clk(clk),
                              .rst(rst),
                              .rom_cs(RomCS), 
                              .re(RomRE), 
                              .EXT_INT(exINT),
                              .timer_INT(TimerINT),
                              .timer_value(TimerValue),
                              .timer_cs(TimerCS),
                              .timer_wr(TimerWR),
                              .timer_start(TimerSTART),
                              .timer_rd(TimerRD),
                              .timer_datain(TimerDataIn),
                              .ProgramCode(ProgramCode), 
                              .addr(RomAddr), 
                              .dataACC(DataACC),
                              .functionSelect(FunctionSelect),
                              .arin(ar),
                              .brin(br),
                              .ramData(DataFromRam),
                              .ram_data_out(DataIntoRam),
                              .ram_cs(RamCS),
                              .ram_re(RamRE),
                              .ram_we(RamWE),
                              .portOut(portOut),
                              .PinOut(PinOut),
                              .portIn(portIn),
                              .ram_addr(RamAddr)
                             );

    NixieTube myNT(datadisplay, drive);


endmodule