Forum Discussion
Altera_Forum
Honored Contributor
9 years agoString operation
I have a string
signal rx_uart_buf : string (0 to 127);
Now I want to test every char value
when ST_PARSE_COM =>
if (idx < RX_BUF_SIZE) then
case character'pos(rx_uart_buf(idx)) i...
Altera_Forum
Honored Contributor
9 years agoI think you mean:
type byte_array is array (0 to RX_BUF_SIZE-1) of std_logic_vector(7 downto 0);