qnngroup / qnngds

MIT License
5 stars 3 forks source link

Make cell size easier to change #93

Open emmakbat opened 1 month ago

emmakbat commented 1 month ago

I've been struggling a bit with how to set the cell size correctly for the 4-pt probe nanowires, the current behavior produces not great geometries with large numbers of small devices with many pads on one cell. This can be patch fixed on user side by just splitting up the devices across more cells, but I think preferably I would change the nanowire-4pt function to produce a more relaxed spacing.

However, the current utility die layout function leads to unpredictable geometry changes when simply changing max device size. E.g. the default produces this (mostly ok, but if you look closely some of the gaps in the pad routing are combined): image

While if I try to solve the problem by increasing the x-dimension of max device size, it does not increase the pad spacing, and the device routing geometry becomes quite bad: image

The pad spacing can't be changed from the cells level functions, and seems to be set within the utility die building function. Ideally there would be somewhat easier manual control over this, for cases where pads are unusually dense with respect to device size.

emmakbat commented 1 month ago

Current recommendation for manually fixing spacing issues with the current design:

Result: image

reed-foster commented 1 month ago

I think this is somewhat related to #61