From e7a9662b3d6da9fecef1bd2e6f56282621ba85e8 Mon Sep 17 00:00:00 2001 From: Cary R Date: Mon, 1 Jan 2018 21:34:37 -0800 Subject: [PATCH] A #0 is not allowed in a final block --- elaborate.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/elaborate.cc b/elaborate.cc index f450a42ff..87a85b059 100644 --- a/elaborate.cc +++ b/elaborate.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998-2017 Stephen Williams (steve@icarus.com) + * Copyright (c) 1998-2018 Stephen Williams (steve@icarus.com) * Copyright CERN 2013 / Stephen Williams (steve@icarus.com) * * This source code is free software; you can redistribute it @@ -6183,7 +6183,7 @@ bool Design::check_proc_delay() const if (pr->type() == IVL_PR_FINAL) { DelayType dly_type = pr->statement()->delay_type(); - if (dly_type != NO_DELAY && dly_type != ZERO_DELAY) { + if (dly_type != NO_DELAY) { cerr << pr->get_fileline() << ": error: final" << " statement contains a delay." << endl; result = true;