Go Back   Velocity Reviews > Newsgroups > VHDL
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

VHDL - Newline character

 
Thread Tools Search this Thread
Old 05-27-2008, 09:58 AM   #1
Default Newline character


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


mikmak
mikmak is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
xslt parsing xml data with '<' invalid character h_q Software 0 01-03-2008 10:00 PM
Best character reveals JFR DVD Video 16 06-15-2004 10:25 PM
O.T. Battlestar Galactica Chris4V DVD Video 42 01-04-2004 08:19 PM
AICN rumor: NewLine cheaping out on ROTK EE?? anon DVD Video 10 12-25-2003 05:07 AM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46