aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2016-08-30 19:09:56 +0200
committerClifford Wolf <clifford@clifford.at>2016-08-30 19:09:56 +0200
commit6f41e5277d1d41db7a620c73cf1b65558b55f236 (patch)
tree45cad8b0cafc31392a3fe71a505b442ee6a61ed7 /kernel
parenta8124c137e2bfa3605dacadfe469ea22934b4cb3 (diff)
downloadyosys-6f41e5277d1d41db7a620c73cf1b65558b55f236.tar.gz
yosys-6f41e5277d1d41db7a620c73cf1b65558b55f236.tar.bz2
yosys-6f41e5277d1d41db7a620c73cf1b65558b55f236.zip
Removed $aconst cell type
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;