Source Code
Technology
Load Example Code:
inv_2x
inv_8x
nand_4x
strongarm
# The following imports are done automatically. No further imports are allowed. #import laygo2 #import laygo2_tech as tech #import numpy as np # Design Parameters libname = 'logic_generated' cellname = 'test' # Templates and Grids templates, grids = tech.load_templates_and_grids() pmos, nmos = templates['pmos'], templates['nmos'] pg, r23 = grids['placement_basic'], grids['routing_23_cmos'] # Create a design and generate instances. dsn = laygo2.Design(name=cellname, libname=libname, pgrid=pg, rgrid=r23) IN0 = nmos.generate(name='IN0', transform='R0', params={'tie': 'S', 'nf': 4}, netmap={'D': 'O', 'G': 'I'}) IP0 = pmos.generate(name='IP0', transform='MX', params={'tie': 'S', 'nf': 4}, netmap={'D': 'O', 'G': 'I'}) # Place instances. dsn.place(inst=[[IN0], [IP0]]) # Create and place wires. dsn.connect(netname='O', track=[IN0.p['D'].right, None]) dsn.connect(netname='I', track=[IN0.p['G'].left, None]) # Export command will be automatically added by the webserver
Load Technology Setup:
Default
etri_0p5um
sky130
ihp130
Plot Layout
Export GDS
Export SKILL
Doc(EN)
Doc(KR)