Gast
#1363272
Habe ein Problem mit einem Standart logic Vector. BITTE sagt mir wie ich
das rechnen kann.
...
data_in : IN std_logic_vector(7 DOWNTO 0) ;
...
SIGNAL count : std_logic_vector(3 DOWNTO 0 ) ;
...
if count = "0000" then
txd <= '0'; -- Start-bit
elsif count >= "1000" then
txd <= '1';
else
txd <= data_in(count - 1); -- GEHT NICHT
...
In meinem Code ist natürlich entity, architecture und dgl eingetragen.
DANKE für die Hilfe!!!