作者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