Public

Thread: gf180mcu_as_sc_mcu7t3v3 vs. klayout

22 Discord messages from ℹ️ - Information/general/threads/gf180mcuasscmcu7t3v3-vs-klayout.md.

Category: ℹ️ - Information Parent channel: #general Thread ID: 1417260587330572428

Messages: 22

message-1421047807573360723

2025-09-26T08:16:39.117+00:00 — htamas (@h.tamas)

Reply/reference

<details> <summary>Reference data</summary>
{
  "channelId": "1361349523724570941",
  "guildId": "1361349522684510449",
  "messageId": "1417260587330572428"
}
</details>

Content

<details> <summary>Other message metadata</summary>
{
  "author": {
    "avatarUrl": "2025-09_media/1-B2132.png",
    "discriminator": "0000",
    "isBot": false
  },
  "message": {
    "mentions": [
      {
        "avatarUrl": "2025-09_media/edae5aadf146133e0448bfb1f0fa91c4-62B19.png",
        "color": null,
        "discriminator": "0000",
        "id": "220639106915368960",
        "isBot": false,
        "name": "tholin",
        "nickname": "Tholin",
        "roles": []
      }
    ]
  }
}
</details>

message-1421047811146776607

2025-09-26T08:16:39.969+00:00 — htamas (@h.tamas)

Content

We have a small block hardened with your library on the Tiny Tapeout GF 0p1 test shuttle. It works quite well with librelane. The only issue we had to fix were NP.2/PP.2 violations. The Nplus/Pplus layers are not drawn but autogenerated by magic and they don't take abutment into account. You can fix most cells by extending Nplus/Pplus to the cell boundary (or slightly over). The sole exception is the tap cell where I had to redraw a few layers.
<details> <summary>Other message metadata</summary>
{
  "author": {
    "avatarUrl": "2025-09_media/1-B2132.png",
    "discriminator": "0000",
    "isBot": false
  },
  "message": {}
}
</details>

message-1421048097341182042

2025-09-26T08:17:48.203+00:00 — htamas (@h.tamas)

Content

This is the patched version we used:

Attachments

<details> <summary>Attachments data</summary>
[
  {
    "fileName": "gf180mcu_as_sc_mcu7t3v3.gds",
    "fileSizeBytes": 309938,
    "id": "1421048097039061085",
    "url": "2025-09_media/gf180mcu_as_sc_mcu7t3v3-CA1EA.gds"
  }
]
</details><details> <summary>Other message metadata</summary>
{
  "author": {
    "avatarUrl": "2025-09_media/1-B2132.png",
    "discriminator": "0000",
    "isBot": false
  },
  "message": {}
}
</details>

message-1421048708749070408

2025-09-26T08:20:13.974+00:00 — Tholin (@tholin)

Content

Of course. Same issues as I had in sky130. Now I need to look up the magic properties to set the Nplus/Pplus sizes.
<details> <summary>Other message metadata</summary>
{
  "author": {
    "avatarUrl": "2025-09_media/edae5aadf146133e0448bfb1f0fa91c4-62B19.png",
    "discriminator": "0000",
    "isBot": false
  },
  "message": {}
}
</details>

message-1421048815980384338

2025-09-26T08:20:39.54+00:00 — Tholin (@tholin)

Content

Its probably something like `string MASKHINTS_NPLUS`
<details> <summary>Other message metadata</summary>
{
  "author": {
    "avatarUrl": "2025-09_media/edae5aadf146133e0448bfb1f0fa91c4-62B19.png",
    "discriminator": "0000",
    "isBot": false
  },
  "message": {}
}
</details>

message-1421049075041832971

2025-09-26T08:21:41.305+00:00 — tnt (@246tnt)

Content

it is.
<details> <summary>Other message metadata</summary>
{
  "author": {
    "avatarUrl": "2025-09_media/88d17af9d19ab43565b0c46751ef7d12-DFEE5.png",
    "discriminator": "0000",
    "isBot": false
  },
  "message": {}
}
</details>

message-1421050449678700554

2025-09-26T08:27:09.044+00:00 — Tholin (@tholin)

Content

I am going to match up Nplus and Pplus to the size of the Pwell and Nwell and hope that works.
<details> <summary>Other message metadata</summary>
{
  "author": {
    "avatarUrl": "2025-09_media/edae5aadf146133e0448bfb1f0fa91c4-62B19.png",
    "discriminator": "0000",
    "isBot": false
  },
  "message": {}
}
</details>

message-1421054531306786929

2025-09-26T08:43:22.18+00:00 — Tholin (@tholin)

Content

Alright, I made a commit. I did try to automate the generation of the MASKHINTS lines, so please let me know if anything is wrong.

Reactions

