S
salman sheikh
Guest
Hello,
I am creating a generic width latch. When using it to create a single
bit, I run into elaboration warnings in Modelsim (which may give problem
during synthesis, I suspect? The problem seems to be when instantiating
a single bit latch standard logic_vector (0 downto 0) and connecting
signals from a higher level that are signals of std_logic. It seems to
me that it would be a real pain to change all the higher level signals
to slv(0 downto 0) or another pain is to create a separate single bit
(non-generic) latch component for those places where needed. Any
suggested solutions to make this warning go away?
Thanks in advance for any help.
Salman Sheikh
I am creating a generic width latch. When using it to create a single
bit, I run into elaboration warnings in Modelsim (which may give problem
during synthesis, I suspect? The problem seems to be when instantiating
a single bit latch standard logic_vector (0 downto 0) and connecting
signals from a higher level that are signals of std_logic. It seems to
me that it would be a real pain to change all the higher level signals
to slv(0 downto 0) or another pain is to create a separate single bit
(non-generic) latch component for those places where needed. Any
suggested solutions to make this warning go away?
Thanks in advance for any help.
Salman Sheikh