trafic.emf

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

EMF
2,097
字号
    (cell LD11
      (cellType GENERIC)
      (view NetList
        (viewType NETLIST)
        (interface
          (port D0
            (direction INPUT))
          (port G
            (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 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
      (RENAME TRAFIC "trafic")
      (cellType GENERIC)
      (property file5
        (string "d:\isptools3\synpbase\lib\vhd\arith.vhd"))
      (property file4
        (string "d:\isptools3\synpbase\lib\vhd\unsigned.vhd"))
      (property file3
        (string "d:\isptools3\synpbase\lib\vhd\std1164.vhd"))
      (property file2
        (string "e:\edapro~2\pt1032e\trafic\trafic.vhd"))
      (property file1
        (string "d:\isptools3\synpbase\lib\vhd\std.vhd"))
      (property file0
        (string "noname"))
      (view arch
        (viewType NETLIST)
        (interface
          (port
              (rename segout_0_ "SEGOUT(0)")
              (direction OUTPUT)
              (property crossref
              (string "2:8:2:8:7")))  
          (port
              (rename segout_1_ "SEGOUT(1)")
              (direction OUTPUT)
              (property crossref
              (string "2:8:2:8:7")))  
          (port
              (rename segout_2_ "SEGOUT(2)")
              (direction OUTPUT)
              (property crossref
              (string "2:8:2:8:7")))  
          (port
              (rename segout_3_ "SEGOUT(3)")
              (direction OUTPUT)
              (property crossref
              (string "2:8:2:8:7")))  
          (port
              (rename segout_4_ "SEGOUT(4)")
              (direction OUTPUT)
              (property crossref
              (string "2:8:2:8:7")))  
          (port
              (rename segout_5_ "SEGOUT(5)")
              (direction OUTPUT)
              (property crossref
              (string "2:8:2:8:7")))  
          (port
              (rename segout_6_ "SEGOUT(6)")
              (direction OUTPUT)
              (property crossref
              (string "2:8:2:8:7")))  
          (port
              (rename segout_7_ "SEGOUT(7)")
              (direction OUTPUT)
              (property crossref
              (string "2:8:2:8:7")))  
          (port
              (rename selout_0_ "SELOUT(0)")
              (direction OUTPUT)
              (property crossref
              (string "2:9:2:9:7")))  
          (port
              (rename selout_1_ "SELOUT(1)")
              (direction OUTPUT)
              (property crossref
              (string "2:9:2:9:7")))  
          (port
              (rename selout_2_ "SELOUT(2)")
              (direction OUTPUT)
              (property crossref
              (string "2:9:2:9:7")))  
          (port
              (rename selout_3_ "SELOUT(3)")
              (direction OUTPUT)
              (property crossref
              (string "2:9:2:9:7")))  
          (port clk
            (direction INPUT)
            (property crossref
              (string "2:6:8:6:10")))
          (port clk1
            (direction INPUT)
            (property crossref
              (string "2:6:12:6:15")))
          (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
            (rename counta_1 "counta[1]")
            (viewRef prim
              (cellRef FD11
                (libraryRef lattice)))
            (property crossref
              (string "2:37:1:37:2")))
          (instance
            (rename state_0 "state[0]")
            (viewRef prim
              (cellRef FD11
                (libraryRef lattice)))
            (property crossref
              (string "2:104:3:104:4")))
          (instance
            (rename state_1 "state[1]")
            (viewRef prim
              (cellRef FD11
                (libraryRef lattice)))
            (property crossref
              (string "2:104:3:104:4")))
          (instance
            (rename count1_1 "count1[1]")
            (viewRef prim
              (cellRef FD11
                (libraryRef lattice)))
            (property crossref
              (string "2:91:3:91:4")))
          (instance
            (rename count1_2 "count1[2]")
            (viewRef prim
              (cellRef FD11
                (libraryRef lattice)))
            (property crossref
              (string "2:91:3:91:4")))
          (instance
            (rename count1_3 "count1[3]")
            (viewRef prim
              (cellRef FD11
                (libraryRef lattice)))
            (property crossref
              (string "2:91:3:91:4")))
          (instance
            (rename counta_0 "counta[0]")
            (viewRef prim
              (cellRef FD11
                (libraryRef lattice)))
            (property crossref
              (string "2:37:1:37:2")))
          (instance
            (rename count0_3 "count0[3]")
            (viewRef prim
              (cellRef FD11
                (libraryRef lattice)))
            (property crossref
              (string "2:67:3:67:4")))
          (instance
            (rename count1_0 "count1[0]")
            (viewRef prim
              (cellRef FD11
                (libraryRef lattice)))
            (property crossref
              (string "2:91:3:91:4")))
          (instance
            (rename count0_1 "count0[1]")
            (viewRef prim
              (cellRef FD11
                (libraryRef lattice)))
            (property crossref
              (string "2:67:3:67:4")))
          (instance
            (rename count0_2 "count0[2]")
            (viewRef prim
              (cellRef FD11
                (libraryRef lattice)))
            (property crossref
              (string "2:67:3:67:4")))
          (instance
            (rename count_0 "count[0]")
            (viewRef prim
              (cellRef FD11
                (libraryRef lattice)))
            (property crossref
              (string "2:48:3:48:4")))
          (instance
            (rename count_1 "count[1]")
            (viewRef prim
              (cellRef FD11
                (libraryRef lattice)))
            (property crossref
              (string "2:48:3:48:4")))
          (instance
            (rename count_2 "count[2]")
            (viewRef prim
              (cellRef FD11
                (libraryRef lattice)))
            (property crossref
              (string "2:48:3:48:4")))
          (instance
            (rename count0_0 "count0[0]")
            (viewRef prim
              (cellRef FD11
                (libraryRef lattice)))
            (property crossref
              (string "2:67:3:67:4")))
          (instance load
            (viewRef prim
              (cellRef FD11
                (libraryRef lattice)))
            (property crossref
              (string "2:104:3:104:4")))
          (instance carry
            (viewRef prim
              (cellRef FD11
                (libraryRef lattice)))
            (property crossref
              (string "2:56:3:56:4")))
          (instance I_91
            (viewRef prim
              (cellRef XOR2
                (libraryRef lattice)))
            (property crossref
              (string "2:150:5:150:8")))
          (instance I_92
            (viewRef prim
              (cellRef AND2
                (libraryRef lattice)))
            (property crossref
              (string "2:150:5:150:8")))
          (instance I_93
            (viewRef prim
              (cellRef XOR2
                (libraryRef lattice)))
            (property crossref
              (string "2:150:5:150:8")))
          (instance
            (rename clkZ0 "clk")
            (viewRef prim
              (cellRef IB11
                (libraryRef lattice)))
            (property crossref
              (string "2:150:5:150:8")))
          (instance
            (rename clkZ0Z1 "clk1")
            (viewRef prim
              (cellRef IB11
                (libraryRef lattice)))
            (property crossref
              (string "2:150:5:150:8")))
          (instance
            (rename RZ0Z1 "R1")
            (viewRef prim
              (cellRef OB11
                (libraryRef lattice)))
            (property crossref
              (string "2:150:5:150:8")))
          (instance
            (rename RZ0Z2 "R2")
            (viewRef prim
              (cellRef OB11
                (libraryRef lattice)))
            (property crossref
              (string "2:150:5:150:8")))
          (instance
            (rename YZ0Z1 "Y1")
            (viewRef prim
              (cellRef OB11
                (libraryRef lattice)))
            (property crossref
              (string "2:150:5:150:8")))
          (instance
            (rename YZ0Z2 "Y2")
            (viewRef prim
              (cellRef OB11
                (libraryRef lattice)))
            (property crossref
              (string "2:150:5:150:8")))
          (instance
            (rename GZ0Z1 "G1")
            (viewRef prim
              (cellRef OB11
                (libraryRef lattice)))
            (property crossref
              (string "2:150:5:150:8")))
          (instance
            (rename GZ0Z2 "G2")
            (viewRef prim
              (cellRef OB11
                (libraryRef lattice)))
            (property crossref
              (string "2:150:5:150:8")))
          (instance
            (rename segoutZ0Z_0 "segout[0]")
            (viewRef prim
              (cellRef OB11
                (libraryRef lattice)))
            (property crossref
              (string "2:150:5:150:8")))
          (instance
            (rename segoutZ0Z_1 "segout[1]")
            (viewRef prim
              (cellRef OB11
                (libraryRef lattice)))
            (property crossref
              (string "2:150:5:150:8")))
          (instance
            (rename segoutZ0Z_2 "segout[2]")
            (viewRef prim
              (cellRef OB11

⌨️ 快捷键说明

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