EDAboard.com | EDAboard.de | EDAboard.co.uk | WTWH Media

Clock Edge notation

Ask a question - edaboard.com

elektroda.net NewsGroups Forum Index - VHDL Language - Clock Edge notation

Goto page Previous  1, 2, 3 ... 112, 113, 114

Rubel Ahmed
Guest

Sun Feb 10, 2019 10:45 pm   



On Thursday, January 28, 1999 at 3:00:00 AM UTC-5, Jerome Chaix wrote:
Quote:
Is there an existing function in VHDL which is the equivalent of
printf(%d, var) in language C ?


I do the following and it works for me. though I am a noob.

assert false
report "show me what you got: "&integer'image(myVar) severity NOTE;

KJ
Guest

Mon Feb 11, 2019 12:45 am   



On Sunday, February 10, 2019 at 4:42:18 PM UTC-5, Rubel Ahmed wrote:
Quote:
On Thursday, January 28, 1999 at 3:00:00 AM UTC-5, Jerome Chaix wrote:

I do the following and it works for me. though I am a noob.

assert false
report "show me what you got: "&integer'image(myVar) severity NOTE;


You can also simply use the 'report' without having to 'assert'. When the report clause is used as part of an assert statement, the default severity is ERROR, but when you just use the report statement by itself, the default severity is 'NOTE'[1]. So an even simpler equivalent to 'printf' would be

report "show me what you got: "&integer'image(myVar);

Kevin Jennings

[1] Refer to sections 10.3 (Assertion statement) and 10.4 (Report statement).

Nicolas Matringe
Guest

Mon Feb 11, 2019 10:45 pm   



On 10/02/2019 22:42, Rubel Ahmed wrote:
Quote:
On Thursday, January 28, 1999 at 3:00:00 AM UTC-5, Jerome Chaix wrote:
Is there an existing function in VHDL which is the equivalent of
printf(%d, var) in language C ?

I do the following and it works for me. though I am a noob.

assert false
report "show me what you got: "&integer'image(myVar) severity NOTE;


Do you realize you just replied to a 20 years old thread ?

Nicolas

Rubel Ahmed
Guest

Mon Feb 11, 2019 11:45 pm   



No, i did not notice at the first look. But it felt so good to find the age of this post, i spent 10 minutes reading the History of google groups.


Guest

Mon Feb 11, 2019 11:45 pm   



On Monday, February 11, 2019 at 4:22:50 PM UTC-5, Nicolas Matringe wrote:
Quote:
On 10/02/2019 22:42, Rubel Ahmed wrote:
On Thursday, January 28, 1999 at 3:00:00 AM UTC-5, Jerome Chaix wrote:
Is there an existing function in VHDL which is the equivalent of
printf(%d, var) in language C ?

I do the following and it works for me. though I am a noob.

assert false
report "show me what you got: "&integer'image(myVar) severity NOTE;

Do you realize you just replied to a 20 years old thread ?

Nicolas


Some things are timeless.... Smile

Rick C.


Guest

Thu Mar 28, 2019 10:45 am   



Can you give me any links for the vhdl code of crc 16 of 32 bits . Im stuck . And its also urgents can u help me out . Please.

Allan Herriman
Guest

Thu Mar 28, 2019 11:45 am   



On Thu, 28 Mar 2019 01:45:09 -0700, hamzaelaloui wrote:

Quote:
Can you give me any links for the vhdl code of crc 16 of 32 bits . Im
stuck . And its also urgents can u help me out . Please.


There's an online code generator here:
https://www.easics.com/webtools/crctool

You will need to know the polynomial. "crc 16" is ambiguous, as there
are several 16 bit CRC polynomials in common use.

Regards,
Allan

Goto page Previous  1, 2, 3 ... 112, 113, 114

elektroda.net NewsGroups Forum Index - VHDL Language - Clock Edge notation

Ask a question - edaboard.com

Arabic version Bulgarian version Catalan version Czech version Danish version German version Greek version English version Spanish version Finnish version French version Hindi version Croatian version Indonesian version Italian version Hebrew version Japanese version Korean version Lithuanian version Latvian version Dutch version Norwegian version Polish version Portuguese version Romanian version Russian version Slovak version Slovenian version Serbian version Swedish version Tagalog version Ukrainian version Vietnamese version Chinese version Turkish version
EDAboard.com map