data/full_repos/permissive/176378198/Instruction-Set-Generator/Python-Script/BRAM_template_module.v
 line:5: before: "{"
1: b"%Error: data/full_repos/permissive/176378198/Instruction-Set-Generator/Python-Script/BRAM_template_module.v:5: syntax error, unexpected '{'\n {module_name}_v_\n ^\n%Error: data/full_repos/permissive/176378198/Instruction-Set-Generator/Python-Script/BRAM_template_module.v:28: Number is missing value digits: 256'h\n    defparam ram256x16_inst.INIT_0 = 256'h${data_0};\n                                     ^~~~~\n%Error: data/full_repos/permissive/176378198/Instruction-Set-Generator/Python-Script/BRAM_template_module.v:29: Number is missing value digits: 256'h\n    defparam ram256x16_inst.INIT_1 = 256'h${data_1};\n                                     ^~~~~\n%Error: data/full_repos/permissive/176378198/Instruction-Set-Generator/Python-Script/BRAM_template_module.v:30: Number is missing value digits: 256'h\n    defparam ram256x16_inst.INIT_2 = 256'h${data_2};\n                                     ^~~~~\n%Error: data/full_repos/permissive/176378198/Instruction-Set-Generator/Python-Script/BRAM_template_module.v:31: Number is missing value digits: 256'h\n    defparam ram256x16_inst.INIT_3 = 256'h${data_3};\n                                     ^~~~~\n%Error: data/full_repos/permissive/176378198/Instruction-Set-Generator/Python-Script/BRAM_template_module.v:32: Number is missing value digits: 256'h\n    defparam ram256x16_inst.INIT_4 = 256'h${data_4};\n                                     ^~~~~\n%Error: data/full_repos/permissive/176378198/Instruction-Set-Generator/Python-Script/BRAM_template_module.v:33: Number is missing value digits: 256'h\n    defparam ram256x16_inst.INIT_5 = 256'h${data_5};\n                                     ^~~~~\n%Error: data/full_repos/permissive/176378198/Instruction-Set-Generator/Python-Script/BRAM_template_module.v:34: Number is missing value digits: 256'h\n    defparam ram256x16_inst.INIT_6 = 256'h${data_6};\n                                     ^~~~~\n%Error: data/full_repos/permissive/176378198/Instruction-Set-Generator/Python-Script/BRAM_template_module.v:35: Number is missing value digits: 256'h\n    defparam ram256x16_inst.INIT_7 = 256'h${data_7};\n                                     ^~~~~\n%Error: data/full_repos/permissive/176378198/Instruction-Set-Generator/Python-Script/BRAM_template_module.v:36: Number is missing value digits: 256'h\n    defparam ram256x16_inst.INIT_8 = 256'h${data_8};\n                                     ^~~~~\n%Error: data/full_repos/permissive/176378198/Instruction-Set-Generator/Python-Script/BRAM_template_module.v:37: Number is missing value digits: 256'h\n    defparam ram256x16_inst.INIT_9 = 256'h${data_9};\n                                     ^~~~~\n%Error: data/full_repos/permissive/176378198/Instruction-Set-Generator/Python-Script/BRAM_template_module.v:38: Number is missing value digits: 256'h\n    defparam ram256x16_inst.INIT_A = 256'h${data_A};\n                                     ^~~~~\n%Error: data/full_repos/permissive/176378198/Instruction-Set-Generator/Python-Script/BRAM_template_module.v:39: Number is missing value digits: 256'h\n    defparam ram256x16_inst.INIT_B = 256'h${data_B};\n                                     ^~~~~\n%Error: data/full_repos/permissive/176378198/Instruction-Set-Generator/Python-Script/BRAM_template_module.v:40: Number is missing value digits: 256'h\n    defparam ram256x16_inst.INIT_C = 256'h${data_C};\n                                     ^~~~~\n%Error: data/full_repos/permissive/176378198/Instruction-Set-Generator/Python-Script/BRAM_template_module.v:41: Number is missing value digits: 256'h\n    defparam ram256x16_inst.INIT_D = 256'h${data_D};\n                                     ^~~~~\n%Error: data/full_repos/permissive/176378198/Instruction-Set-Generator/Python-Script/BRAM_template_module.v:42: Number is missing value digits: 256'h\n    defparam ram256x16_inst.INIT_E = 256'h${data_E};\n                                     ^~~~~\n%Error: data/full_repos/permissive/176378198/Instruction-Set-Generator/Python-Script/BRAM_template_module.v:43: Number is missing value digits: 256'h\n    defparam ram256x16_inst.INIT_F = 256'h${data_F};\n                                     ^~~~~\n%Error: Exiting due to 17 error(s)\n"
module ${module_name} (
    input  [7  : 0] address,
    output [15 : 0] data,
    input clk
    );

    SB_RAM256x16 ram256x16_inst (
        .RADDR(address),
        .RCLK(clk),
        .RCLKE(1'b1),
        .RDATA(data),
        .RE(1'b1),
        .WDATA(16'b0),
        .WADDR(8'b0),
        .WCLK(1'b0),
        .WCLKE(1'b0),
        .WE(1'b0),
        .MASK(16'b0)
    );

    defparam ram256x16_inst.INIT_0 = 256'h${data_0};
    defparam ram256x16_inst.INIT_1 = 256'h${data_1};
    defparam ram256x16_inst.INIT_2 = 256'h${data_2};
    defparam ram256x16_inst.INIT_3 = 256'h${data_3};
    defparam ram256x16_inst.INIT_4 = 256'h${data_4};
    defparam ram256x16_inst.INIT_5 = 256'h${data_5};
    defparam ram256x16_inst.INIT_6 = 256'h${data_6};
    defparam ram256x16_inst.INIT_7 = 256'h${data_7};
    defparam ram256x16_inst.INIT_8 = 256'h${data_8};
    defparam ram256x16_inst.INIT_9 = 256'h${data_9};
    defparam ram256x16_inst.INIT_A = 256'h${data_A};
    defparam ram256x16_inst.INIT_B = 256'h${data_B};
    defparam ram256x16_inst.INIT_C = 256'h${data_C};
    defparam ram256x16_inst.INIT_D = 256'h${data_D};
    defparam ram256x16_inst.INIT_E = 256'h${data_E};
    defparam ram256x16_inst.INIT_F = 256'h${data_F};

endmodule
module ${module_name} (
    input  [7  : 0] address,
    output [15 : 0] data,
    input clk
    );


    SB_RAM256x16 ram256x16_inst (
        .RADDR(address),
        .RCLK(clk),
        .RCLKE(1'b1),
        .RDATA(data),
        .RE(1'b1),
        .WDATA(16'b0),
        .WADDR(8'b0),
        .WCLK(1'b0),
        .WCLKE(1'b0),
        .WE(1'b0),
        .MASK(16'b0)
    );

    defparam ram256x16_inst.INIT_0 = 256'h${data_0};
    defparam ram256x16_inst.INIT_1 = 256'h${data_1};
    defparam ram256x16_inst.INIT_2 = 256'h${data_2};
    defparam ram256x16_inst.INIT_3 = 256'h${data_3};
    defparam ram256x16_inst.INIT_4 = 256'h${data_4};
    defparam ram256x16_inst.INIT_5 = 256'h${data_5};
    defparam ram256x16_inst.INIT_6 = 256'h${data_6};
    defparam ram256x16_inst.INIT_7 = 256'h${data_7};
    defparam ram256x16_inst.INIT_8 = 256'h${data_8};
    defparam ram256x16_inst.INIT_9 = 256'h${data_9};
    defparam ram256x16_inst.INIT_A = 256'h${data_A};
    defparam ram256x16_inst.INIT_B = 256'h${data_B};
    defparam ram256x16_inst.INIT_C = 256'h${data_C};
    defparam ram256x16_inst.INIT_D = 256'h${data_D};
    defparam ram256x16_inst.INIT_E = 256'h${data_E};
    defparam ram256x16_inst.INIT_F = 256'h${data_F};

endmodule