F
filmil
Guest
My compiler (from VisualElite) issues a multiple driver warning for
'some_signal' for the following snippet:
if_true: if some_generic = true generate
begin
some_signal <= '1';
end generate;
if_false: if some_generic = false generate
begin
some_signal <= '0';
end generate;
Of course the compiler cannot know that the 'if_true' and 'if_false'
cannot be valid at the same time; and the 'else' branch is not
supported in if-generate.
But as I have lots of similar constructs in my code, I'd like to
suppress this particular warning, to be able to concentrate to real
issues. How can I do this?
f
'some_signal' for the following snippet:
if_true: if some_generic = true generate
begin
some_signal <= '1';
end generate;
if_false: if some_generic = false generate
begin
some_signal <= '0';
end generate;
Of course the compiler cannot know that the 'if_true' and 'if_false'
cannot be valid at the same time; and the 'else' branch is not
supported in if-generate.
But as I have lots of similar constructs in my code, I'd like to
suppress this particular warning, to be able to concentrate to real
issues. How can I do this?
f