aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/elab-vhdl_context.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2022-05-06 06:09:12 +0200
committerTristan Gingold <tgingold@free.fr>2022-05-06 06:09:12 +0200
commit2804d2726adbb6cca68731526a0df54ebd767beb (patch)
tree1c1f05af7123bd666a1f1a0f4cf6fa4d47a919de /src/synth/elab-vhdl_context.adb
parentc9f6a193253ca2e8ce8059c16d2c56c679c9c13d (diff)
downloadghdl-2804d2726adbb6cca68731526a0df54ebd767beb.tar.gz
ghdl-2804d2726adbb6cca68731526a0df54ebd767beb.tar.bz2
ghdl-2804d2726adbb6cca68731526a0df54ebd767beb.zip
elab-vhdl_context: introduce signal_index
Diffstat (limited to 'src/synth/elab-vhdl_context.adb')
-rw-r--r--src/synth/elab-vhdl_context.adb7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/synth/elab-vhdl_context.adb b/src/synth/elab-vhdl_context.adb
index 032ab82b0..0865d2c8e 100644
--- a/src/synth/elab-vhdl_context.adb
+++ b/src/synth/elab-vhdl_context.adb
@@ -25,7 +25,12 @@ with Vhdl.Utils;
package body Elab.Vhdl_Context is
- Sig_Nbr : Uns32 := 0;
+ Sig_Nbr : Signal_Index := 0;
+
+ function Get_Nbr_Signal return Signal_Index is
+ begin
+ return Sig_Nbr;
+ end Get_Nbr_Signal;
package Inst_Tables is new Tables
(Table_Component_Type => Synth_Instance_Acc,