Skip to content

libresilicon/lefdef_parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lefdef_parser

lefdef parser implementation

Status

  • lef
    • extract lef rules from ref manual
    • grammer defined and tested
    • setting up c++ datastructures
      • pasted motifed qtflow datastructures
      • enhance datastructures and put them in database object
      • setup cmake
    • populating the database struct with the parsed lef (visitor functions)
  • def
    • extract def rules from ref manual
    • grammer defined
      • and tested (a lot of rules are still broken)
    • setting up c++ datastructures
      • pasted motifed qtflow datastructures
      • enhance datastructures and put them in database object
      • setup cmake
    • populating the database struct with the parsed def (visitor functions)

Test

cd tests
bash lef_grammer_test.sh
bash def_grammer_test.sh

Requirements

antlr4 and grun as alias like this

>>> cat `which antlr4`
#!/bin/sh
java -jar /usr/share/java/antlr-complete.jar "$@"
>>> cat `which grun`
#!/bin/sh
java -cp .:/usr/share/java/antlr-complete.jar org.antlr.v4.gui.TestRig "$@"

About

lefdef parser implementation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published