From 0e199cbea1070c016d29348cd659b9e6ca688afb Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Tue, 14 Oct 2014 06:19:33 +0200 Subject: Initial support for package header and package instantiation. --- evaluation.ads | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'evaluation.ads') diff --git a/evaluation.ads b/evaluation.ads index e22f36a6f..76a40207b 100644 --- a/evaluation.ads +++ b/evaluation.ads @@ -62,6 +62,10 @@ package Evaluation is -- is locally static. function Eval_Expr_If_Static (Expr : Iir) return Iir; + -- Evaluate a physical literal and return a normalized literal (using + -- the primary unit as unit). + function Eval_Physical_Literal (Expr : Iir) return Iir; + -- Return TRUE if literal EXPR is in SUB_TYPE bounds. function Eval_Is_In_Bound (Expr : Iir; Sub_Type : Iir) return Boolean; -- cgit v1.2.3