mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-09-02 02:58:01 +02:00
Corrected an issue with the limited bitfield dedicated to port numbers;
this limited ports to 16384, which seemed reasonable at the time. However, the sky130_sram_macro layouts connect power and ground in a way that when coupled with "extract unique" can generate tens of thousands of ports and overrun the bit field, showing that automation can do the unexpected. The solution was to split out the port number from the label record as its own 32-bit value.
This commit is contained in:
+1
-1
@@ -645,7 +645,7 @@ extOutputNodes(nodeList, outFile)
|
||||
{
|
||||
fprintf(outFile, "port \"%s\" %d %d %d %d %d %s\n",
|
||||
ll->ll_label->lab_text,
|
||||
ll->ll_label->lab_flags & PORT_NUM_MASK,
|
||||
ll->ll_label->lab_port,
|
||||
ll->ll_label->lab_rect.r_xbot,
|
||||
ll->ll_label->lab_rect.r_ybot,
|
||||
ll->ll_label->lab_rect.r_xtop,
|
||||
|
||||
Reference in New Issue
Block a user