[讨论] NAND 和 NOR gate??

楼主: ckmarkoh (阿杰)   2012-03-29 16:46:17
我发现Reference program好像没办法建立NAND和NOR gate
而会被AND和OR取代
输入以下指令
create design test1
define net -pi a 5
define net -pi b 5
define net -po c 5
define net -po d 5
define cell NAND c a b
define cell NOR d a b
fla
rep ckt
sim test_cell.pattern
模拟此pattern
5'b01010 5'b00011
5'b00000 5'b00000
5'b11111 5'b11111
结果
Current pattern > 5'b01010 5'b00011
Simulated PO > 5'b00010 5'b01011
Current pattern > 5'b00000 5'b00000
Simulated PO > 5'b00000 5'b00000
Current pattern > 5'b11111 5'b11111
Simulated PO > 5'b11111 5'b11111
结果就如同 AND 和 OR 依样
report ckt 发现
DESIGN @ test1> rep ckt
Report Statistics : Ckt is "test1"
==================================================
PI CELL 2
PO CELL 2
AND CELL 1
OR CELL 1
==================================================
Total Cell 6
没有 NAND 和 NOR 或INV 而是 AND 和 OR

Links booklink

Contact Us: admin [ a t ] ucptt.com