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 [7:0] get_as_8;
      input [8:0]     adr;

      reg [15:0]      rmask_i = adr[8] ? 16'h5555 : 16'haaaa;
      reg [15:0]      d_i = memory[adr[7:0]] & ~rmask_i;
      get_as_8 = {|d_i[15:14], |d_i[13:12], |d_i[11:10], |d_i[9:8], |d_i[7:6], |d_i[5:4], |d_i[3:2], |d_i[1:0]};
   endfunction
function [7:0] get_as_8;

      input [8:0]     adr;

      reg [15:0]      rmask_i = adr[8] ? 16'h5555 : 16'haaaa;
      reg [15:0]      d_i = memory[adr[7:0]] & ~rmask_i;
      get_as_8 = {|d_i[15:14], |d_i[13:12], |d_i[11:10], |d_i[9:8], |d_i[7:6], |d_i[5:4], |d_i[3:2], |d_i[1:0]};
   endfunction