diff options
author | Tristan Gingold <tgingold@free.fr> | 2020-05-20 06:48:08 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2020-05-20 08:21:27 +0200 |
commit | b0cbebc34f3a3b1f19689f4a708f11172e8ad469 (patch) | |
tree | e8d0347f41d1d240a5fcbc44fe80074204e53736 /src/synth/synth-decls.ads | |
parent | a269db2277ea3747e09fcfc1b82b977b600932b3 (diff) | |
download | ghdl-b0cbebc34f3a3b1f19689f4a708f11172e8ad469.tar.gz ghdl-b0cbebc34f3a3b1f19689f4a708f11172e8ad469.tar.bz2 ghdl-b0cbebc34f3a3b1f19689f4a708f11172e8ad469.zip |
synth: create abstractions for Pval (from synth-insts to synth-decls)
Diffstat (limited to 'src/synth/synth-decls.ads')
-rw-r--r-- | src/synth/synth-decls.ads | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/synth/synth-decls.ads b/src/synth/synth-decls.ads index 9aae21e2a..d0b47e3fc 100644 --- a/src/synth/synth-decls.ads +++ b/src/synth/synth-decls.ads @@ -20,10 +20,17 @@ with Vhdl.Nodes; use Vhdl.Nodes; +with Netlists; use Netlists; with Synth.Context; use Synth.Context; with Synth.Objtypes; use Synth.Objtypes; package Synth.Decls is + -- Return the Param_Type for ATYPE. + function Type_To_Param_Type (Atype : Node) return Param_Type; + + -- Convert MT to a Pval. + function Memtyp_To_Pval (Mt : Memtyp) return Pval; + -- Get the type of DECL iff it is standalone (not an already existing -- subtype). function Get_Declaration_Type (Decl : Node) return Node; |