From 00ea68254ea6ff2ff04543f912f67a0812972be7 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sun, 15 May 2022 21:12:46 +0200 Subject: elab-vhdl_values: rename signal_index to signal_index_type --- src/synth/elab-vhdl_context.adb | 4 ++-- src/synth/elab-vhdl_context.ads | 2 +- src/synth/elab-vhdl_values.ads | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/synth/elab-vhdl_context.adb b/src/synth/elab-vhdl_context.adb index fd37dcfd2..c14a82964 100644 --- a/src/synth/elab-vhdl_context.adb +++ b/src/synth/elab-vhdl_context.adb @@ -25,9 +25,9 @@ with Vhdl.Utils; package body Elab.Vhdl_Context is - Sig_Nbr : Signal_Index := 0; + Sig_Nbr : Signal_Index_Type := 0; - function Get_Nbr_Signal return Signal_Index is + function Get_Nbr_Signal return Signal_Index_Type is begin return Sig_Nbr; end Get_Nbr_Signal; diff --git a/src/synth/elab-vhdl_context.ads b/src/synth/elab-vhdl_context.ads index a98cf280d..6227b138d 100644 --- a/src/synth/elab-vhdl_context.ads +++ b/src/synth/elab-vhdl_context.ads @@ -111,7 +111,7 @@ package Elab.Vhdl_Context is Init : Value_Acc); -- Number of created signals. - function Get_Nbr_Signal return Signal_Index; + function Get_Nbr_Signal return Signal_Index_Type; -- Create a sub instance: either a direct entity instantiation, or -- a component instantiation. diff --git a/src/synth/elab-vhdl_values.ads b/src/synth/elab-vhdl_values.ads index ebb249a9d..1838fef9c 100644 --- a/src/synth/elab-vhdl_values.ads +++ b/src/synth/elab-vhdl_values.ads @@ -67,7 +67,7 @@ package Elab.Vhdl_Values is subtype File_Index is Grt.Files_Operations.Ghdl_File_Index; - subtype Signal_Index is Uns32; + subtype Signal_Index_Type is Uns32; type Value_Type (Kind : Value_Kind) is record case Kind is @@ -75,7 +75,7 @@ package Elab.Vhdl_Values is | Value_Wire => N : Uns32; when Value_Signal => - S : Signal_Index; + S : Signal_Index_Type; Init : Value_Acc; when Value_Memory => Mem : Memory_Ptr; -- cgit v1.2.3