String Converter
How to use
- Enter the text to convert
- Select one of the following options:
String to Hex
Press String to HEX
to save the text in one STD_LOGIC_VECTOR
- Copy the generated HEX value
- Set the value like this: my_vector(95 downto 0) <= x"4578616d706c652074657874";
- If you have to set the length: my_bytes <= 12;
String to Byte Array
String to Byte Array
to save the text in an array of bytes (STD_LOGIC_VECTOR(7 downto 0))
- Copy the generated text
- Save it e.g. with a constant or set a signal to the bytes