data/full_repos/permissive/496903659/103 exams#ece241_2014_q7a.v
1: b'%Error: Cannot find file containing module: data/full_repos/permissive/496903659/103\n        ... Looked in:\n             data/full_repos/permissive/496903659,data/full_repos/permissive/496903659/data/full_repos/permissive/496903659/103\n             data/full_repos/permissive/496903659,data/full_repos/permissive/496903659/data/full_repos/permissive/496903659/103.v\n             data/full_repos/permissive/496903659,data/full_repos/permissive/496903659/data/full_repos/permissive/496903659/103.sv\n             data/full_repos/permissive/496903659/103\n             data/full_repos/permissive/496903659/103.v\n             data/full_repos/permissive/496903659/103.sv\n             obj_dir/data/full_repos/permissive/496903659/103\n             obj_dir/data/full_repos/permissive/496903659/103.v\n             obj_dir/data/full_repos/permissive/496903659/103.sv\n%Error: Cannot find file containing module: exams#ece241_2014_q7a.v\n%Error: Exiting due to 2 error(s)\n'
module top_module (
    input clk,
    input reset,
    input enable,
    output [3:0] Q,
    output c_enable,
    output c_load,
    output [3:0] c_d
); 
    
    assign c_enable = enable;
    assign c_load = reset | ((Q == 4'd12) && enable == 1'b1);
    assign c_d = 4'd1;
    count4 the_counter (
        .clk    (clk        ),
        .enable    (c_enable   ),
        .load    (c_load     ),
        .d        (c_d        ),
        .Q        (Q          )
    );

endmodule
module top_module (
    input clk,
    input reset,
    input enable,
    output [3:0] Q,
    output c_enable,
    output c_load,
    output [3:0] c_d
);
 
    
    assign c_enable = enable;
    assign c_load = reset | ((Q == 4'd12) && enable == 1'b1);
    assign c_d = 4'd1;
    count4 the_counter (
        .clk    (clk        ),
        .enable    (c_enable   ),
        .load    (c_load     ),
        .d        (c_d        ),
        .Q        (Q          )
    );

endmodule