ucb-bar / hammer

Hammer: Highly Agile Masks Made Effortlessly from RTL
BSD 3-Clause "New" or "Revised" License
253 stars 59 forks source link

add lef paser for automaticly generate required tech files. #488

Open sequencer opened 5 years ago

sequencer commented 5 years ago

corner, supplies, provides are informations from elf files, so if a lef parser for these can helps a lot for collecting such informations, making tech plugin less bugs.

jwright6323 commented 5 years ago

Corners and supply info come from libs, not lefs, but I agree this info is useful to auto-parse. However, there have been numerous discussions on the topic and the reason we haven't supported it yet is that there are many edge cases that make such a parser a pain to write. I think we ended up deciding that the "right" solution is to have a way to parse the info out and emit hammer IR. A LEF parser already exists here: https://github.com/ucb-bar/hammer/blob/master/src/hammer-vlsi/hammer_utils/lef_utils.py

Some related issues:

228

247

249

sequencer commented 5 years ago

Got it, thank you:)