Gast
#1100994
mir ist beim Probieren aufgefallen, dass unter den VHDL Codeschnipsel angegebener Code für Veroderung nicht in ghdl funktioniert. http://www.mikrocontroller.net/articles/VHDL_Schnipsel#OR_.C3.BCber_alle_Bits_eines_Vectors
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
$ ghdl -a --std=02 main.vhd 'others' choice not allowed for an aggregate in this context 'others' choice not allowed for an aggregate in this context $ ghdl -a --std=93 main.vhd 'others' choice not allowed for an aggregate in this context 'others' choice not allowed for an aggregate in this context $ ghdl -a --std=87 main.vhd 'others' choice not allowed for an aggregate in this context 'others' choice not allowed for an aggregate in this context im Moment kann ich nicht mit XST und Quartus testen aber wenn es auf der Seite steht, denke ich dass es sich um eine Extension handelt. Im Grunde möchte ghdl sagen, dass ein Konstrukt (others => '0') die Bitbreite nicht ermitteln kann/darf. Eigentlich kommt ja nur die Bitbreite vom anderen Parameter der "=" Funktion. Weiss jemand wie es im Standard steht?