user schrieb:
> RxMac und RxData sind nicht von gleichen Typ
>
> definiere es doch so:
>
> type arraytype is array(natural range <>) of std_logic_vector(7 downto
> 0);
> type MacAddrType is arraytype (5 downto 0);
> type RxDatastreamType is arraytye(8 downto 0);
>
> dann sollten beide Varianten funktionieren
Super - Danke! so funktioniert es. Allerdings muss es statt
1 | > type MacAddrType is arraytype (5 downto 0);
|
2 | > type RxDatastreamType is arraytye(8 downto 0);
|
so heißen (Subtype, sonst gibt das einen Error)
1 | > type MacAddrType is arraytype (5 downto 0);
|
2 | > type RxDatastreamType is arraytye(8 downto 0);
|
gruß!