Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
KNOWNBUG
compilation_unit_scope_function.sv

^EXIT=0$
^SIGNAL=0$
--
^warning: ignoring
--
The function identifier is not found at the call site.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// a function in comilation unit scope
function integer my_func;
my_func = 123;
endfunction

module main;
localparam P = my_func();
assert final (P == 123);
endmodule
Loading