trafic.edf

来自「CPLD lattice1032 VHDL实现交通灯控制!」· EDF 代码 · 共 2,139 行 · 第 1/5 页

EDF
2,139
字号
            (direction INPUT))
          (port Q0
            (direction OUTPUT)))))
    (cell LD21
      (cellType GENERIC)
      (view NetList
        (viewType NETLIST)
        (interface
          (port CD
            (direction INPUT))
          (port D0
            (direction INPUT))
          (port G
            (direction INPUT))
          (port Q0
            (direction OUTPUT)))))
    (cell LD31
      (cellType GENERIC)
      (view NetList
        (viewType NETLIST)
        (interface
          (port D0
            (direction INPUT))
          (port G
            (direction INPUT))
          (port PD
            (direction INPUT))
          (port Q0
            (direction OUTPUT)))))
    (cell LD41
      (cellType GENERIC)
      (view NetList
        (viewType NETLIST)
        (interface
          (port CD
            (direction INPUT))
          (port D0
            (direction INPUT))
          (port G
            (direction INPUT))
          (port PD
            (direction INPUT))
          (port Q0
            (direction OUTPUT)))))
  )
  (library TRAFIC
    (ediflevel 0)
    (technology (numberDefinition))

    (cell XINPUT
      (cellType GENERIC)
      (view prim
        (viewType NETLIST)
        (interface
          (port Z0
            (direction OUTPUT)
            (property crossref
              (string "0:0:0:0:0")))
          (port XI0
            (direction INPUT)
            (property crossref
              (string "0:0:0:0:0"))))))
    (cell XOUTPUT
      (cellType GENERIC)
      (view prim
        (viewType NETLIST)
        (interface
          (port XO0
            (direction OUTPUT)
            (property crossref
              (string "0:0:0:0:0")))
          (port A0
            (direction INPUT)
            (property crossref
              (string "0:0:0:0:0"))))))
    (cell DFF_FD
      (cellType GENERIC)
      (view prim
        (viewType NETLIST)
        (interface
          (port Q
            (direction OUTPUT)
            (property crossref
              (string "0:0:0:0:0")))
          (port D
            (direction INPUT)
            (property crossref
              (string "0:0:0:0:0")))
          (port CP
            (direction INPUT)
            (property crossref
              (string "0:0:0:0:0")))
          (port R
            (direction INPUT)
            (property crossref
              (string "0:0:0:0:0"))))))
    (cell XOR2
      (cellType GENERIC)
      (view prim
        (viewType NETLIST)
        (interface
          (port Z0
            (direction OUTPUT)
            (property crossref
              (string "0:0:0:0:0")))
          (port A0
            (direction INPUT)
            (property crossref
              (string "0:0:0:0:0")))
          (port A1
            (direction INPUT)
            (property crossref
              (string "0:0:0:0:0"))))))
    (cell TRAFIC
      (cellType GENERIC)
      (property file5
        (string "e:\isptools\synplify\lib\vhd\arith.vhd"))
      (property file4
        (string "e:\isptools\synplify\lib\vhd\unsigned.vhd"))
      (property file3
        (string "e:\isptools\synplify\lib\vhd\std1164.vhd"))
      (property file2
        (string "d:\neweda\trafic\trafic.vhd"))
      (property file1
        (string "e:\isptools\synplify\lib\vhd\std.vhd"))
      (property file0
        (string "noname"))
      (view arch
        (viewType NETLIST)
        (interface
          (port
            (array
              (rename A "A(3:0)") 4)
            (direction OUTPUT)
            (property crossref
              (string "2:8:2:8:2")))
          (port
            (array
              (rename B "B(3:0)") 4)
            (direction OUTPUT)
            (property crossref
              (string "2:8:4:8:4")))
          (port clk
            (direction INPUT)
            (property crossref
              (string "2:6:8:6:10")))
          (port R1
            (direction OUTPUT)
            (property crossref
              (string "2:7:2:7:3")))
          (port R2
            (direction OUTPUT)
            (property crossref
              (string "2:7:5:7:6")))
          (port Y1
            (direction OUTPUT)
            (property crossref
              (string "2:7:8:7:9")))
          (port Y2
            (direction OUTPUT)
            (property crossref
              (string "2:7:11:7:12")))
          (port G1
            (direction OUTPUT)
            (property crossref
              (string "2:7:14:7:15")))
          (port G2
            (direction OUTPUT)
            (property crossref
              (string "2:7:17:7:18"))))
        (contents
          (instance state_1
            (viewRef prim
              (cellRef FD11
                (libraryRef lattice)))
            (property crossref
              (string "2:86:3:86:4")))
          (instance state_0
            (viewRef prim
              (cellRef FD11
                (libraryRef lattice)))
            (property crossref
              (string "2:86:3:86:4")))
          (instance count_0
            (viewRef prim
              (cellRef FD11
                (libraryRef lattice)))
            (property crossref
              (string "2:30:3:30:4")))
          (instance count_1
            (viewRef prim
              (cellRef FD11
                (libraryRef lattice)))
            (property crossref
              (string "2:30:3:30:4")))
          (instance count_2
            (viewRef prim
              (cellRef FD11
                (libraryRef lattice)))
            (property crossref
              (string "2:30:3:30:4")))
          (instance load
            (viewRef prim
              (cellRef FD11
                (libraryRef lattice)))
            (property crossref
              (string "2:86:3:86:4")))
          (instance carry
            (viewRef prim
              (cellRef FD11
                (libraryRef lattice)))
            (property crossref
              (string "2:38:3:38:4")))
          (instance clkZ0
            (viewRef prim
              (cellRef IB11
                (libraryRef lattice)))
            (property crossref
              (string "0:0:0:0:0")))
          (instance RZ0Z1
            (viewRef prim
              (cellRef OB11
                (libraryRef lattice)))
            (property crossref
              (string "0:0:0:0:0")))
          (instance RZ0Z2
            (viewRef prim
              (cellRef OB11
                (libraryRef lattice)))
            (property crossref
              (string "0:0:0:0:0")))
          (instance YZ0Z1
            (viewRef prim
              (cellRef OB11
                (libraryRef lattice)))
            (property crossref
              (string "0:0:0:0:0")))
          (instance YZ0Z2
            (viewRef prim
              (cellRef OB11
                (libraryRef lattice)))
            (property crossref
              (string "0:0:0:0:0")))
          (instance GZ0Z1
            (viewRef prim
              (cellRef OB11
                (libraryRef lattice)))
            (property crossref
              (string "0:0:0:0:0")))
          (instance GZ0Z2
            (viewRef prim
              (cellRef OB11
                (libraryRef lattice)))
            (property crossref
              (string "0:0:0:0:0")))
          (instance AFD11_0
            (viewRef prim
              (cellRef FD11
                (libraryRef lattice)))
            (property crossref
              (string "2:49:3:49:4")))
          (instance AZ0Z_0
            (viewRef prim
              (cellRef OB11
                (libraryRef lattice)))
            (property crossref
              (string "0:0:0:0:0")))
          (instance AFD11_1
            (viewRef prim
              (cellRef FD11
                (libraryRef lattice)))
            (property crossref
              (string "2:49:3:49:4")))
          (instance AZ0Z_1
            (viewRef prim
              (cellRef OB11
                (libraryRef lattice)))
            (property crossref
              (string "0:0:0:0:0")))
          (instance AFD11_2
            (viewRef prim
              (cellRef FD11
                (libraryRef lattice)))
            (property crossref
              (string "2:49:3:49:4")))
          (instance AZ0Z_2
            (viewRef prim
              (cellRef OB11
                (libraryRef lattice)))
            (property crossref
              (string "0:0:0:0:0")))
          (instance AFD11_3
            (viewRef prim
              (cellRef FD11
                (libraryRef lattice)))
            (property crossref
              (string "2:49:3:49:4")))
          (instance AZ0Z_3
            (viewRef prim
              (cellRef OB11
                (libraryRef lattice)))
            (property crossref
              (string "0:0:0:0:0")))
          (instance BFD11_0
            (viewRef prim
              (cellRef FD11
                (libraryRef lattice)))
            (property crossref
              (string "2:73:3:73:4")))
          (instance BZ0Z_0
            (viewRef prim
              (cellRef OB11
                (libraryRef lattice)))
            (property crossref
              (string "0:0:0:0:0")))
          (instance BFD11_1
            (viewRef prim
              (cellRef FD11
                (libraryRef lattice)))
            (property crossref
              (string "2:73:3:73:4")))
          (instance BZ0Z_1
            (viewRef prim
              (cellRef OB11
                (libraryRef lattice)))
            (property crossref
              (string "0:0:0:0:0")))
          (instance BFD11_2
            (viewRef prim
              (cellRef FD11
                (libraryRef lattice)))
            (property crossref
              (string "2:73:3:73:4")))
          (instance BZ0Z_2
            (viewRef prim
              (cellRef OB11
                (libraryRef lattice)))
            (property crossref
              (string "0:0:0:0:0")))
          (instance BFD11_3
            (viewRef prim
              (cellRef FD11
                (libraryRef lattice)))
            (property crossref
              (string "2:73:3:73:4")))
          (instance BZ0Z_3
            (viewRef prim
              (cellRef OB11
                (libraryRef lattice)))
            (property crossref
              (string "0:0:0:0:0")))
          (instance A_c_i_3
            (viewRef prim
              (cellRef INV
                (libraryRef lattice)))
            (property crossref
              (string "0:0:0:0:0")))
          (instance G_76_i
            (viewRef prim
              (cellRef INV
                (libraryRef lattice)))
            (property crossref
              (string "0:0:0:0:0")))
          (instance Z_N_104_i
            (viewRef prim
              (cellRef INV
                (libraryRef lattice)))
            (property crossref
              (string "0:0:0:0:0")))
          (instance Z_N_105_i
            (viewRef prim
              (cellRef INV
                (libraryRef lattice)))
            (property crossref
              (string "0:0:0:0:0")))
          (instance Z_G_13_0_i
            (viewRef prim
              (cellRef INV
                (libraryRef lattice)))
            (property crossref
              (string "0:0:0:0:0")))
          (instance Z_N_103_i
            (viewRef prim
              (cellRef INV
                (libraryRef lattice)))
            (property crossref
              (string "0:0:0:0:0")))
          (instance Z_N_102_i
            (viewRef prim
              (cellRef INV
                (libraryRef lattice)))
            (property crossref
              (string "0:0:0:0:0")))
          (instance N_122_i
            (viewRef prim
              (cellRef INV
                (libraryRef lattice)))
            (property crossref
              (string "0:0:0:0:0")))
          (instance Z_N_101_i
            (viewRef prim
              (cellRef INV
                (libraryRef lattice)))
            (property crossref
              (string "0:0:0:0:0")))
          (instance Z_G_9_0_i
            (viewRef prim
              (cellRef INV
                (libraryRef lattice)))
            (property crossref
              (string "0:0:0:0:0")))
          (instance G_83_i
            (viewRef prim
              (cellRef INV
                (libraryRef lattice)))
            (property crossref
              (string "0:0:0:0:0")))
          (instance A_c_i_0
            (viewRef prim
              (cellRef INV
                (libraryRef lattice)))
            (property crossref
              (string "0:0:0:0:0")))
          (instance Z_G_4_0_or3_i
            (viewRef prim
              (cellRef INV
                (libraryRef lattice)))
            (property crossref

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?