From 6f41e5277d1d41db7a620c73cf1b65558b55f236 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Tue, 30 Aug 2016 19:09:56 +0200 Subject: Removed $aconst cell type --- kernel/celltypes.h | 1 - kernel/rtlil.cc | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'kernel') diff --git a/kernel/celltypes.h b/kernel/celltypes.h index ebc7b3824..900c12d01 100644 --- a/kernel/celltypes.h +++ b/kernel/celltypes.h @@ -118,7 +118,6 @@ struct CellTypes setup_type("$assume", {A, EN}, pool(), true); setup_type("$initstate", pool(), {Y}, true); setup_type("$anyconst", pool(), {Y}, true); - setup_type("$aconst", pool(), {Y}, true); setup_type("$equiv", {A, B}, {Y}, true); } diff --git a/kernel/rtlil.cc b/kernel/rtlil.cc index de492bcc6..41b4b93f0 100644 --- a/kernel/rtlil.cc +++ b/kernel/rtlil.cc @@ -1030,7 +1030,7 @@ namespace { return; } - if (cell->type.in("$aconst", "$anyconst")) { + if (cell->type == "$anyconst") { port("\\Y", param("\\WIDTH")); check_expected(); return; -- cgit v1.2.3