data/full_repos/permissive/448935247/cores/s16/hdl/jts16_prio.v
data/verilator_xmls/32b44e75-f2d2-48e9-8a3c-78e544b5561b.xml
function [11:0] tile_or_obj( input [9:0] obj, input [9:0] tile, input tile_prio, input oprio );


    tile_or_obj = obj[3:0]!=0 && oprio && (!tile_prio || tile[2:0]==0) ?
                   ( &obj[9:4] ? { 2'b10, tile } : { 2'b1, obj  } ):
                   { 2'b0, tile };
endfunction
function [11:0] tile_or_obj( input [9:0] obj, input [9:0] tile, input tile_prio, input oprio );



    tile_or_obj = obj[3:0]!=0 && oprio && (!tile_prio || tile[2:0]==0) ?
                   ( &obj[9:4] ? { 2'b10, tile } : { 2'b1, obj  } ):
                   { 2'b0, tile };
endfunction