[vhdl-200x-ft] to_string for real and time

From: Marcus Harnisch <marcus.harnisch@gmx.net>
Date: Tue Aug 24 2004 - 13:37:05 PDT

David,

David Bishop writes:
> This if you do a to_string (1.6 us) with a simulator resolution
> set to "1 ns" then you will get "1600.0 ns" as the resulting string.
> Question though, what do you get if your resolution is "10 ps"?

How about normalizing with to the actual (derived) unit? In your
example you'd get "1600000 ps" as the resulting string.

Best regards,
Marcus
Received on Tue Aug 24 13:36:52 2004

This archive was generated by hypermail 2.1.8 : Tue Aug 24 2004 - 13:37:08 PDT