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

[GSoC] Common Python API #211

Open
10 of 11 tasks
harshkhandeparkar opened this issue May 27, 2023 · 2 comments
Open
10 of 11 tasks

[GSoC] Common Python API #211

harshkhandeparkar opened this issue May 27, 2023 · 2 comments

Comments

@harshkhandeparkar
Copy link
Collaborator

harshkhandeparkar commented May 27, 2023

As a part of my GSoC project, a common Python API will be developed to simplify the Python code in the OpenFASOC generators, starting with the Verilog generation step. This issue will be used to discuss and track the progress of this project.

The Proposal

Full proposal on Github Gist.

OpenFASOC generators have Python code that runs each step in the generation process. Each generator has its separate Python code with values specific to the generator hardcoded. This proposal aims to create a common Python API (module) that exports functions for each step. Using this new API, the Python scripts in the existing generators will be simplified, and the process of creating a new generator will become easier.

This proposal also aims to use Mako, a Python templating library that uses a Python-like syntax to simplify and standardize the Verilog templates in the generators. First, a common function will be implemented for the Verilog generation step and tested on the temp-sense-gen generator.

Progress

This effort may help in #38.

@chetanyagoyal
Copy link
Collaborator

Can this be closed? @harshkhandeparkar

@harshkhandeparkar
Copy link
Collaborator Author

harshkhandeparkar commented Jun 11, 2024

Can this be closed? @harshkhandeparkar

The DC-DC PR is still open although the API itself is complete. I was waiting for the DC-DC pr before closing this.

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

2 participants