logicType property

Map<String, dynamic>? logicType
getter/setter pair

Type metadata from the netlist logic_type JSON field.

For a LogicStructure (non-array), the format is:

{"typeName": "FloatingPoint", "fields": [
  {"name": "mantissa", "width": 4, "bits": [0,1,2,3]},
  {"name": "exponent", "width": 4, "bits": [4,5,6,7]},
  {"name": "sign", "width": 1, "bits": [8]}
]}

For a LogicArray, the format is:

{"width": 80, "arrayDims": [10], "elementWidth": 8}

For a plain signal: {"width": N} or null.

Nested structs have a recursive "type" key in their field entries.

Implementation

Map<String, dynamic>? logicType;