blob: b86e47d8b432db45e0c21c5fc45c03d009c0fe5e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
The Windows 0.29.1 GHDL build errors at compile time when
an attribute is placed on a signal for which an alias has
previously been created.
--------
Code snippet from attached <alias_bug.vhd> example:
signal processor_address : std_logic_vector(15 downto 0);
alias address_ms : std_logic_vector(3 downto 0) is processor_address(15 downto 12);
attribute keep : boolean;
attribute keep of processor_address: signal is TRUE;
Resulting error message:
.\alias_bug.vhd:35:13: alias "address_ms" does not denote the entire object
--------
Workaround:
Moving the alias _after_ the attribute causes the error to go away.
--------
alias_bug.zip contents :
alias_bug.txt this file
alias_bug.vhd test program to demonstrate alias bug
ghdc.bat batch file to invoke compiler
|