📄 stopwatch.edf
字号:
))
(net (rename one_hot_6 "one_hot[6]") (joined
(portRef O (instanceRef one_hot52_0_and2))
(portRef (member one_hot 3))
))
(net (rename one_hot_7 "one_hot[7]") (joined
(portRef O (instanceRef one_hot53_0_and2))
(portRef (member one_hot 2))
))
(net (rename one_hot_8 "one_hot[8]") (joined
(portRef O (instanceRef one_hot54_0_and2))
(portRef (member one_hot 1))
))
(net (rename one_hot_9 "one_hot[9]") (joined
(portRef O (instanceRef one_hot55_0_and2))
(portRef (member one_hot 0))
))
(net (rename q_0 "Q[0]") (joined
(portRef (member q 3))
(portRef I0 (instanceRef one_hot55_0_and2))
(portRef I2 (instanceRef one_hot54_0_and2))
(portRef I3 (instanceRef one_hot53_0_and2))
(portRef I2 (instanceRef one_hot50_0_and2))
(portRef I2 (instanceRef one_hot49_0_and2))
(portRef I3 (instanceRef one_hot52_0_and2))
(portRef I2 (instanceRef one_hot51_0_and2))
(portRef I1 (instanceRef one_hot48_0_and2))
(portRef I0 (instanceRef one_hot47_0_and2))
(portRef I3 (instanceRef one_hot_1_0_1_0))
))
(net (rename q_1 "Q[1]") (joined
(portRef (member q 2))
(portRef I1 (instanceRef one_hot55_0_and2))
(portRef I1 (instanceRef one_hot54_0_and2))
(portRef I1 (instanceRef one_hot53_0_and2))
(portRef I3 (instanceRef one_hot50_0_and2))
(portRef I3 (instanceRef one_hot49_0_and2))
(portRef I2 (instanceRef one_hot52_0_and2))
(portRef I3 (instanceRef one_hot51_0_and2))
(portRef I0 (instanceRef one_hot48_0_and2))
(portRef I1 (instanceRef one_hot47_0_and2))
(portRef I2 (instanceRef one_hot_1_0_1_0))
))
(net (rename q_2 "Q[2]") (joined
(portRef (member q 1))
(portRef I3 (instanceRef one_hot55_0_and2))
(portRef I0 (instanceRef one_hot54_0_and2))
(portRef I0 (instanceRef one_hot53_0_and2))
(portRef I1 (instanceRef one_hot50_0_and2))
(portRef I1 (instanceRef one_hot49_0_and2))
(portRef I1 (instanceRef one_hot52_0_and2))
(portRef I1 (instanceRef one_hot51_0_and2))
(portRef I3 (instanceRef one_hot48_0_and2))
(portRef I3 (instanceRef one_hot47_0_and2))
(portRef I1 (instanceRef one_hot_1_0_1_0))
))
(net (rename q_3 "Q[3]") (joined
(portRef (member q 0))
(portRef I2 (instanceRef one_hot55_0_and2))
(portRef I3 (instanceRef one_hot54_0_and2))
(portRef I2 (instanceRef one_hot53_0_and2))
(portRef I0 (instanceRef one_hot50_0_and2))
(portRef I0 (instanceRef one_hot49_0_and2))
(portRef I0 (instanceRef one_hot52_0_and2))
(portRef I0 (instanceRef one_hot51_0_and2))
(portRef I2 (instanceRef one_hot48_0_and2))
(portRef I2 (instanceRef one_hot47_0_and2))
(portRef I0 (instanceRef one_hot_1_0_1_0))
))
)
)
)
(cell dcm1 (cellType GENERIC)
(view netlist (viewType NETLIST)
(interface
(port clk (direction INPUT))
(port clk_int (direction OUTPUT))
)
(contents
(instance CLK0_BUFG_INST (viewRef PRIM (cellRef BUFG (libraryRef VIRTEX)))
)
(instance CLKIN_IBUFG_INST (viewRef PRIM (cellRef IBUFG (libraryRef VIRTEX)))
)
(instance DCM_INST (viewRef PRIM (cellRef DCM (libraryRef VIRTEX)))
)
(instance GND (viewRef PRIM (cellRef GND (libraryRef UNILIB))) )
(net clk (joined
(portRef clk)
(portRef I (instanceRef CLKIN_IBUFG_INST))
))
(net clk_int (joined
(portRef O (instanceRef CLK0_BUFG_INST))
(portRef CLKFB (instanceRef DCM_INST))
(portRef clk_int)
))
(net CLK0_BUF (joined
(portRef I (instanceRef CLK0_BUFG_INST))
(portRef CLK0 (instanceRef DCM_INST))
)
)
(net CLKIN_IBUFG (joined
(portRef O (instanceRef CLKIN_IBUFG_INST))
(portRef CLKIN (instanceRef DCM_INST))
))
(net (rename GNDZ0 "GND") (joined
(portRef G (instanceRef GND))
(portRef RST (instanceRef DCM_INST))
(portRef PSINCDEC (instanceRef DCM_INST))
(portRef PSEN (instanceRef DCM_INST))
(portRef PSCLK (instanceRef DCM_INST))
(portRef DSSEN (instanceRef DCM_INST))
))
)
)
)
(cell cnt60 (cellType GENERIC)
(view netlist (viewType NETLIST)
(interface
(port (array (rename tens "tens[3:0]") 4) (direction OUTPUT))
(port (array (rename ones "ones[3:0]") 4) (direction OUTPUT))
(port rst_int (direction INPUT))
(port XLXN_19 (direction INPUT))
(port clk_int (direction INPUT))
)
(contents
(instance I3 (viewRef PRIM (cellRef OR2 (libraryRef UNILIB)))
)
(instance I1 (viewRef PRIM (cellRef INV (libraryRef UNILIB)))
)
(instance I2 (viewRef PRIM (cellRef INV (libraryRef UNILIB)))
)
(instance I4 (viewRef PRIM (cellRef AND4 (libraryRef UNILIB)))
)
(instance I8 (viewRef PRIM (cellRef AND2 (libraryRef UNILIB)))
)
(instance I7 (viewRef PRIM (cellRef AND2 (libraryRef UNILIB)))
)
(instance I5 (viewRef netlist (cellRef CB4CE_MXILINX_cnt60)) )
(instance I6 (viewRef netlist (cellRef CD4CE_MXILINX_cnt60)) )
(net (rename tens_0 "tens[0]") (joined
(portRef (member tens 3) (instanceRef I6))
(portRef (member tens 3))
))
(net (rename tens_1 "tens[1]") (joined
(portRef (member tens 2) (instanceRef I6))
(portRef (member tens 2))
))
(net (rename tens_2 "tens[2]") (joined
(portRef (member tens 1) (instanceRef I6))
(portRef (member tens 1))
))
(net (rename tens_3 "tens[3]") (joined
(portRef (member tens 0) (instanceRef I6))
(portRef (member tens 0))
))
(net (rename ones_0 "ones[0]") (joined
(portRef (member ones 3) (instanceRef I5))
(portRef I3 (instanceRef I4))
(portRef (member ones 3))
))
(net (rename ones_1 "ones[1]") (joined
(portRef (member ones 2) (instanceRef I5))
(portRef I (instanceRef I2))
(portRef (member ones 2))
))
(net (rename ones_2 "ones[2]") (joined
(portRef (member ones 1) (instanceRef I5))
(portRef I1 (instanceRef I4))
(portRef (member ones 1))
))
(net (rename ones_3 "ones[3]") (joined
(portRef (member ones 0) (instanceRef I5))
(portRef I (instanceRef I1))
(portRef (member ones 0))
))
(net rst_int (joined
(portRef rst_int)
(portRef rst_int (instanceRef I6))
(portRef rst_int (instanceRef I5))
))
(net (rename xlxn_19 "XLXN_19") (joined
(portRef XLXN_19)
(portRef XLXN_19 (instanceRef I6))
(portRef I0 (instanceRef I8))
))
(net clk_int (joined
(portRef clk_int)
(portRef clk_int (instanceRef I6))
(portRef I1 (instanceRef I3))
))
(net XLXN_20 (joined
(portRef O (instanceRef I7))
(portRef I0 (instanceRef I3))
))
(net XLXN_15 (joined
(portRef O (instanceRef I3))
(portRef XLXN_15 (instanceRef I5))
))
(net XLXN_14 (joined
(portRef O (instanceRef I1))
(portRef I0 (instanceRef I4))
))
(net XLXN_13 (joined
(portRef O (instanceRef I2))
(portRef I2 (instanceRef I4))
))
(net XLXN_16 (joined
(portRef O (instanceRef I4))
(portRef I0 (instanceRef I7))
))
(net XLXN_18 (joined
(portRef XLXN_18 (instanceRef I6))
(portRef I1 (instanceRef I8))
))
(net XLXN_19_0 (joined
(portRef O (instanceRef I8))
(portRef XLXN_19 (instanceRef I5))
(portRef I1 (instanceRef I7))
))
)
)
)
(cell tenths (cellType GENERIC)
(view verilog (viewType NETLIST)
(interface
(port (array (rename q "Q[3:0]") 4) (direction OUTPUT))
(port CLK (direction INPUT))
(port Q_THRESH0 (direction OUTPUT))
(port CE (direction INPUT))
(port AINIT (direction INPUT))
)
)
)
(cell stopwatch (cellType GENERIC)
(view verilog (viewType NETLIST)
(interface
(port (array (rename onesout "onesout[6:0]") 7) (direction OUTPUT))
(port (array (rename tensout "tensout[6:0]") 7) (direction OUTPUT))
(port (array (rename tenthsout "tenthsout[9:0]") 10) (direction OUTPUT))
(port clk (direction INPUT)
)
(port reset (direction INPUT)
)
(port strstop (direction INPUT)
)
)
(contents
(instance (rename tensout_obuf_6 "tensout_obuf[6]") (viewRef PRIM (cellRef OBUF (libraryRef VIRTEX)))
)
(instance (rename tensout_obuf_5 "tensout_obuf[5]") (viewRef PRIM (cellRef OBUF (libraryRef VIRTEX)))
)
(instance (rename tensout_obuf_4 "tensout_obuf[4]") (viewRef PRIM (cellRef OBUF (libraryRef VIRTEX)))
)
(instance (rename tensout_obuf_3 "tensout_obuf[3]") (viewRef PRIM (cellRef OBUF (libraryRef VIRTEX)))
)
(instance (rename tensout_obuf_2 "tensout_obuf[2]") (viewRef PRIM (cellRef OBUF (libraryRef VIRTEX)))
)
(instance (rename tensout_obuf_1 "tensout_obuf[1]") (viewRef PRIM (cellRef OBUF (libraryRef VIRTEX)))
)
(instance (rename tensout_obuf_0 "tensout_obuf[0]") (viewRef PRIM (cellRef OBUF (libraryRef VIRTEX)))
)
(instance (rename onesout_obuf_6 "onesout_obuf[6]") (viewRef PRIM (cellRef OBUF (libraryRef VIRTEX)))
)
(instance (rename onesout_obuf_5 "onesout_obuf[5]") (viewRef PRIM (cellRef OBUF (libraryRef VIRTEX)))
)
(instance (rename onesout_obuf_4 "onesout_obuf[4]") (viewRef PRIM (cellRef OBUF (libraryRef VIRTEX)))
)
(instance (rename onesout_obuf_3 "onesout_obuf[3]") (viewRef PRIM (cellRef OBUF (libraryRef VIRTEX)))
)
(instance (rename onesout_obuf_2 "onesout_obuf[2]") (viewRef PRIM (cellRef OBUF (libraryRef VIRTEX)))
)
(instance (rename onesout_obuf_1 "onesout_obuf[1]") (viewRef PRIM (cellRef OBUF (libraryRef VIRTEX)))
)
(instance (rename onesout_obuf_0 "onesout_obuf[0]") (viewRef PRIM (cellRef OBUF (libraryRef VIRTEX)))
)
(instance XLXI_9 (viewRef verilog (cellRef tenths)) )
(instance XLXI_7 (viewRef PRIM (cellRef INV (libraryRef UNILIB)))
)
(instance XLXI_6 (viewRef PRIM (cellRef IBUF (libraryRef VIRTEX)))
)
(instance XLXI_2 (viewRef PRIM (cellRef IBUF (libraryRef VIRTEX)))
)
(instance XLXI_15 (viewRef PRIM (cellRef AND2 (libraryRef UNILIB)))
)
(instance XLXI_12 (viewRef netlist (cellRef cnt60)) )
(instance XLXI_16 (viewRef netlist (cellRef dcm1)) )
(instance XLXI_10 (viewRef netlist (cellRef decode)) )
(instance XLXI_13 (viewRef netlist (cellRef hex2led)) )
(instance XLXI_14 (viewRef netlist (cellRef hex2led_1)) )
(instance XLXI_11 (viewRef netlist (cellRef outs3)) )
(instance XLXI_5 (viewRef netlist (cellRef stmach_v)) )
(net clk (joined
(portRef clk)
(portRef clk (instanceRef XLXI_16))
))
(net reset (joined
(portRef reset)
(portRef I (instanceRef XLXI_2))
))
(net strstop (joined
(portRef strstop)
(portRef I (instanceRef XLXI_6))
))
(net (rename onesout_0 "onesout[0]") (joined
(portRef O (instanceRef onesout_obuf_0))
(portRef (member onesout 6))
))
(net (rename onesout_1 "onesout[1]") (joined
(portRef O (instanceRef onesout_obuf_1))
(portRef (member onesout 5))
))
(net (rename onesout_2 "onesout[2]") (joined
(portRef O (instanceRef onesout_obuf_2))
(portRef (member onesout 4))
))
(net (rename onesout_3 "onesout[3]") (joined
(portRef O (instanceRef onesout_obuf_3))
(portRef (member onesout 3))
))
(net (rename onesout_4 "onesout[4]") (joined
(portRef O (instanceRef onesout_obuf_4))
(portRef (member onesout 2))
))
(net (rename onesout_5 "onesout[5]") (joined
(portRef O (instanceRef onesout_obuf_5))
(portRef (member onesout 1))
))
(net (rename onesout_6 "onesout[6]") (joined
(portRef O (instanceRef onesout_obuf_6))
(portRef (member onesout 0))
))
(net (rename tensout_0 "tensout[0]") (joined
(portRef O (instanceRef tensout_obuf_0))
(portRef (member tensout 6))
))
(net (rename tensout_1 "tensout[1]") (joined
(portRef O (instanceRef tensout_obuf_1))
(portRef (member tensout 5))
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -