Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support LEF/DEF #3

Closed
tfboyd opened this issue Jan 19, 2022 · 11 comments
Closed

Support LEF/DEF #3

tfboyd opened this issue Jan 19, 2022 · 11 comments

Comments

@tfboyd
Copy link
Collaborator

tfboyd commented Jan 19, 2022

Please add a comment if you need/want LEF/DEF support so we can prioritize asks.

@QuantamHD
Copy link

QuantamHD commented Jan 19, 2022

@QuantamHD
Copy link

QuantamHD commented Jan 19, 2022

@tfboyd I work inside Google (ethanmoon@) on open source hardware EDA tools. Would love to discuss how to integrate this into some of our work.

@thesukantadey
Copy link

@tfboyd We are a hardware security research group at University of Florida. We need LEF/DEF support to utilize CircuitTraining for our research.

@Yangxiaojun1230
Copy link

@tfboyd I am doing research into floorplan, I need LEF/DEF support to validate the CircuitTraining on other open source datasets.

@tfboyd
Copy link
Collaborator Author

tfboyd commented Mar 21, 2022

We are having a similar issue internally. I realize that sounds absurd. Our current process exports from another tool and is never reading LEF/DEF. I wish I had an ETA. We currently do not have a person assigned. I do appreciate this ping because it helps me try in increase the priority even higher.

I am linking this entire thread into our weekly sync.

@Yangxiaojun1230
Copy link

We are having a similar issue internally. I realize that sounds absurd. Our current process exports from another tool and is never reading LEF/DEF. I wish I had an ETA. We currently do not have a person assigned. I do appreciate this ping because it helps me try in increase the priority even higher.

I am linking this entire thread into our weekly sync.

Hi author,
Do you have any update ? I implemented the LEF/DEF extractor in python.
So far , the extractor realized in two steps: 1. Extract macros , std cells, pins and generate hypergraph data format for hmetis input. 2. Collect macros , clusters and pins and generate initial.plc and netlist.pb.txt
But I don't know how to define the “x” and "y" of the cluster and the "weight" of the input. Could you offer a simple dataset to verify the extractor? Thanks

@ZhiangWang033
Copy link

Hi everyone,

This is a repo (https://github.com/TILOS-AI-Institute/MacroPlacement/tree/main/CodeElements) discussed the details about the the "x" and "y" of the cluster. They also provide the LEF/DEF translators.

@thesukantadey
Copy link

@ZhiangWang033, thanks for sharing it.

@tfboyd
Copy link
Collaborator Author

tfboyd commented Jul 11, 2022

We have added the grouping (clustering) code. This does require the netlist to already by in the protobuff structure which is documented here. We are working with the third-party vendor to allow us to release the tcl script we use to export from the tool we use internally to the protobuf. That discussion is taking longer than expected. We do not directly use LEF/DEF internally for this flow or we would have open sourced that path already.

@braamBeresford
Copy link

@ZhiangWang033 or @thesukantadey did you successfully run the LEF/DEF translators?
The code seems stale.

@tfboyd
Copy link
Collaborator Author

tfboyd commented Oct 21, 2022

It was a long time coming and a big thank you to TILOS-AI-Institute.

TILOS-AI-Institute has created a script to convert LEF/DEF and Bookshelf to the Netlist Protocol Buffer used as the input for circuit training.

@tfboyd tfboyd closed this as completed Oct 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants