data/full_repos/permissive/449652714/src/sources_1/rtl/main.v
1: b'%Error: data/full_repos/permissive/449652714/src/sources_1/rtl/main.v:7: Cannot find include file: define.vh\n`include "define.vh" \n         ^~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/449652714/src/sources_1/rtl,data/full_repos/permissive/449652714/define.vh\n             data/full_repos/permissive/449652714/src/sources_1/rtl,data/full_repos/permissive/449652714/define.vh.v\n             data/full_repos/permissive/449652714/src/sources_1/rtl,data/full_repos/permissive/449652714/define.vh.sv\n             define.vh\n             define.vh.v\n             define.vh.sv\n             obj_dir/define.vh\n             obj_dir/define.vh.v\n             obj_dir/define.vh.sv\n%Error: data/full_repos/permissive/449652714/src/sources_1/rtl/main.v:248: Define or directive not defined: \'`TIMEOUT\'\n        if(w_btnc | w_halt | w_finish | (w_core_odata > `TIMEOUT)) r_stop <= 1;\n                                                        ^~~~~~~~\n%Error: data/full_repos/permissive/449652714/src/sources_1/rtl/main.v:248: syntax error, unexpected \')\', expecting TYPE-IDENTIFIER\n        if(w_btnc | w_halt | w_finish | (w_core_odata > `TIMEOUT)) r_stop <= 1;\n                                                                ^\n%Error: data/full_repos/permissive/449652714/src/sources_1/rtl/main.v:439: Define or directive not defined: \'`PRIV_U\'\n                                            (w_priv == `PRIV_U) ? 3\'b001 :\n                                                       ^~~~~~~\n%Error: data/full_repos/permissive/449652714/src/sources_1/rtl/main.v:439: syntax error, unexpected \')\', expecting TYPE-IDENTIFIER\n                                            (w_priv == `PRIV_U) ? 3\'b001 :\n                                                              ^\n%Error: data/full_repos/permissive/449652714/src/sources_1/rtl/main.v:440: Define or directive not defined: \'`PRIV_S\'\n                                            (w_priv == `PRIV_S) ? 3\'b010 :\n                                                       ^~~~~~~\n%Error: data/full_repos/permissive/449652714/src/sources_1/rtl/main.v:441: Define or directive not defined: \'`PRIV_M\'\n                                            (w_priv == `PRIV_M) ? 3\'b100 : 0;\n                                                       ^~~~~~~\n%Error: Exiting due to 7 error(s)\n'
module m_7segled (w_in, r_led);
    input  wire [3:0] w_in;
    output reg  [7:0] r_led;
    always @(*) begin
        case (w_in)
        4'h0  : r_led <= 8'b01111110;
        4'h1  : r_led <= 8'b00110000;
        4'h2  : r_led <= 8'b01101101;
        4'h3  : r_led <= 8'b01111001;
        4'h4  : r_led <= 8'b00110011;
        4'h5  : r_led <= 8'b01011011;
        4'h6  : r_led <= 8'b01011111;
        4'h7  : r_led <= 8'b01110000;
        4'h8  : r_led <= 8'b01111111;
        4'h9  : r_led <= 8'b01111011;
        4'ha  : r_led <= 8'b01110111;
        4'hb  : r_led <= 8'b00011111;
        4'hc  : r_led <= 8'b01001110;
        4'hd  : r_led <= 8'b00111101;
        4'he  : r_led <= 8'b01001111;
        4'hf  : r_led <= 8'b01000111;
        default:r_led <= 8'b00000000;
        endcase
    end
endmodule
module m_7segled (w_in, r_led);

    input  wire [3:0] w_in;
    output reg  [7:0] r_led;
    always @(*) begin
        case (w_in)
        4'h0  : r_led <= 8'b01111110;
        4'h1  : r_led <= 8'b00110000;
        4'h2  : r_led <= 8'b01101101;
        4'h3  : r_led <= 8'b01111001;
        4'h4  : r_led <= 8'b00110011;
        4'h5  : r_led <= 8'b01011011;
        4'h6  : r_led <= 8'b01011111;
        4'h7  : r_led <= 8'b01110000;
        4'h8  : r_led <= 8'b01111111;
        4'h9  : r_led <= 8'b01111011;
        4'ha  : r_led <= 8'b01110111;
        4'hb  : r_led <= 8'b00011111;
        4'hc  : r_led <= 8'b01001110;
        4'hd  : r_led <= 8'b00111101;
        4'he  : r_led <= 8'b01001111;
        4'hf  : r_led <= 8'b01000111;
        default:r_led <= 8'b00000000;
        endcase
    end
endmodule