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

Chipathon2024 SystemsGenesys #348

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

Lefteris-B
Copy link

No description provided.

@Lefteris-B
Copy link
Author

Initial code upload for divide-by-two circuit

@chetanyagoyal
Copy link
Collaborator

can you please rename the PR and provide a description of the circuit along with the python code. Follow the PR guidelines as mentioned in the doc.

@Lefteris-B Lefteris-B changed the title Initial commit Chipathon2024 SystemsGenesys Nov 5, 2024
@Lefteris-B
Copy link
Author

Changes done. Can you point to the document please?

@chetanyagoyal
Copy link
Collaborator

here is the link to the doc

@alibillalhammoud
Copy link
Collaborator

Hello @Lefteris-B thank you for the PR. Can you confirm that the design is passing DRC/LVS? Also, could you please include the design in an independent python file. You can still import and use the design in your notebook.

For example, you can create a new file called filename.py and copy just the code needed to create the cell in that python file. In the notebook you can import the cell in the notebook using from filename import nameofcellfunction

@Lefteris-B
Copy link
Author

I will work on it this weekend. Thank you.

@Lefteris-B
Copy link
Author

We separated the notebook functionality into separate files. Also fixed the collab file. Looking into DRC, LVS

from glayout.flow.routing.straight_route import straight_route
from glayout.flow.routing.c_route import c_route

def create_nmos_latch_layout(pdk):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be good to generate the spice netlist for this. Refer to

def opamp_output_stage_netlist(pdk: MappedPDK, output_amp_fet_ref: ComponentReference, biasParams: list) -> Netlist:

from latch_design import create_nmos_latch_layout

def create_divide_by_two_circuit(pdk):
divider = Component("divide_by_two")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can generate the spice netlist for this once the latch netlist is generated. Refer to

def opamp_output_stage_netlist(pdk: MappedPDK, output_amp_fet_ref: ComponentReference, biasParams: list) -> Netlist:

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

Successfully merging this pull request may close these issues.

4 participants