<details> <summary>Reactions data</summary>
[
  {
    "count": 2,
    "emoji": {
      "code": "thumbsup",
      "id": "",
      "imageUrl": "2025-09_media/1f44d-27259.svg",
      "isAnimated": false,
      "name": "👍"
    },
    "users": [
      {
        "avatarUrl": "2025-09_media/1-B2132.png",
        "color": null,
        "discriminator": "0000",
        "id": "543162393413287956",
        "isBot": false,
        "name": "h.tamas",
        "nickname": "htamas"
      },
      {
        "avatarUrl": "2025-09_media/88d17af9d19ab43565b0c46751ef7d12-DFEE5.png",
        "color": null,
        "discriminator": "0000",
        "id": "596068704471482370",
        "isBot": false,
        "name": "246tnt",
        "nickname": "tnt"
      }
    ]
  }
]
</details><details> <summary>Other message metadata</summary>
{
  "author": {
    "avatarUrl": "2025-09_media/edae5aadf146133e0448bfb1f0fa91c4-62B19.png",
    "discriminator": "0000",
    "isBot": false
  },
  "message": {}
}
</details>

message-1421088817133125652

2025-09-26T10:59:36.558+00:00 — htamas (@h.tamas)

Content

The regular cells are good now, but the tap cell still has a couple of violations.
<details> <summary>Other message metadata</summary>
{
  "author": {
    "avatarUrl": "2025-09_media/1-B2132.png",
    "discriminator": "0000",
    "isBot": false
  },
  "message": {}
}
</details>

message-1421090777764986912

2025-09-26T11:07:24.009+00:00 — Tholin (@tholin)

Content

Can you give me a DRC report?
<details> <summary>Other message metadata</summary>
{
  "author": {
    "avatarUrl": "2025-09_media/edae5aadf146133e0448bfb1f0fa91c4-62B19.png",
    "discriminator": "0000",
    "isBot": false
  },
  "message": {}
}
</details>

message-1421104624861184131

2025-09-26T12:02:25.414+00:00 — htamas (@h.tamas)

Content

Attachments

<details> <summary>Attachments data</summary>
[
  {
    "fileName": "tt_cell_macro_6.gds",
    "fileSizeBytes": 1374954,
    "id": "1421104624177381458",
    "url": "2025-09_media/tt_cell_macro_6-2A918.gds"
  },
  {
    "fileName": "tt_cell_macro_6_main.lyrdb",
    "fileSizeBytes": 1570356,
    "id": "1421104624575975424",
    "url": "2025-09_media/tt_cell_macro_6_main-57F9C.lyrdb"
  }
]
</details><details> <summary>Other message metadata</summary>
{
  "author": {
    "avatarUrl": "2025-09_media/1-B2132.png",
    "discriminator": "0000",
    "isBot": false
  },
  "message": {}
}
</details>

message-1421115141168168991

2025-09-26T12:44:12.697+00:00 — Tholin (@tholin)

Content

Okay, another commit. Tap call might be fine now.
<details> <summary>Other message metadata</summary>
{
  "author": {
    "avatarUrl": "2025-09_media/edae5aadf146133e0448bfb1f0fa91c4-62B19.png",
    "discriminator": "0000",
    "isBot": false
  },
  "message": {}
}
</details>

message-1421126335836852305

2025-09-26T13:28:41.714+00:00 — htamas (@h.tamas)

Content

Not yet:

Attachments

<details> <summary>Attachments data</summary>
[
  {
    "fileName": "tt_cell_macro_6.gds",
    "fileSizeBytes": 1375018,
    "id": "1421126335157244034",
    "url": "2025-09_media/tt_cell_macro_6-12986.gds"
  },
  {
    "fileName": "tt_cell_macro_6_main.lyrdb",
    "fileSizeBytes": 1357500,
    "id": "1421126335480463430",
    "url": "2025-09_media/tt_cell_macro_6_main-17F18.lyrdb"
  }
]
</details><details> <summary>Other message metadata</summary>
{
  "author": {
    "avatarUrl": "2025-09_media/1-B2132.png",
    "discriminator": "0000",
    "isBot": false
  },
  "message": {}
}
</details>

message-1421126452731973733

2025-09-26T13:29:09.584+00:00 — htamas (@h.tamas)

Content

One thing I'm seeing is that the Nplus/Pplus from the adjacent cells are now overlapping the region in which it is reversed in the tap cell.
<details> <summary>Other message metadata</summary>
{
  "author": {
    "avatarUrl": "2025-09_media/1-B2132.png",
    "discriminator": "0000",
    "isBot": false
  },
  "message": {}
}
</details>

message-1421127169806958703

2025-09-26T13:32:00.548+00:00 — htamas (@h.tamas)

Content

By the way, you should also add a cdl file:
https://github.com/htfab/ttgf0p1-pdk-snapshot/blob/main/gf180mcuD/libs.ref/gf180mcu_as_sc_mcu7t3v3/cdl/gf180mcu_as_sc_mcu7t3v3.cdl
<details> <summary>Other message metadata</summary>
{
  "author": {
    "avatarUrl": "2025-09_media/1-B2132.png",
    "discriminator": "0000",
    "isBot": false
  },
  "message": {}
}
</details>

