📄 decoder_top.edn
字号:
(view netlist (viewType NETLIST)
(interface
(port KEY_0_key_out2 (direction OUTPUT))
(port KEY_0_key_out1 (direction OUTPUT))
(port sysclk_c (direction INPUT))
(port key_in2_c (direction INPUT))
(port key_in1_c (direction INPUT))
)
(contents
(instance un1_key_out1_2 (viewRef prim (cellRef NOR3C (libraryRef PA3))) )
(instance un1_key_out2_2 (viewRef prim (cellRef NOR3C (libraryRef PA3))) )
(instance un1_key_out2 (viewRef prim (cellRef OR3C (libraryRef PA3))) )
(instance un1_key_out1 (viewRef prim (cellRef OR3C (libraryRef PA3))) )
(instance key_temp11 (viewRef prim (cellRef DFN1 (libraryRef PA3)))
)
(instance key_temp21 (viewRef prim (cellRef DFN1 (libraryRef PA3)))
)
(instance key_temp12 (viewRef prim (cellRef DFN1 (libraryRef PA3)))
)
(instance key_temp22 (viewRef prim (cellRef DFN1 (libraryRef PA3)))
)
(instance key_temp13 (viewRef prim (cellRef DFN1 (libraryRef PA3)))
)
(instance key_temp23 (viewRef prim (cellRef DFN1 (libraryRef PA3)))
)
(instance key_temp14 (viewRef prim (cellRef DFN1 (libraryRef PA3)))
)
(instance key_temp24 (viewRef prim (cellRef DFN1 (libraryRef PA3)))
)
(instance key_out1 (viewRef prim (cellRef DFN1 (libraryRef PA3)))
)
(instance key_out2 (viewRef prim (cellRef DFN1 (libraryRef PA3)))
)
(instance VCC_i (viewRef prim (cellRef VCC (libraryRef PA3))) )
(instance GND_i (viewRef prim (cellRef GND (libraryRef PA3))) )
(instance VCC_i_0 (viewRef prim (cellRef VCC (libraryRef PA3))) )
(instance GND_i_0 (viewRef prim (cellRef GND (libraryRef PA3))) )
(net (rename un1_key_out1Z0Z_2 "un1_key_out1_2") (joined
(portRef Y (instanceRef un1_key_out1_2))
(portRef C (instanceRef un1_key_out1))
))
(net (rename key_tempZ0Z14 "key_temp14") (joined
(portRef Q (instanceRef key_temp14))
(portRef A (instanceRef un1_key_out1_2))
))
(net (rename key_tempZ0Z13 "key_temp13") (joined
(portRef Q (instanceRef key_temp13))
(portRef D (instanceRef key_temp14))
(portRef C (instanceRef un1_key_out1_2))
))
(net (rename un1_key_out2Z0Z_2 "un1_key_out2_2") (joined
(portRef Y (instanceRef un1_key_out2_2))
(portRef C (instanceRef un1_key_out2))
))
(net (rename key_tempZ0Z24 "key_temp24") (joined
(portRef Q (instanceRef key_temp24))
(portRef A (instanceRef un1_key_out2_2))
))
(net (rename key_tempZ0Z23 "key_temp23") (joined
(portRef Q (instanceRef key_temp23))
(portRef D (instanceRef key_temp24))
(portRef C (instanceRef un1_key_out2_2))
))
(net un1_key_out2_i_0 (joined
(portRef Y (instanceRef un1_key_out2))
(portRef D (instanceRef key_out2))
))
(net (rename key_tempZ0Z22 "key_temp22") (joined
(portRef Q (instanceRef key_temp22))
(portRef D (instanceRef key_temp23))
(portRef A (instanceRef un1_key_out2))
))
(net (rename key_tempZ0Z21 "key_temp21") (joined
(portRef Q (instanceRef key_temp21))
(portRef D (instanceRef key_temp22))
(portRef B (instanceRef un1_key_out2))
))
(net un1_key_out1_i_0 (joined
(portRef Y (instanceRef un1_key_out1))
(portRef D (instanceRef key_out1))
))
(net (rename key_tempZ0Z12 "key_temp12") (joined
(portRef Q (instanceRef key_temp12))
(portRef D (instanceRef key_temp13))
(portRef A (instanceRef un1_key_out1))
))
(net (rename key_tempZ0Z11 "key_temp11") (joined
(portRef Q (instanceRef key_temp11))
(portRef D (instanceRef key_temp12))
(portRef B (instanceRef un1_key_out1))
))
(net key_in1_c (joined
(portRef key_in1_c)
(portRef D (instanceRef key_temp11))
(portRef B (instanceRef un1_key_out1_2))
))
(net sysclk_c (joined
(portRef sysclk_c)
(portRef CLK (instanceRef key_out2))
(portRef CLK (instanceRef key_out1))
(portRef CLK (instanceRef key_temp24))
(portRef CLK (instanceRef key_temp14))
(portRef CLK (instanceRef key_temp23))
(portRef CLK (instanceRef key_temp13))
(portRef CLK (instanceRef key_temp22))
(portRef CLK (instanceRef key_temp12))
(portRef CLK (instanceRef key_temp21))
(portRef CLK (instanceRef key_temp11))
))
(net key_in2_c (joined
(portRef key_in2_c)
(portRef D (instanceRef key_temp21))
(portRef B (instanceRef un1_key_out2_2))
))
(net KEY_0_key_out1 (joined
(portRef Q (instanceRef key_out1))
(portRef KEY_0_key_out1)
))
(net KEY_0_key_out2 (joined
(portRef Q (instanceRef key_out2))
(portRef KEY_0_key_out2)
))
(net GND (joined
(portRef Y (instanceRef GND_i))
))
(net VCC (joined
(portRef Y (instanceRef VCC_i))
))
(net (rename GNDZ0 "GND") (joined
(portRef Y (instanceRef GND_i_0))
))
(net (rename VCCZ0 "VCC") (joined
(portRef Y (instanceRef VCC_i_0))
))
)
)
)
(cell decoder_top (cellType GENERIC)
(view verilog (viewType NETLIST)
(interface
(port key_in1 (direction INPUT))
(port key_in2 (direction INPUT))
(port sysclk (direction INPUT)
)
(port (array (rename eq "Eq[3:0]") 4) (direction OUTPUT))
)
(contents
(instance (rename Eq_pad_3 "Eq_pad[3]") (viewRef prim (cellRef OUTBUF (libraryRef PA3))) )
(instance (rename Eq_pad_2 "Eq_pad[2]") (viewRef prim (cellRef OUTBUF (libraryRef PA3))) )
(instance (rename Eq_pad_1 "Eq_pad[1]") (viewRef prim (cellRef OUTBUF (libraryRef PA3))) )
(instance (rename Eq_pad_0 "Eq_pad[0]") (viewRef prim (cellRef OUTBUF (libraryRef PA3))) )
(instance sysclk_pad (viewRef prim (cellRef INBUF (libraryRef PA3)))
)
(instance key_in2_pad (viewRef prim (cellRef INBUF (libraryRef PA3)))
)
(instance key_in1_pad (viewRef prim (cellRef INBUF (libraryRef PA3)))
)
(instance KEY_0 (viewRef netlist (cellRef KEY)) )
(instance Decoder_0 (viewRef netlist (cellRef Decoder)) )
(instance VCC_i (viewRef prim (cellRef VCC (libraryRef PA3))) )
(instance GND_i (viewRef prim (cellRef GND (libraryRef PA3))) )
(instance VCC_i_0 (viewRef prim (cellRef VCC (libraryRef PA3))) )
(instance GND_i_0 (viewRef prim (cellRef GND (libraryRef PA3))) )
(net KEY_0_key_out1 (joined
(portRef KEY_0_key_out1 (instanceRef KEY_0))
(portRef KEY_0_key_out1 (instanceRef Decoder_0))
))
(net KEY_0_key_out2 (joined
(portRef KEY_0_key_out2 (instanceRef KEY_0))
(portRef KEY_0_key_out2 (instanceRef Decoder_0))
))
(net GND (joined
(portRef Y (instanceRef GND_i))
(portRef Decoder_GND (instanceRef Decoder_0))
))
(net VCC (joined
(portRef Y (instanceRef VCC_i))
))
(net key_in1_c (joined
(portRef Y (instanceRef key_in1_pad))
(portRef key_in1_c (instanceRef KEY_0))
))
(net key_in1 (joined
(portRef key_in1)
(portRef PAD (instanceRef key_in1_pad))
))
(net key_in2_c (joined
(portRef Y (instanceRef key_in2_pad))
(portRef key_in2_c (instanceRef KEY_0))
))
(net key_in2 (joined
(portRef key_in2)
(portRef PAD (instanceRef key_in2_pad))
))
(net sysclk_c (joined
(portRef Y (instanceRef sysclk_pad))
(portRef sysclk_c (instanceRef KEY_0))
))
(net sysclk (joined
(portRef sysclk)
(portRef PAD (instanceRef sysclk_pad))
))
(net (rename Eq_c_0 "Eq_c[0]") (joined
(portRef (member eq_c 3) (instanceRef Decoder_0))
(portRef D (instanceRef Eq_pad_0))
))
(net (rename Eq_0 "Eq[0]") (joined
(portRef PAD (instanceRef Eq_pad_0))
(portRef (member eq 3))
))
(net (rename Eq_c_1 "Eq_c[1]") (joined
(portRef (member eq_c 2) (instanceRef Decoder_0))
(portRef D (instanceRef Eq_pad_1))
))
(net (rename Eq_1 "Eq[1]") (joined
(portRef PAD (instanceRef Eq_pad_1))
(portRef (member eq 2))
))
(net (rename Eq_c_2 "Eq_c[2]") (joined
(portRef (member eq_c 1) (instanceRef Decoder_0))
(portRef D (instanceRef Eq_pad_2))
))
(net (rename Eq_2 "Eq[2]") (joined
(portRef PAD (instanceRef Eq_pad_2))
(portRef (member eq 1))
))
(net (rename Eq_c_3 "Eq_c[3]") (joined
(portRef (member eq_c 0) (instanceRef Decoder_0))
(portRef D (instanceRef Eq_pad_3))
))
(net (rename Eq_3 "Eq[3]") (joined
(portRef PAD (instanceRef Eq_pad_3))
(portRef (member eq 0))
))
(net (rename GNDZ0 "GND") (joined
(portRef Y (instanceRef GND_i_0))
))
(net (rename VCCZ0 "VCC") (joined
(portRef Y (instanceRef VCC_i_0))
))
)
)
)
)
(design decoder_top (cellRef decoder_top (libraryRef work)))
)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -