File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -339,6 +339,33 @@ struct Device {
339
339
constant @2 : ConstantType;
340
340
}
341
341
342
+ # These structures are used to define default constant values for unused
343
+ # or missing cell pins. For each cell type, we have a list of pins and
344
+ # what to do with those pins (which will be to tie it to 0 or 1 in most
345
+ # cases).
346
+ enum CellPinValue {
347
+ # leave floating
348
+ float @0 ;
349
+ # connect to ground
350
+ gnd @1 ;
351
+ # connect to vcc
352
+ vcc @2 ;
353
+ }
354
+
355
+ struct DefaultCellConnection {
356
+ # What is the name of this cell pin?
357
+ name @0 : StringIdx $stringRef();
358
+ # The default constant value for the pin if missing or disconnected
359
+ value @1 : CellPinValue;
360
+ }
361
+
362
+ struct DefaultCellConnections {
363
+ # The type of the cell we're providing a list of defaults for
364
+ cellType @0 : StringIdx $stringRef();
365
+ # The list of default cell pin values
366
+ pins @1 : List(DefaultCellConnection);
367
+ }
368
+
342
369
# When either constant signal can be routed to an input site pin, which
343
370
# constant should be used by default?
344
371
#
@@ -383,6 +410,9 @@ struct Device {
383
410
anyName @10 : Void;
384
411
name @11 : StringIdx $stringRef();
385
412
}
413
+
414
+ # How to treat missing/disconnected cell pins
415
+ defaultCellConns @12 : List(DefaultCellConnections);
386
416
}
387
417
388
418
# #####################################
You can’t perform that action at this time.
0 commit comments