-
-
Notifications
You must be signed in to change notification settings - Fork 94
Closed
Description
From dec_viterbi
in cocotb's regression (test_vhdl_access runs it).
Component declaration:
-- pkg_components.vhd
-- ...
component acs is
generic(
initialize_value : in signed(BW_MAX_PROBABILITY - 1 downto 0)
);
-- ...
Entity declaration:
-- acs.vhd
-- ...
entity acs is
generic(
-- Reset value
INITIALIZE_VALUE : in signed(BW_MAX_PROBABILITY - 1 downto 0)
);
-- ...
Component instantiation:
-- dec_viterbi.vhd
-- ...
inst_acs : acs
generic map(
initialize_value => INITIALIZE_TRELLIS(i)
)
-- ...
Error message:
** Error: (init): generic INITIALIZE_VALUE in entity DEC_VITERBI.acs without a default value has no corresponding generic in component acs
> /home/ktbarrett/ws/cocotb/tests/test_cases/test_vhdl_access/../../../tests/designs/viterbi_decoder_axi4s/src/dec_viterbi.vhd:204
|
204 | inst_acs : acs
| ^
|
= Note: declaration of generic INITIALIZE_VALUE in entity
> /home/ktbarrett/ws/cocotb/tests/test_cases/test_vhdl_access/../../../tests/designs/viterbi_decoder_axi4s/src/acs.vhd:31
Changing the component declaration's casing to match the entity fixes the error. But AFAIK this shouldn't be an issue. The --preserve-case
is only for VHPI simulation object names.
Metadata
Metadata
Assignees
Labels
No labels