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

Add Glayout checks in CI #300

Closed
wants to merge 37 commits into from
Closed

Conversation

chetanyagoyal
Copy link
Collaborator

@chetanyagoyal chetanyagoyal commented Apr 13, 2024

This PR aims to enable CI checking for glayout. The vision is to enable DRC and LVS checks for the primitives and the components marked with the @cell decorator in glayout/components. This envolves the following changes:

  • Create DRC script for glayout
  • Create wrapper script to test all components for DRC errors
  • Create .yml file for GitHub actions
  • Modify LVS script (specifically for glayout)
  • Create wrapper script to test all components for LVS errors

@chetanyagoyal chetanyagoyal marked this pull request as draft April 13, 2024 20:00
@chetanyagoyal
Copy link
Collaborator Author

@alibillalhammoud @andylithia can you help out with a review?

@chetanyagoyal chetanyagoyal marked this pull request as ready for review April 21, 2024 18:43
@chetanyagoyal
Copy link
Collaborator Author

@msaligane all checks have been added, but this shouldn't be merged until gf180 is added to docker image (required for gf180 drc run)

Copy link
Collaborator

@alibillalhammoud alibillalhammoud left a comment

Choose a reason for hiding this comment

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

See reviews

patterns = [pattern_diff, pattern_nmos, pattern_pmos, pattern_opamp]
replacements = ['diff_test', 'nmos_test', 'pmos_test', 'opamp_test']

for i, pattern in enumerate(patterns):
Copy link
Collaborator

Choose a reason for hiding this comment

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

do list comprehension here

cellname delete ldoInst
cellname rename ldoInst_flat ldoInst
flatten diff_test_flat
load diff_test_flat
Copy link
Collaborator

Choose a reason for hiding this comment

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

Make the first thing LDO, may break the generators

#the path for your cdl/ngspice file
CDL_FILE_PATH = /home/elonjia/Desktop/tool_package/ALIGN-public/work/DCDC_MUX/DCDC_MUX.sp
CDL_FILE_PATH = /home/chetanya/OpenFASOC/openfasoc/common/platforms/sky130hd/cdl/sky130_fd_sc_hd.spice
Copy link
Collaborator

Choose a reason for hiding this comment

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

dont hardcode paths

@@ -790,7 +790,7 @@
},
"language_info": {
"name": "python",
"version": "3.9.13"
"version": "3.8.10"
Copy link
Collaborator

Choose a reason for hiding this comment

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

revert this

Copy link
Collaborator

Choose a reason for hiding this comment

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

current notebook is known to work

@chetanyagoyal
Copy link
Collaborator Author

this should not be merged yet, many changes need to be made

@chetanyagoyal
Copy link
Collaborator Author

closing this PR, need to adapt to glayout changes

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.

2 participants