作者ric2k1 (Ric)
看板EE_DSnP
标题[情报] PO gate
时间Sat May 30 14:13:45 2009
也许同学们还不是很清楚 PO gate 到底是要怎麽建, 在此说明一下:
以 C17.cir 为例:
.cir C17
.input 1GAT 2GAT 3GAT 6GAT 7GAT
.output 22GAT 23GAT
and 11GAT 3GAT 6GAT
and 10GAT 1GAT 3GAT
inv 11GAT_B 11GAT
and 19GAT 11GAT_B 7GAT
and 16GAT 2GAT 11GAT_B
or 23GAT 16GAT 19GAT
or 22GAT 10GAT 16GAT
.end
22GAT 以及 23GAT 被宣告成 outputs, 但是又被宣告成 OR gates.
所以你在建 netlist 的时候, 要 create extra 的 PO gates 22GAT$PO 以及 23GAT$PO,
然後把它们的 fanins 接到 22GAT 以及 23GAT, respectively.
而 22GAT 以及 23GAT 还是照原来定义建成 OR gates.
这样的目的是让原先的 output signal 可以在连到别人, 而不会破坏 PO gate 没有
fanout 的原则. 比方说:
.cir kk.cir
.input a b c
.output x y
and x a b
or y x c
.end
你可以想想看 netlist 应该长怎麽样?
Circuit: kk.cir
PI a
PI b
AND x a b
PO x$PO x
PI c
OR y x c
PO y$PO y
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 61.216.0.24
1F:推 uxijgil:有看有推! 原来在_poList里的名子为 name+"$PO" 06/06 05:54