data/full_repos/permissive/195227969/work/code/sb_sim_rtl/SB_RAM40_4K.v
 line:50: before: "case"
data/verilator_xmls/6345ccb1-b353-4072-b15a-f2cb0251d2fe.xml
function [1:0] get_as_2;
      input [10:0]    adr;

      reg [15:0]      rmask_i = adr[10] ?
                      (adr[9] ? (adr[8] ? 16'h7f7f : 16'hbfbf) : (adr[8] ? 16'hdfdf : 16'hefef)) :
                      (adr[9] ? (adr[8] ? 16'hf7f7 : 16'hfbfb) : (adr[8] ? 16'hfdfd : 16'hfefe));
      reg [15:0]      d_i = memory[adr[7:0]] & ~rmask_i;
      get_as_2 = {|d_i[15:8], |d_i[7:0]};
   endfunction
function [1:0] get_as_2;

      input [10:0]    adr;

      reg [15:0]      rmask_i = adr[10] ?
                      (adr[9] ? (adr[8] ? 16'h7f7f : 16'hbfbf) : (adr[8] ? 16'hdfdf : 16'hefef)) :
                      (adr[9] ? (adr[8] ? 16'hf7f7 : 16'hfbfb) : (adr[8] ? 16'hfdfd : 16'hfefe));
      reg [15:0]      d_i = memory[adr[7:0]] & ~rmask_i;
      get_as_2 = {|d_i[15:8], |d_i[7:0]};
   endfunction