aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/synth-decls.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-04-20 07:49:03 +0200
committerTristan Gingold <tgingold@free.fr>2020-04-20 12:19:48 +0200
commitcb72a1834f160d95d026b7e466886fd95fd82146 (patch)
tree87cd0fff5a8ce03b05b8e6a0a0129b60de90fe61 /src/synth/synth-decls.adb
parentb6d42a577f4ee5f2084a165b0cdf66cadcc878a1 (diff)
downloadghdl-cb72a1834f160d95d026b7e466886fd95fd82146.tar.gz
ghdl-cb72a1834f160d95d026b7e466886fd95fd82146.tar.bz2
ghdl-cb72a1834f160d95d026b7e466886fd95fd82146.zip
types: introduce Direction_Type, which replaces Iir_Direction.
Global renaming.
Diffstat (limited to 'src/synth/synth-decls.adb')
-rw-r--r--src/synth/synth-decls.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/synth/synth-decls.adb b/src/synth/synth-decls.adb
index 003505bc6..81d8a20c9 100644
--- a/src/synth/synth-decls.adb
+++ b/src/synth/synth-decls.adb
@@ -199,7 +199,7 @@ package body Synth.Decls is
W : Width;
begin
W := Uns32 (Clog2 (Uns64 (Nbr_El)));
- Rng := (Dir => Iir_To,
+ Rng := (Dir => Dir_To,
Is_Signed => False,
Left => 0,
Right => Int64 (Nbr_El - 1));