aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/include
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2021-11-17 18:36:22 +0100
committerTristan Gingold <tgingold@free.fr>2021-11-17 18:36:22 +0100
commit4e1a1324b8ba4ef83f18742bd4a8588be94735fb (patch)
tree603ede0cb1e8d1a84228b3ab09fa173242c1b16a /src/synth/include
parente58c9807fa183b6d1324f9b36ffe1a86bf1f42cb (diff)
downloadghdl-4e1a1324b8ba4ef83f18742bd4a8588be94735fb.tar.gz
ghdl-4e1a1324b8ba4ef83f18742bd4a8588be94735fb.tar.bz2
ghdl-4e1a1324b8ba4ef83f18742bd4a8588be94735fb.zip
synth: add ports attributes
Diffstat (limited to 'src/synth/include')
-rw-r--r--src/synth/include/synth.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/synth/include/synth.h b/src/synth/include/synth.h
index c89eab7fc..fa6b78e2c 100644
--- a/src/synth/include/synth.h
+++ b/src/synth/include/synth.h
@@ -134,6 +134,8 @@ namespace GhdlSynth {
struct Attribute { unsigned int id; };
GHDLSYNTH_ADA_WRAPPER_WW(get_first_attribute, Attribute, Instance);
+ GHDLSYNTH_ADA_WRAPPER_WWD(get_first_input_port_attribute, Attribute, Module, Port_Idx);
+ GHDLSYNTH_ADA_WRAPPER_WWD(get_first_output_port_attribute, Attribute, Module, Port_Idx);
GHDLSYNTH_ADA_WRAPPER_WW(get_attribute_name, Name_Id, Attribute);
GHDLSYNTH_ADA_WRAPPER_DW(get_attribute_type, Param_Type, Attribute);
GHDLSYNTH_ADA_WRAPPER_WW(get_attribute_pval, Pval, Attribute);