cascode-labs / morpheus

Generate Maestro circuit test benches in Cadence Virtuoso
MIT License
4 stars 0 forks source link

Placement does not respect grid #40

Closed Jetsama closed 4 months ago

Jetsama commented 4 months ago

When placing DUT, terminals, and wires, morpheus does not place on the grid causing strange offsets and non-snapping wires. This is a problem if edits are required as connections become confusing.

Jetsama commented 4 months ago

Added "gridSize" to schematic class using the, "self.ws.sch.GetEnv("schSnapSpacing")" command. This is done in planning rather than in placement, meaning space is allocated correctly by ceiling the x,y values to grid.

66aff80