aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/netlists.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-11-28 05:56:05 +0100
committerTristan Gingold <tgingold@free.fr>2019-11-28 05:56:05 +0100
commitc861fd507ef2261f1a0b8f3cdf1edcd4e61500ae (patch)
tree2ec8c2c6a7011a972d0d97737ede76243c8da57c /src/synth/netlists.ads
parentbfa61a8886ec2d3ff20f55b6192eea5c808a07ea (diff)
downloadghdl-c861fd507ef2261f1a0b8f3cdf1edcd4e61500ae.tar.gz
ghdl-c861fd507ef2261f1a0b8f3cdf1edcd4e61500ae.tar.bz2
ghdl-c861fd507ef2261f1a0b8f3cdf1edcd4e61500ae.zip
synth: rework the sname API.
Diffstat (limited to 'src/synth/netlists.ads')
-rw-r--r--src/synth/netlists.ads7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/synth/netlists.ads b/src/synth/netlists.ads
index 7d2b2824d..08297a9f2 100644
--- a/src/synth/netlists.ads
+++ b/src/synth/netlists.ads
@@ -56,10 +56,9 @@ package Netlists is
-- There is no unification: these routines always create a new name. There
-- is no check that the name already exists, so these routines may create
-- a duplicate name. Callers must ensure they create uniq names.
- function New_Sname_User (Id : Name_Id) return Sname;
- function New_Sname_Artificial (Id : Name_Id) return Sname;
- function New_Sname (Prefix : Sname; Suffix : Name_Id) return Sname;
- function New_Sname_Version (Prefix : Sname; Ver : Uns32) return Sname;
+ function New_Sname_User (Id : Name_Id; Prefix : Sname) return Sname;
+ function New_Sname_Artificial (Id : Name_Id; Prefix : Sname) return Sname;
+ function New_Sname_Version (Ver : Uns32; Prefix : Sname) return Sname;
-- Read the content of an Sname.
function Get_Sname_Kind (Name : Sname) return Sname_Kind;