Is it possible to insert a newline in the report statement?
Thanks
John
^^^^ --> Will insert
a newline!!
HTH,
Srini
--
Srinivasan Venkataramanan (Srini)
ASIC Design Engineer,
Chennai (Madras), India
> Yes! (I too learnt it recently via this NG), you can use " lf "
>(line feed) as a string to insert newlines. AN example:
>
>report "CLKOUT is " & STD_LOGIC'IMAGE(CLKOUT) & lf & "clkrate is
>000" ;
>
> ^^^^ --> Will insert
>a newline!!
>
>HTH,
>Srini
>
>John Daae wrote:
>>
>> Hi,
>>
>> Is it possible to insert a newline in the report statement?
>>
>> Thanks
>>
If you want to report the value of objects that are vectors or integers, you
could also use the image package at my site.
report "CLKOUT is " & IMAGE(Data32bits) & lf & "clkrate is " &
Image(IntegerRate) ;
For Hex displays, you can also use the HexImage function instead.
--------------------------------------------------------------------------
-----------------------------------------
Ben Cohen Publisher, Trainer, Consultant (310) 721-4830
http://www.vhdlcohen.com/ vhdl...@aol.com
Author of following textbooks:
* Component Design by Example ... a Step-by-Step Process Using
VHDL with UART as Vehicle", 2001 isbn 0-9705394-0-1
* VHDL Coding Styles and Methodologies, 2nd Edition, 1999 isbn 0-7923-8474-1
* VHDL Answers to Frequently Asked Questions, 2nd Edition, isbn 0-7923-8115
--------------------------------------------------------------------------
------------------------------------------