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 agoA string is just an abstract concept. At hardware level they are just a set of integers.
You could try using a string, and qartus may compile it (Ive done it as a proof of concept to myself) but I wouldnt trust it.