aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/synth-values.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-03-25 18:43:13 +0100
committerTristan Gingold <tgingold@free.fr>2020-03-25 18:43:13 +0100
commit4030f025b21a9570f03137f5342b12aa2d200c4d (patch)
treef9fbdf39cc762692c2e0615bea8091b805ba3e14 /src/synth/synth-values.ads
parent7c7695812a7488dfb463ec1f0d4244550e5998c8 (diff)
downloadghdl-4030f025b21a9570f03137f5342b12aa2d200c4d.tar.gz
ghdl-4030f025b21a9570f03137f5342b12aa2d200c4d.tar.bz2
ghdl-4030f025b21a9570f03137f5342b12aa2d200c4d.zip
synth: introduce value_to_string.
Diffstat (limited to 'src/synth/synth-values.ads')
-rw-r--r--src/synth/synth-values.ads4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/synth/synth-values.ads b/src/synth/synth-values.ads
index 7c4ec8b7c..2bbf70810 100644
--- a/src/synth/synth-values.ads
+++ b/src/synth/synth-values.ads
@@ -357,6 +357,10 @@ package Synth.Values is
-- Create a default initial value for TYP.
function Create_Value_Default (Typ : Type_Acc) return Value_Acc;
+ -- Convert a value to a string. The value must be a const_array of scalar,
+ -- which represent characters.
+ function Value_To_String (Val : Value_Acc) return String;
+
procedure Init;
-- Set by Init.