message-1421127483801210941

2025-09-26T13:33:15.41+00:00 — Tholin (@tholin)

Content

Is that just SPICE netlists?
<details> <summary>Other message metadata</summary>
{
  "author": {
    "avatarUrl": "2025-09_media/edae5aadf146133e0448bfb1f0fa91c4-62B19.png",
    "discriminator": "0000",
    "isBot": false
  },
  "message": {}
}
</details>

message-1421129643645472841

2025-09-26T13:41:50.357+00:00 — Tholin (@tholin)

Content

Okay, I updated my scripts to generate that too now

Reactions

<details> <summary>Reactions data</summary>
[
  {
    "count": 1,
    "emoji": {
      "code": "thumbsup",
      "id": "",
      "imageUrl": "2025-09_media/1f44d-27259.svg",
      "isAnimated": false,
      "name": "👍"
    },
    "users": [
      {
        "avatarUrl": "2025-09_media/1-B2132.png",
        "color": null,
        "discriminator": "0000",
        "id": "543162393413287956",
        "isBot": false,
        "name": "h.tamas",
        "nickname": "htamas"
      }
    ]
  }
]
</details><details> <summary>Other message metadata</summary>
{
  "author": {
    "avatarUrl": "2025-09_media/edae5aadf146133e0448bfb1f0fa91c4-62B19.png",
    "discriminator": "0000",
    "isBot": false
  },
  "message": {}
}
</details>

message-1421129715347095593

2025-09-26T13:42:07.452+00:00 — Tholin (@tholin)

Content

I tried fixing the tap cell again, but I just have no way of testing my changes right now.
<details> <summary>Other message metadata</summary>
{
  "author": {
    "avatarUrl": "2025-09_media/edae5aadf146133e0448bfb1f0fa91c4-62B19.png",
    "discriminator": "0000",
    "isBot": false
  },
  "message": {}
}
</details>

message-1421130044964733083

2025-09-26T13:43:26.039+00:00 — Tholin (@tholin)

Content

Also, these are klayout DRC errors, right? How are doing that? LibreLane on my end just says that KLayout DRC is not yet supported for gf180.
<details> <summary>Other message metadata</summary>
{
  "author": {
    "avatarUrl": "2025-09_media/edae5aadf146133e0448bfb1f0fa91c4-62B19.png",
    "discriminator": "0000",
    "isBot": false
  },
  "message": {}
}
</details>

message-1421138194103144609

2025-09-26T14:15:48.945+00:00 — htamas (@h.tamas)

Reply/reference

<details> <summary>Reference data</summary>
{
  "channelId": "1417260587330572428",
  "guildId": "1361349522684510449",
  "messageId": "1421130044964733083"
}
</details>

Content

`python $PDK_ROOT/$PDK/libs.tech/klayout/drc/run_drc.py --variant=D --run_dir=drc --path=whatever.gds`
<details> <summary>Other message metadata</summary>
{
  "author": {
    "avatarUrl": "2025-09_media/1-B2132.png",
    "discriminator": "0000",
    "isBot": false
  },
  "message": {
    "mentions": [
      {
        "avatarUrl": "2025-09_media/edae5aadf146133e0448bfb1f0fa91c4-62B19.png",
        "color": null,
        "discriminator": "0000",
        "id": "220639106915368960",
        "isBot": false,
        "name": "tholin",
        "nickname": "Tholin",
        "roles": []
      }
    ]
  }
}
</details>

message-1421138622366748744

2025-09-26T14:17:31.051+00:00 — Tholin (@tholin)

Content

Awesome!
<details> <summary>Other message metadata</summary>
{
  "author": {
    "avatarUrl": "2025-09_media/edae5aadf146133e0448bfb1f0fa91c4-62B19.png",
    "discriminator": "0000",
    "isBot": false
  },
  "message": {}
}
</details>

message-1421138636090507294

2025-09-26T14:17:34.323+00:00 — Tholin (@tholin)

Content

I’ll try that

Reactions

<details> <summary>Reactions data</summary>
[
  {
    "count": 1,
    "emoji": {
      "code": "thumbsup",
      "id": "",
      "imageUrl": "2025-09_media/1f44d-27259.svg",
      "isAnimated": false,
      "name": "👍"
    },
    "users": [
      {
        "avatarUrl": "2025-09_media/1-B2132.png",
        "color": null,
        "discriminator": "0000",
        "id": "543162393413287956",
        "isBot": false,
        "name": "h.tamas",
        "nickname": "htamas"
      }
    ]
  }
]
</details><details> <summary>Other message metadata</summary>
{
  "author": {
    "avatarUrl": "2025-09_media/edae5aadf146133e0448bfb1f0fa91c4-62B19.png",
    "discriminator": "0000",
    "isBot": false
  },
  "message": {}
}
</details>