Skip to content

impure function scale for PHYSICAL_SUBTYPE_MIRROR_PT is not documented

The type PHYSICAL_SUBTYPE_MIRROR_PT is listed as having two functions called scale:

  • impure function scale(unit_idx: INDEX) return NATURAL
  • impure function scale(unit_name: INDEX) return NATURAL

I believe the 2nd function argument should be string, but that function isn't really documented anywhere as to what it should return.

Lastly, while the value of a physical type might be 0, the scale should be positive, right?

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information