head 1.1; access; symbols; locks; strict; comment @# @; expand @b@; 1.1 date 2001.09.20.10.07.35; author bbeaver; state Exp; branches; next ; desc @@ 1.1 log @adding beginning LPM files @ text @ EDIF Example

EDIF Example

Schematic Description


EDIF 2 0 0 Description

  (edif fibex  (edifVersion 2 0 0)
      (edifLevel 0)
      (keywordMap (keywordLevel 0))
      (status
          (written
          (timeStamp 1995 11 22 23 2 53)
          (program "EDIFWRITER" (version "v8.4_2.1"))
          )
      )
      (library FIBEX
          (edifLevel 0)
          (technology
              (numberDefinition
                   (scale 1 (e 1 -6) (unit distance)))
          )
          (cell dff_4 (cellType generic)
              (view view1 (viewType netlist)
                  (interface
                      (port aset (direction INPUT))
                      (port clock (direction INPUT))
                      (port data0 (direction INPUT))
                      (port data1 (direction INPUT))
                      (port data2 (direction INPUT))
                      (port data3 (direction INPUT))
                      (port q0 (direction OUTPUT))
                      (port q1 (direction OUTPUT))
                      (port q2 (direction OUTPUT))
                      (port q3 (direction OUTPUT))
                      (property LPM_Avalue (integer 1))
                      (property LPM_TYPE (string "LPM_FF"))
                      (property LPM_FFTYPE (string "DFF"))
                      (property LPM_Width (integer 4))
                  )
              )
          )
          (cell addsub_4 (cellType generic)
              (view view1 (viewType netlist)
                  (interface
                      (port dataA0 (direction INPUT))
                      (port dataA1 (direction INPUT))
                      (port dataA2 (direction INPUT))
                      (port dataA3 (direction INPUT))
                      (port dataB0 (direction INPUT))
                      (port dataB1 (direction INPUT))
                      (port dataB2 (direction INPUT))
                      (port dataB3 (direction INPUT))
                      (port result0 (direction OUTPUT))
                      (port result1 (direction OUTPUT))
                      (port result2 (direction OUTPUT))
                      (port result3 (direction OUTPUT))
                      (property LPM_TYPE (string "LPM_ADD_SUB"))
                      (property LPM_Width (integer 4))
                  )
              )
          )
          (cell FIBEX (cellType generic)
              (view schematic (viewType netlist)
                  (interface
                      (port CLEAR (direction INPUT))
                      (port CLOCK (direction INPUT))
                      (port (rename RESULT_91_0_93_ "RESULT[0]") (direction INOUT))
                      (port (rename RESULT_91_1_93_ "RESULT[1]") (direction INOUT))
                      (port (rename RESULT_91_2_93_ "RESULT[2]") (direction INOUT))
                      (port (rename RESULT_91_3_93_ "RESULT[3]") (direction INOUT))
                  )
                  (contents
                      (instance (rename I_36_1 "I$1")
                          (viewRef view1 (cellRef dff_4))
                      )
                      (instance (rename I_36_3 "I$3")
                          (viewRef view1 (cellRef addsub_4))
                      )
                      (instance (rename I_36_5 "I$5")
                          (viewRef view1 (cellRef dff_4))
                      )
                      (net CLEAR
                          (joined
                              (portRef CLEAR)
                              (portRef aset (instanceRef I_36_1))
                              (portRef aset (instanceRef I_36_5))
                          )
                      )
                      (net CLOCK
                          (joined
                              (portRef CLOCK)
                              (portRef clock (instanceRef I_36_1))
                              (portRef clock (instanceRef I_36_5))
                          )
                      )
                      (net (rename LAST_91_0_93_ "LAST[0]")
                          (joined
                              (portRef data0 (instanceRef I_36_5))
                              (portRef dataB0 (instanceRef I_36_3))
                              (portRef q0 (instanceRef I_36_1))
                          )
                      )
                      (net (rename LAST_91_1_93_ "LAST[1]")
                          (joined
                              (portRef data1 (instanceRef I_36_5))
                              (portRef dataB1 (instanceRef I_36_3))
                              (portRef q1 (instanceRef I_36_1))
                          )
                      )
                      (net (rename LAST_91_2_93_ "LAST[2]")
                          (joined
                              (portRef data2 (instanceRef I_36_5))
                              (portRef dataB2 (instanceRef I_36_3))
                              (portRef q2 (instanceRef I_36_1))
                          )
                      )
                      (net (rename LAST_91_3_93_ "LAST[3]")
                          (joined
                              (portRef data3 (instanceRef I_36_5))
                              (portRef dataB3 (instanceRef I_36_3))
                              (portRef q3 (instanceRef I_36_1))
                          )
                      )
                      (net (rename PRESENT_91_0_93_ "PRESENT[0]")
                          (joined
                              (portRef dataA0 (instanceRef I_36_3))
                              (portRef q0 (instanceRef I_36_5))
                          )
                      )
                      (net (rename PRESENT_91_1_93_ "PRESENT[1]")
                          (joined
                              (portRef dataA1 (instanceRef I_36_3))
                              (portRef q1 (instanceRef I_36_5))
                          )
                      )
                      (net (rename PRESENT_91_2_93_ "PRESENT[2]")
                          (joined
                              (portRef dataA2 (instanceRef I_36_3))
                              (portRef q2 (instanceRef I_36_5))
                          )
                      )
                      (net (rename PRESENT_91_3_93_ "PRESENT[3]")
                          (joined
                              (portRef dataA3 (instanceRef I_36_3))
                              (portRef q3 (instanceRef I_36_5))
                          )
                      )
                      (net (rename RESULT_91_0_93_ "RESULT[0]")
                          (joined
                              (portRef RESULT_91_0_93_)
                              (portRef data0 (instanceRef I_36_1))
                              (portRef result0 (instanceRef I_36_3))
                          )
                      )
                      (net (rename RESULT_91_1_93_ "RESULT[1]")
                          (joined
                              (portRef RESULT_91_1_93_)
                              (portRef data1 (instanceRef I_36_1))
                              (portRef result1 (instanceRef I_36_3))
                          )
                      )
                      (net (rename RESULT_91_2_93_ "RESULT[2]")
                          (joined
                              (portRef RESULT_91_2_93_)
                              (portRef data2 (instanceRef I_36_1))
                              (portRef result2 (instanceRef I_36_3))
                          )
                      )
                      (net (rename RESULT_91_3_93_ "RESULT[3]")
                          (joined
                              (portRef RESULT_91_3_93_)
                              (portRef data3 (instanceRef I_36_1))
                              (portRef result3 (instanceRef I_36_3))
                          )
                      )
                  )
              )
          )
      )
      (design FIBEX
              (cellRef FIBEX (libraryRef FIBEX))
  )

       

EDIF 3 0 0 Description

(edif fibex
    (edifVersion 3 0 0)
    (edifHeader
        (edifLevel 0)
        (keywordMap
                (k0KeywordLevel))
        (fontDefinitions)
        (physicalDefaults)
        (status
            (copyright (year 1995) "Altera Corporation")
            (comment "LPM Version 3 0 0 Example")
            (written
                (dataOrigin "Altera Corporation")
                (program "MAX+plus II 7.0")))
        (nameInformation
        (primaryName "fibex"))
        (physicalScaling
            (connectivityUnits
                (setTime (unitRef ns)))))
    (library fibex
        (libraryHeader
        (edifLevel 0)
        (nameCaseSensitivity)
        (technology
            (physicalScaling
                    (connectivityUnits
                    (setTime (unitRef ns))))
            (logicDefinitions
                    (setVoltage (unitRef mv))
                    (setCurrent (unitRef ua))
                    (logicValue L)
                    (logicValue H)
                    (logicValue X)
                    (logicValue Z))))
        (cell dff4
            (cellHeader
                (nameInformation
                     (primaryName "dff4")))
            (cluster C1
                (interface (interfaceUnits)
                    (port CLOCK (inputPort)
                        (nameInformation
                            (primaryName "CLOCK")))
                    (port ASET (inputPort)
                        (nameInformation
                            (primaryName "ASET")))
                    (port DATA0 (inputPort)
                        (nameInformation
                            (pimaryName "DATA0"
                                (nameStructure
                                    (complexName "DATA"
                                        (nameDimension
                                            (nameDimensionStructure 0)))))))
                    (port DATA1 (inputPort)
                        (nameInformation
                            (primaryName "DATA1"
                                (nameStructure
                                    (complexName "DATA"
                                        (nameDimension
                                            (nameDimensionStructure 1)))))))
                    (port DATA2 (inputPort)
                        (nameInformation
                            (primaryName "DATA2"
                                (nameStructure
                                    (complexName "DATA"
                                        (nameDimension
                                            (nameDimensionStructure 2)))))))
                    (port DATA3 (inputPort)
                        (nameInformation
                            (primaryName "DATA3"
                                (nameStructure
                                    (complexName "DATA"
                                        (nameDimension
                                            (nameDimensionStructure 3)))))))
                    (portBundle DATA
                        (portList
                            (portRef DATA3)
                            (portRef DATA2)
                            (portRef DATA1)
                            (portRef DATA0))
                        (nameInformation
                            (primaryName "DATA[3:0]"
                                (nameStructure
                                    (complexName "DATA"
                                        (nameDimension
                                            (nameDimensionStructure
                                                (sequence 3 0))))))))
                    (port Q0 (outputPort)
                        (nameInformation
                            (primaryName "Q0"
                                            (nameStructure
                                            (complexName "Q"
                                                    (nameDimension
                                                            (nameDimensionStructure 0)))))))
                    (port Q1 (outputPort)
                        (nameInformation
                            (primaryName "Q1"
                                (nameStructure
                                    (complexName "Q"
                                        (nameDimension
                                            (nameDimensionStructure 1)))))))
                    (port Q2 (outputPort)
                        (nameInformation
                            (primaryName "Q2"
                                (nameStructure
                                    (complexName "Q"
                                        (nameDimension
                                            (nameDimensionStructure 2)))))))
                    (port Q3 (outputPort)
                        (nameInformation
                            (primaryName "Q3"
                                (nameStructure
                                    (complexName "Q"
                                        (nameDimension
                                            (nameDimensionStructure 3)))))))
                    (portBundle Q
                        (portList
                            (portRef Q3)
                            (portRef Q2)
                            (portRef Q1)
                            (portRef Q0))
                        (nameInformation
                            (primaryName "Q[3:0]"
                                (nameStructure
                                    (complexName "Q"
                                        (nameDimension
                                            (nameDimensionStructure
                                                (sequence 3 0)))))))))
                    (clusterHeader
                        (property LPM_TYPE (string "LPM_FF"))
                        (property LPM_FFTYPE (string "DFF"))
                        (property LPM_Width (integer 4))
                        (property LPM_Avalue (integer 1)))))
        (cell addsub_4
            (cellHeader
                (nameInformation
                    (primaryName "addsub_4")))
            (cluster C1
                (interface (interfaceUnits)
                    (port DATAA0 (inputPort)
                        (nameInformation
                            (primaryName "DATAA0"
                                (nameStructure
                                    (complexName "DATAA"
                                        (nameDimension
                                            (nameDimensionStructure 0)))))))
                    (port DATAA1 (inputPort)
                        (nameInformation
                            (primaryName "DATAA1"
                                (nameStructure
                                    (complexName "DATAA"
                                        (nameDimension
                                            (nameDimensionStructure 1)))))))
                    (port DATAA2 (inputPort)
                        (nameInformation
                            (primaryName "DATAA2"
                                (nameStructure
                                    (complexName "DATAA"
                                        (nameDimension
                                            (nameDimensionStructure 2)))))))
                    (port DATAA3 (inputPort)
                        (nameInformation
                            (primaryName "DATAA3"
                                (nameStructure
                                    (complexName "DATAA"
                                        (nameDimension
                                            (nameDimensionStructure 3)))))))
                    (portBundle DATAA
                        (portList
                            (portRef DATAA3)
                            (portRef DATAA2)
                            (portRef DATAA1)
                            (portRef DATAA0))
                        (nameInformation
                            (primaryName "DATAA[3:0]"
                                (nameStructure
                                    (complexName "DATAA"
                                        (nameDimension
                                            (nameDimensionStructure
                                                (sequence 3 0))))))))
                                (port DATAB0 (inputPort)
                                    (nameInformation
                                        (primaryName "DATAB0"
                                            (nameStructure
                                                (complexName "DATAB"
                                                    (nameDimension
                                                        (nameDimensionStructure 0)))))))
                                (port DATAB1 (inputPort)
                                    (nameInformation
                                        (primaryName "DATAB1"
                                            (nameStructure
                                                (complexName "DATAB"
                                                    (nameDimension
                                                        (nameDimensionStructure 1)))))))
                                (port DATAB2 (inputPort)
                                    (nameInformation
                                        (primaryName "DATAB2"
                                            (nameStructure
                                                (complexName "DATAB"
                                                    (nameDimension
                                                        (nameDimensionStructure 2)))))))
                                (port DATAB3 (inputPort)
                                    (nameInformation
                                        (primaryName "DATAB3"
                                            (nameStructure
                                                (complexName "DATAB"
                                                    (nameDimension
                                                        (nameDimensionStructure 3)))))))
                                (portBundle DATAB
                                    (portList
                                        (portRef DATAB3)
                                        (portRef DATAB2)
                                        (portRef DATAB1)
                                        (portRef DATAB0))
                                    (nameInformation
                                        (primaryName "DATAB[3:0]"
                                             (nameStructure
                                                 (complexName "DATAB"
                                                     (nameDimension
                                                         (nameDimensionStructure
                                                             (sequence 3 0))))))))
                                (port RESULT0 (outputPort)
                                    (nameInformation
                                        (primaryName "RESULT0"
                                            (nameStructure
                                                (complexName "RESULT"
                                                    (nameDimension
                                                        (nameDimensionStructure 0)))))))
                                (port RESULT1 (outputPort)
                                    (nameInformation
                                        (primaryName "RESULT1"
                                            (nameStructure
                                                (complexName "RESULT"
                                                    (nameDimension
                                                        (nameDimensionStructure 1)))))))
                                (port RESULT2 (outputPort)
                                    (nameInformation
                                        (primaryName "RESULT2"
                                            (nameStructure
                                                (complexName "RESULT"
                                                    (nameDimension
                                                        (nameDimensionStructure 2)))))))
                                (port RESULT3 (outputPort)
                                    (nameInformation
                                        (primaryName "RESULT3"
                                            (nameStructure
                                                (complexName "RESULT"
                                                    (nameDimension
                                                        (nameDimensionStructure 3)))))))
                                (portBundle RESULT
                                    (portList
                                        (portRef RESULT3)
                                        (portRef RESULT2)
                                        (portRef RESULT1)
                                        (portRef RESULT0))
                                    (nameInformation
                                        (primaryName "RESULT[3:0]"
                                            (nameStructure
                                                (complexName "RESULT"
                                                    (nameDimension
                                                        (nameDimensionStructure
                                                            (sequence 3 0)))))))))
                                (clusterHeader
                                    (property LPM_TYPE (string "LPM_ADD_SUB"))
                                    (property LPM_Width (integer 4)))))
        (cell fibex
            (cellHeader
                (nameInformation
                     (primaryName "fibex")))
            (cluster C1
                (interface (interfaceUnits)
                    (port CLOCK (inputPort)
                        (nameInformation
                            (primaryName "CLOCK")))
                    (port CLEAR (inputPort)
                        (nameInformation
                            (primaryName "CLEAR")))
                    (port RESULT0 (bidirectionalPort)
                        (nameInformation
                            (primaryName "RESULT0"
                                (nameStructure
                                    (complexName "RESULT"
                                        (nameDimension
                                            (nameDimensionStructure 0)))))))
                    (port RESULT1 (bidirectionalPort)
                        (nameInformation
                            (primaryName "RESULT1"
                                (nameStructure
                                    (complexName "RESULT"
                                        (nameDimension
                                            (nameDimensionStructure 1)))))))
                    (port RESULT2 (bidirectionalPort)
                        (nameInformation
                            (primaryName "RESULT2"
                                (nameStructure
                                    (complexName "RESULT"
                                        (nameDimension
                                            (nameDimensionStructure 2)))))))
                    (port RESULT3 (bidirectionalPort)
                        (nameInformation
                            (primaryName "RESULT3"
                                (nameStructure
                                    (complexName "RESULT"
                                        (nameDimension
                                            (nameDimensionStructure 3)))))))
                    (portBundle RESULT
                        (portList
                            (portRef RESULT3)
                            (portRef RESULT2)
                            (portRef RESULT1)
                            (portRef RESULT0))
                        (nameInformation
                            (primaryName "RESULT[3:0]"
                                (nameStructure
                                    (complexName "RESULT"
                                        (nameDimension
                                            (nameDimensionStructure
                                                (sequence 3 0)))))))))
                    (clusterHeader)
                        (connectivityView VIEW1
                            (connectivityViewHeader (connectivityUnits))
                            (logicalConnectivity
                            (instance I1
                                (clusterRef C1 (cellRef dff4))
                                (nameInformation
                                    (primaryName "I1")))
                            (instance I2
                                (clusterRef C1 (cellRef dff4))
                                (nameInformation
                                    (primaryName "I2")))
                            (instance I3
                                (clusterRef C1 (cellRef addsub_4))
                                (nameInformation
                                    (primaryName "I3")))
                            (signal CLOCK
                                (signalJoined
                                    (portInstanceRef CLOCK (instanceRef I1))
                                    (portInstanceRef CLOCK (instanceRef I2))
                                    (portRef CLOCK)))
                            (signal CLEAR
                                (signalJoined
                                    (portInstanceRef ASET (instanceRef I1))
                                    (portInstanceRef ASET (instanceRef I2))
                                    (portRef CLEAR)))
                            (signal LAST0
                                (signalJoined
                                    (portInstanceRef Q0 (instanceRef I1))
                                    (portInstanceRef DATA0 (instanceRef I2))
                                    (portInstanceRef DATAB0 (instanceRef I3))))
                            (signal LAST1
                                (signalJoined
                                    (portInstanceRef Q1 (instanceRef I1))
                                    (portInstanceRef DATA1 (instanceRef I2))
                                    (portInstanceRef DATAB1 (instanceRef I3))))
                            (signal LAST2
                                (signalJoined
                                    (portInstanceRef Q2 (instanceRef I1))
                                    (portInstanceRef DATA2 (instanceRef I2))
                                    (portInstanceRef DATAB2 (instanceRef I3))))
                            (signal LAST3
                                (signalJoined
                                    (portInstanceRef Q3 (instanceRef I1))
                                    (portInstanceRef DATA3 (instanceRef I2))
                                    (portInstanceRef DATAB3 (instanceRef I3))))
                            (signalGroup LAST
                                (signalList
                                    (signalRef LAST0)
                                    (signalRef LAST1)
                                    (signalRef LAST2)
                                    (signalRef LAST3)))
                            (signal PRESENT0
                                (signalJoined
                                    (portInstanceRef Q0 (instanceRef I2))
                                    (portInstanceRef DATAA0 (instanceRef I3))))
                           (signal PRESENT1
                                (signalJoined
                                    (portInstanceRef Q1 (instanceRef I2))
                                    (portInstanceRef DATAA1 (instanceRef I3))))
                           (signal PRESENT2
                                (signalJoined
                                    (portInstanceRef Q2 (instanceRef I2))
                                    (portInstanceRef DATAA2 (instanceRef I3))))
                            (signal PRESENT3
                                (signalJoined
                                    (portInstanceRef Q3 (instanceRef I2))
                                    (portInstanceRef DATAA3 (instanceRef I3))))
                            (signalGroup PRESENT
                                (signalList
                                    (signalRef PRESENT0)
                                    (signalRef PRESENT1)
                                    (signalRef PRESENT2)
                                    (signalRef PRESENT3)))
                            (signal RESULT0
                                (signalJoined
                                    (portInstanceRef DATA0 (instanceRef I1))
                                    (portInstanceRef RESULT0 (instanceRef I3))
                                    (portRef RESULT0)))
                            (signal RESULT1
                                (signalJoined
                                    (portInstanceRef DATA1 (instanceRef I1))
                                    (portInstanceRef RESULT1 (instanceRef I3))
                                    (portRef RESULT1)))
                            (signal RESULT2
                                (signalJoined
                                    (portInstanceRef DATA2 (instanceRef I1))
                                    (portInstanceRef RESULT2 (instanceRef I3))
                                    (portRef RESULT2)))
                            (signal RESULT3
                                (signalJoined
                                    (portInstanceRef DATA3 (instanceRef I1))
                                    (portInstanceRef RESULT3 (instanceRef I3))
                                    (portRef RESULT3)))
                            (signalGroup RESULT
                                (signalList
                                    (signalRef RESULT0)
                                    (signalRef RESULT1)
                                    (signalRef RESULT2)
                                    (signalRef RESULT3))))
                         (connectivitystructure))))      )
    (design fibex
        (cellRef fibex
            (libraryRef fibex))
        (designHeader
            (designUnits))))
      

 


Copyright 1998-2000 University of Manchester

@