aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/elab-vhdl_context.adb
diff options
context:
space:
mode:
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,