data/full_repos/permissive/493441306/Circuits/Combinational Logic/12_ringer.v
1: b'%Error: Cannot find file containing module: Logic,data/full_repos/permissive/493441306\n        ... Looked in:\n             data/full_repos/permissive/493441306/Circuits/Combinational/Logic,data/full_repos/permissive/493441306\n             data/full_repos/permissive/493441306/Circuits/Combinational/Logic,data/full_repos/permissive/493441306.v\n             data/full_repos/permissive/493441306/Circuits/Combinational/Logic,data/full_repos/permissive/493441306.sv\n             Logic,data/full_repos/permissive/493441306\n             Logic,data/full_repos/permissive/493441306.v\n             Logic,data/full_repos/permissive/493441306.sv\n             obj_dir/Logic,data/full_repos/permissive/493441306\n             obj_dir/Logic,data/full_repos/permissive/493441306.v\n             obj_dir/Logic,data/full_repos/permissive/493441306.sv\n%Error: Cannot find file containing module: data/full_repos/permissive/493441306/Circuits/Combinational\n%Error: Cannot find file containing module: Logic/12_ringer.v\n%Error: Exiting due to 3 error(s)\n'
module top_module (
    input ring,
    input vibrate_mode,
    output ringer,
    output motor
);
    
    always@(*) begin
        
        ringer = 1'b0;
        motor = 1'b0;
        
        if(vibrate_mode) begin
            if(ring)
                motor = 1'b1;
        end
    	else begin
            if(ring)
                ringer = 1'b1;
        end
    end

endmodule
module top_module (
    input ring,
    input vibrate_mode,
    output ringer,
    output motor
);

    
    always@(*) begin
        
        ringer = 1'b0;
        motor = 1'b0;
        
        if(vibrate_mode) begin
            if(ring)
                motor = 1'b1;
        end
    	else begin
            if(ring)
                ringer = 1'b1;
        end
    end

endmodule