-
-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix assertion failure when dumping array-of-records. Issue xxx
- Loading branch information
Showing
5 changed files
with
48 additions
and
10 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,16 @@ | ||
#0 issue972.b.o[0].f 00000000000000000000000000000000 | ||
#0 issue972.b.o[1].f 00000000000000000000000000000000 | ||
#0 issue972.b.i[0].f 00000000000000000000000000000000 | ||
#0 issue972.b.i[1].f 00000000000000000000000000000000 | ||
#0 issue972.y[0].f 00000000000000000000000000000000 | ||
#0 issue972.y[1].f 00000000000000000000000000000000 | ||
#0 issue972.x[0].f 00000000000000000000000000000000 | ||
#0 issue972.x[1].f 00000000000000000000000000000000 | ||
#1000000 issue972.x[1].f 00000000000000000000000000000001 | ||
#1000000 issue972.b.i[1].f 00000000000000000000000000000001 | ||
#2000000 issue972.b.i[1].f 00000000000000000000000000000010 | ||
#2000000 issue972.x[1].f 00000000000000000000000000000010 | ||
#2000000 issue972.y[1].f 00000000000000000000000000000001 | ||
#2000000 issue972.b.o[1].f 00000000000000000000000000000001 | ||
#3000000 issue972.b.o[1].f 00000000000000000000000000000010 | ||
#3000000 issue972.y[1].f 00000000000000000000000000000010 |
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,29 @@ | ||
entity issue972 is | ||
end entity; | ||
|
||
architecture a of issue972 is | ||
type t_rec is record | ||
f : natural; | ||
end record; | ||
|
||
type t_array is array (natural range <>) of t_rec; | ||
|
||
subtype t_ports is natural range 0 to 1; | ||
|
||
signal x, y : t_array(t_ports'high downto 0); | ||
|
||
begin | ||
|
||
x <= (0 => (f => 0), 1 => (f => 1)) after 1 ns, | ||
(0 => (f => 0), 1 => (f => 2)) after 2 ns; | ||
|
||
b: block is | ||
generic ( type t ); | ||
generic map ( t => t_array ); | ||
port ( i : in t; o : out t ); | ||
port map ( x, y ); | ||
begin | ||
o <= i after 1 ns; | ||
end block; | ||
|
||
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