hello guys, I need some help with the port map in VHDL I have to port map a module to the top module something like
1 | port map ( a => b) |
the Problem is that b has been define in a record something like:
1 | type x is record |
2 | y : foo_in; |
3 | end record; |
and
1 | type foo_in is record |
2 | b: std_logic; |
3 | end record; |
What I have done is create a Signal
1 | Signal t : x |
2 | |
3 | port map ( |
4 | a => t.b |
5 | )
|
I don't think my port map is correct. What will be the proper way to do it. Many thanks