aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/celltypes.h1
-rw-r--r--kernel/rtlil.cc2
2 files changed, 1 insertions, 2 deletions
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<RTLIL::IdString>(), true);
setup_type("$initstate", pool<RTLIL::IdString>(), {Y}, true);
setup_type("$anyconst", pool<RTLIL::IdString>(), {Y}, true);
- setup_type("$aconst", pool<RTLIL::IdString>(), {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;