-
-
Notifications
You must be signed in to change notification settings - Fork 94
Closed
Description
I want use the or_reduce
function from the std_logic_misc
package. However the function was NOT found.
LIBRARY ieee;
USE ieee.std_logic_1164.all;
USE ieee.std_logic_misc.all;
...
ELSIF or_reduce(trigger(3 DOWNTO 0)) THEN
...
Compiling the above code, nvc --std=08 -a file.vhd
, results to the following error:
** Error: no applicable subprogram declaration for "??"
> file.vhd:271
|
271 | ELSIF or_reduce(trigger(3 DOWNTO 0)) THEN
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could be BIT or STD_ULOGIC
|
= Note: context contains overload "??" [BIT return BOOLEAN]
> ../lib/std.08/standard.vhd:25
= Note: context contains overload "??" [STD_ULOGIC return BOOLEAN]
> ../lib/ieee.08/std_logic_1164.vhdl:224
= Note: there are 2 visible overloads of "??" but none can be called in this context
Metadata
Metadata
Assignees
Labels
No labels