Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
EDIF
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Syntax == The general format of EDIF involves using parentheses to delimit data definitions, and in this way it superficially resembles [[Lisp (programming language)|Lisp]]. The basic tokens of EDIF 2.0.0 were keywords (like ''library'', ''cell'', ''instance'', etc.), strings (delimited with double quotes), integer numbers, symbolic constants (e.g. ''GENERIC'', ''TIE'', ''RIPPER'' for cell types) and "Identifiers", which are reference labels formed from a very restricted set of characters. EDIF 3.0.0 and 4.0.0 dropped the symbolic constants entirely, using keywords instead. So, the syntax of EDIF has a fairly simple foundation. A typical EDIF file looks like this: <syntaxhighlight lang="lisp"> (edif fibex (edifVersion 2 0 0) (edifLevel 0) (keywordMap (keywordLevel 0)) (status (written (timeStamp 1995 1 1 1 1 1) (program "xxx" (version "v1")))) (library xxx (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 clok (direction INPUT)) ... (cell yyy (cellType generic) (view schematic_ (viewType netlist) (interface (port CLEAR (direction INPUT)) (port CLOCK (direction INPUT)) ... ) (contents (instance I_36_1 (viewRef view1 (cellRef dff_4))) (instance (rename I_36_3 "I$3") (viewRef view1 (cellRef addsub_4))) ... (net CLEAR (joined (portRef CLEAR) (portRef aset (instanceRef I_36_1)) (portRef aset (instanceRef I_36_3)))) ... </syntaxhighlight>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)