aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/celltypes.h
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-08-15 14:11:40 +0200
committerClifford Wolf <clifford@clifford.at>2014-08-15 14:11:40 +0200
commitf092b5014895dc5dc62b8103fcedf94cfa9f85a8 (patch)
tree2f09add560746030249fe333e551de2f113bccdb /kernel/celltypes.h
parentbf486002d9a6d976b3d086700ccdcfb0fb70ba0b (diff)
downloadyosys-f092b5014895dc5dc62b8103fcedf94cfa9f85a8.tar.gz
yosys-f092b5014895dc5dc62b8103fcedf94cfa9f85a8.tar.bz2
yosys-f092b5014895dc5dc62b8103fcedf94cfa9f85a8.zip
Renamed $_INV_ cell type to $_NOT_
Diffstat (limited to 'kernel/celltypes.h')
-rw-r--r--kernel/celltypes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/celltypes.h b/kernel/celltypes.h
index 5486f6acb..e30ceb8b1 100644
--- a/kernel/celltypes.h
+++ b/kernel/celltypes.h
@@ -130,7 +130,7 @@ struct CellTypes
void setup_stdcells()
{
- setup_type("$_INV_", {"\\A"}, {"\\Y"}, false);
+ setup_type("$_NOT_", {"\\A"}, {"\\Y"}, false);
setup_type("$_AND_", {"\\A", "\\B"}, {"\\Y"}, false);
setup_type("$_OR_", {"\\A", "\\B"}, {"\\Y"}, false);
setup_type("$_XOR_", {"\\A", "\\B"}, {"\\Y"}, false);
@@ -241,7 +241,7 @@ struct CellTypes
HANDLE_CELL_TYPE(neg)
#undef HANDLE_CELL_TYPE
- if (type == "$_INV_")
+ if (type == "$_NOT_")
return const_not(arg1, arg2, false, false, 1);
if (type == "$_AND_")
return const_and(arg1, arg2, false, false, 1);