aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/netlists.ads
diff options
context:
space:
mode:
Diffstat (limited to 'src/synth/netlists.ads')
-rw-r--r--src/synth/netlists.ads5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/synth/netlists.ads b/src/synth/netlists.ads
index 365e1f1a2..661c2ae3d 100644
--- a/src/synth/netlists.ads
+++ b/src/synth/netlists.ads
@@ -152,7 +152,7 @@ package Netlists is
-- Name of the port.
Name : Sname;
- Is_Inout : Boolean;
+ Dir : Port_Kind;
-- Port width (number of bits).
W : Width;
@@ -366,6 +366,9 @@ private
type Sname is new Uns32 range 0 .. 2**30 - 1;
No_Sname : constant Sname := 0;
+ -- Just to confirm.
+ for Port_Desc'Size use 64;
+
-- We don't care about C compatible representation of Sname_Record.
pragma Warnings (Off, "*convention*");
type Sname_Record is record