- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
Incorrect length check for non-static port map actual. Fixes #817
Showing
5 changed files
with
61 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
0ms+0: value length 7 does not match target length 8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
package test_pkg is | ||
type array_of_vectors is array(integer range 0 to 31) of bit_vector(7 downto 0); | ||
end package; | ||
|
||
use work.test_pkg.array_of_vectors ; | ||
|
||
entity test is | ||
port ( | ||
in_a : in array_of_vectors ; | ||
outs : out array_of_vectors | ||
) ; | ||
end entity ; | ||
|
||
architecture arch of test is | ||
begin | ||
process(all) | ||
begin | ||
outs(0) <= in_a(0); | ||
end process ; | ||
end architecture ; | ||
|
||
use work.test_pkg.array_of_vectors ; | ||
|
||
entity issue817 is | ||
end entity ; | ||
|
||
architecture arch of issue817 is | ||
|
||
signal a : bit; | ||
signal b : bit_vector(7 downto 0); | ||
|
||
begin | ||
|
||
U_test_a : entity work.test | ||
port map ( | ||
in_a(0) => "1111111" & a, -- OK | ||
in_a(1) => "111111" & a, -- Error | ||
outs(0) => b | ||
) ; | ||
|
||
tb : process | ||
begin | ||
wait for 100 ns ; | ||
report "Done" ; | ||
std.env.stop ; | ||
end process ; | ||
|
||
end architecture ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -912,3 +912,4 @@ elab40 normal,2008 | |
cmdline9 shell,slow | ||
genpack16 normal,2008 | ||
issue815 normal,2019 | ||
issue817 fail,gold,2008 |