diff options
Diffstat (limited to 'testsuite/pyunit/libghdl/func_param.vhdl')
-rw-r--r-- | testsuite/pyunit/libghdl/func_param.vhdl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/pyunit/libghdl/func_param.vhdl b/testsuite/pyunit/libghdl/func_param.vhdl new file mode 100644 index 000000000..fb47687e5 --- /dev/null +++ b/testsuite/pyunit/libghdl/func_param.vhdl @@ -0,0 +1,9 @@ +package p is + function log2( + -- :param1: we also want to document parameters too + param1 : integer; + param2 : boolean + ) return natural; +end p; + + |