-
-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correct type check in lower_port_ref
- Loading branch information
Showing
3 changed files
with
54 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
entity directmap4 is | ||
end entity; | ||
|
||
architecture test of directmap4 is | ||
type t_rec is record | ||
f : integer; | ||
end record; | ||
|
||
type t_rec_array is array (natural range <>) of t_rec; | ||
|
||
signal x : t_rec_array(1 to 1); | ||
begin | ||
|
||
b: block is | ||
port ( p : out t_rec_array(1 to 1) ); | ||
port map ( x ); | ||
begin | ||
p <= (1 => (f => 1)); | ||
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