data/full_repos/permissive/444555755/mp4/hvl/shadow_memory.sv
1: b"%Error: data/full_repos/permissive/444555755/mp4/hvl/shadow_memory.sv:49: Unsupported: fork statements\n    fork\n    ^~~~\n%Error: data/full_repos/permissive/444555755/mp4/hvl/shadow_memory.sv:52: syntax error, unexpected '@'\n                @(sm_itf.smcb iff (sm_itf.smcb.read_a && sm_itf.smcb.resp_a))\n                ^\n%Error: data/full_repos/permissive/444555755/mp4/hvl/shadow_memory.sv:65: syntax error, unexpected '@'\n                @(sm_itf.smcb iff ((sm_itf.smcb.read_b || sm_itf.smcb.write) && sm_itf.smcb.resp_b))\n                ^\n%Error: data/full_repos/permissive/444555755/mp4/hvl/shadow_memory.sv:70: syntax error, unexpected else\n                else begin\n                ^~~~\n%Error: data/full_repos/permissive/444555755/mp4/hvl/shadow_memory.sv:83: syntax error, unexpected end, expecting join or join_any or join_none\n            end\n            ^~~\n%Error: Cannot continue\n        ... See the manual and https://verilator.org for more assistance.\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