From: Shalom.Bresticker@motorola.com
Date: Thu Nov 13 2003 - 02:40:00 PST
The following reply was made to PR enhancement/502; it has been noted by GNATS.
From: Shalom.Bresticker@motorola.com
To: btf-bugs@boyd.com
Cc:
Subject: enhancement/502: Dynamic Values on attributes
Date: Thu, 13 Nov 2003 12:38:16 +0200 (IST)
With respect to the $itos and similar functions,
I just received the following, showing that others also see need
for such types of functions. Slightly edited.
--
Shalom Bresticker Shalom.Bresticker@motorola.com
Design & Reuse Methodology Tel: +972 9 9522268
Motorola Semiconductor Israel, Ltd. Fax: +972 9 9522890
POB 2208, Herzlia 46120, ISRAEL Cell: +972 50 441478
---------- Forwarded message ----------
Date: Wed, 12 Nov 2003 14:04:14 -0600
From: Tom Hawkins <tom@launchbird.com>
To: cf-user@launchbird.com
Subject: [cf-user] Repost: Vector Printing
Since cf-announce is going away, I am going to repost a few important
release announcements so they make it into the cf-user archives.
-Tom
---------- Forwarded Message ----------
Subject: [cf-announce] Confluence 0.6.4 -- Vector Printing, MFPUG
Date: Mon, 8 Sep 2003 17:25:56 -0500
From: Tom Hawkins <tom@launchbird.com>
To: cf-announce@launchbird.com
Cc: bhurt@spnz.org
Confluence 0.6.4 located at:
http://www.launchbird.com/cfrl/
---------------
Vector Printing
---------------
A new logic primitive has been introduced with 0.6.4:
{VectorPrint, Enable Message}
VectorPrint prints a vector assumed to be ASCII encoded to standard
output. All language targets support the new primitive, though the
functionality differs slightly between HDL and C/Python. In HDL, the
print statement is embedded in an always/process block and will only
print when the enable is high and either the enable or message has
changed state. In C/Python, the message will print on every
combinatorial calculation, provided enable is true.
Base.cf also includes a few helper functions for vector/string
manipulation:
StringToVector : Converts a string into an ASCII vector constant.
VectorToBin : Converts a vector into an ASCII vector of 1s and 0s.
VectorToHex : Converts a vector into an ASCII vector of hex digits.
Given these functions, it is straight forward to implement the
Display as discussed on the user group. Display variants may be
added to Base.cf in a later release.
Who needs Perl for string manipulation when you've got Confluence
generated Verilog? ;-)
--
Tom Hawkins
Launchbird Design Systems, Inc.
952-200-3790
http://www.launchbird.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: cf-user-unsubscribe@launchbird.com
For additional commands, e-mail: cf-user-help@launchbird.com
This archive was generated by hypermail 2.1.4
: Thu Nov 13 2003 - 02:40:07 PST
and
sponsored by Boyd Technology, Inc.