shaiko
Advanced Member level 5
- Joined
- Aug 20, 2011
- Messages
- 2,644
- Helped
- 303
- Reputation
- 608
- Reaction score
- 297
- Trophy points
- 1,363
- Activity points
- 18,302
Using VHDL 2008, I defined port "A" as an uncontrained "unsigned" input to my entity:
In my test bench, I declared signal "B" as follows:
I connected signal "B" to port "A" and compiled the design.
Parsing check passes without issues. However, when I try to simulate - Modelsim (10.3b) shows an error:
i'm baffled. What's the issue?
Code:
entity some_entity is
port
( A : in unsigned ) ;
end entity some_entity;
Code:
signal B: unsigned ( 7 downto 0 ) ;
Parsing check passes without issues. However, when I try to simulate - Modelsim (10.3b) shows an error:
Fatal: (vsim-3347) Port "A" is an unconstrained array.
i'm baffled. What's the issue?
Last edited: