data/full_repos/permissive/502544928/router_3d.v
1: b"%Error: data/full_repos/permissive/502544928/router_3d.v:83: Expecting expression to be constant, but can't determine constant for FUNCREF 'log2'\n                                                           : ... In instance router\n        data/full_repos/permissive/502544928/router_3d.v:56: ... Location of non-constant VARREF 'result': Language violation: reference to non-function-local variable\n        data/full_repos/permissive/502544928/router_3d.v:83: ... Called from log2() with parameters:\n           num = ?32?h1\n  localparam ROW_3D_BITS=log2(ROW_3D); \n                         ^~~~\n%Error: Exiting due to 1 error(s)\n"
function [0:0] header;
	input[TYPE_BITS - 1:0]   flit_type; 
	begin
		header = ((flit_type == HEAD) | (flit_type == ALL)); 
	end
  endfunction
function [0:0] header;

	input[TYPE_BITS - 1:0]   flit_type; 
	begin
		header = ((flit_type == HEAD) | (flit_type == ALL)); 
	end
  endfunction