data/full_repos/permissive/444559342/mp3/hvl/shadow_memory.sv
1: b"%Error: data/full_repos/permissive/444559342/mp3/hvl/shadow_memory.sv:37: syntax error, unexpected '@'\n        @(cache_itf.cmcb iff cache_itf.cmcb.read || cache_itf.cmcb.write)\n        ^\n%Error: data/full_repos/permissive/444559342/mp3/hvl/shadow_memory.sv:42: syntax error, unexpected else\n        else begin\n        ^~~~\n%Error: data/full_repos/permissive/444559342/mp3/hvl/shadow_memory.sv:47: syntax error, unexpected '@'\n        @(cache_itf.cmcb iff cache_itf.cmcb.resp)\n        ^\n%Error: Cannot continue\n"
function automatic void write(logic [31:0] addr, logic [31:0] wdata,
                              logic [3:0] mem_byte_enable);
    logic [255:0] line;
    line = _mem[addr[31:5]];
    foreach (mem_byte_enable[i]) begin
        if (mem_byte_enable[i])
            line[8*({addr[4:2], 2'b00} + i) +: 8] = wdata[8*i +: 8];
    end
    _mem[addr[31:5]] = line;
endfunction
function automatic void write(logic [31:0] addr, logic [31:0] wdata,
                              logic [3:0] mem_byte_enable);

    logic [255:0] line;
    line = _mem[addr[31:5]];
    foreach (mem_byte_enable[i]) begin
        if (mem_byte_enable[i])
            line[8*({addr[4:2], 2'b00} + i) +: 8] = wdata[8*i +: 8];
    end
    _mem[addr[31:5]] = line;
endfunction