From 8f711316e523cb8fb8cb994345793ab8951f9987 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Thu, 3 Oct 2019 19:55:23 +0200 Subject: synth: remove unused wlen field of bound_type. --- src/synth/synth-oper.adb | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/synth/synth-oper.adb') diff --git a/src/synth/synth-oper.adb b/src/synth/synth-oper.adb index 13afb0ea8..92508f36d 100644 --- a/src/synth/synth-oper.adb +++ b/src/synth/synth-oper.adb @@ -21,7 +21,6 @@ with Ada.Unchecked_Conversion; with Types; use Types; with Types_Utils; use Types_Utils; -with Mutils; use Mutils; with Vhdl.Ieee.Std_Logic_1164; use Vhdl.Ieee.Std_Logic_1164; with Vhdl.Std_Package; with Vhdl.Errors; use Vhdl.Errors; @@ -160,7 +159,6 @@ package body Synth.Oper is Right => 0, Dir => Index_Bounds.Dir, Wbounds => W, - Wlen => Width (Clog2 (Uns64 (Len))), Len => Uns32 (Len)); if Len = 0 then -- cgit v1.2.3