Hello!
I am new here, and also new to VHDL. I have a question that is probably quite simple, but I can't seem to figure it out.
I am working VHDL for a school project.
I have a string constant called payload. I would like to include a newline character in this string (hex value: 0A).
If I write:
constant payload: string := "text" & x"0A";
I end up with text00001010, which is not what I want...
I hope someone can help.
Best regards,
Michael
I am new here, and also new to VHDL. I have a question that is probably quite simple, but I can't seem to figure it out.
I have a string constant called payload. I would like to include a newline character in this string (hex value: 0A).
If I write:
constant payload: string := "text" & x"0A";
I end up with text00001010, which is not what I want...
I hope someone can help.
Best regards,
Michael