diff options
author | Tristan Gingold <tgingold@free.fr> | 2019-10-04 05:19:00 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2019-10-04 05:19:33 +0200 |
commit | 37a25955c00ef76c6b33304352c4a6ffb9911f29 (patch) | |
tree | 94768ae6c2924802965fc9c4850b59d9cc31aa90 /src/synth/synth-stmts.ads | |
parent | 9aa8fe8ff96da383b080ac24081bb71a5d468fb3 (diff) | |
download | ghdl-37a25955c00ef76c6b33304352c4a6ffb9911f29.tar.gz ghdl-37a25955c00ef76c6b33304352c4a6ffb9911f29.tar.bz2 ghdl-37a25955c00ef76c6b33304352c4a6ffb9911f29.zip |
synth: factorize code to read memories.
Diffstat (limited to 'src/synth/synth-stmts.ads')
-rw-r--r-- | src/synth/synth-stmts.ads | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/synth/synth-stmts.ads b/src/synth/synth-stmts.ads index b561e1853..aed471c03 100644 --- a/src/synth/synth-stmts.ads +++ b/src/synth/synth-stmts.ads @@ -46,6 +46,13 @@ package Synth.Stmts is Val : Value_Acc; Loc : Node); + function Synth_Read_Memory (Syn_Inst : Synth_Instance_Acc; + Obj : Value_Acc; + Off : Uns32; + Voff : Net; + Typ : Type_Acc; + Loc : Node) return Value_Acc; + function Synth_User_Function_Call (Syn_Inst : Synth_Instance_Acc; Expr : Node) return Value_Acc; |