Public

Thread: tinyQV LVS errors

10 Discord messages from 𐦂𖨆π€ͺπ– ‹ - Friends/tinytapeout/threads/tinyqv-lvs-errors.md.

Category: 𐦂𖨆π€ͺπ– ‹ - Friends Parent channel: #tinytapeout Thread ID: 1442175445356253216

Messages: 10

message-1442223378936103002

2025-11-23T18:40:48.753+00:00 β€” bailey (@bailey8889)

Reply/reference

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

Content

<details> <summary>Other message metadata</summary>
{
  "author": {
    "avatarUrl": "2025-11_media/0-EB806.png",
    "discriminator": "0000",
    "isBot": false
  },
  "message": {
    "mentions": [
      {
        "avatarUrl": "2025-11_media/49aaff687e56f04e7bbdedf0077bab75-7DDB4.png",
        "color": null,
        "discriminator": "0000",
        "id": "691780627338625077",
        "isBot": false,
        "name": "rebelmike",
        "nickname": "RebelMike",
        "roles": []
      }
    ]
  }
}
</details>

message-1442223382702592301

2025-11-23T18:40:49.651+00:00 β€” bailey (@bailey8889)

Content

@RebelMike For some reason, netgen is thinking that flattening these cells will make a better match
```
Flattening instances of gf180mcu_fd_sc_mcu7t5v0__mux2_2 in cell tt_um_MichaelBell_tinyQV (0) makes a better match
Flattening instances of gf180mcu_fd_sc_mcu7t5v0__mux2_2 in cell tt_um_MichaelBell_tinyQV (1) makes a better match
Flattening instances of gf180mcu_fd_sc_mcu7t5v0__aoi21_4 in cell tt_um_MichaelBell_tinyQV (0) makes a better match
Flattening instances of gf180mcu_fd_sc_mcu7t5v0__aoi21_4 in cell tt_um_MichaelBell_tinyQV (1) makes a better match
Flattening instances of gf180mcu_fd_sc_mcu7t5v0__nand2_1 in cell tt_um_MichaelBell_tinyQV (0) makes a better match
Flattening instances of gf180mcu_fd_sc_mcu7t5v0__nand2_1 in cell tt_um_MichaelBell_tinyQV (1) makes a better match
Flattening instances of gf180mcu_fd_sc_mcu7t5v0__nand2_4 in cell tt_um_MichaelBell_tinyQV (0) makes a better match
Flattening instances of gf180mcu_fd_sc_mcu7t5v0__nand2_4 in cell tt_um_MichaelBell_tinyQV (1) makes a better match
Flattening instances of gf180mcu_fd_sc_mcu7t5v0__oai21_2 in cell tt_um_MichaelBell_tinyQV (0) makes a better match
Flattening instances of gf180mcu_fd_sc_mcu7t5v0__oai21_2 in cell tt_um_MichaelBell_tinyQV (1) makes a better match
Flattening instances of gf180mcu_fd_sc_mcu7t5v0__oai21_4 in cell tt_um_MichaelBell_tinyQV (0) makes a better match
Flattening instances of gf180mcu_fd_sc_mcu7t5v0__oai21_4 in cell tt_um_MichaelBell_tinyQV (1) makes a better match
```
<details> <summary>Other message metadata</summary>
{
  "author": {
    "avatarUrl": "2025-11_media/0-EB806.png",
    "discriminator": "0000",
    "isBot": false
  },
  "message": {
    "mentions": [
      {
        "avatarUrl": "2025-11_media/49aaff687e56f04e7bbdedf0077bab75-7DDB4.png",
        "color": null,
        "discriminator": "0000",
        "id": "691780627338625077",
        "isBot": false,
        "name": "rebelmike",
        "nickname": "RebelMike",
        "roles": []
      }
    ]
  }
}
</details>

message-1442223727202013268

2025-11-23T18:42:11.786+00:00 β€” bailey (@bailey8889)

Content

However, flattening the abstract lef views that don't contain any devices causes a device mismatch.
```
gf180mcu_fd_sc_mcu7t5v0__and3_4 (1)        |gf180mcu_fd_sc_mcu7t5v0__and3_4 (1)
(no matching element)                      |nfet_06v0 (12656->10959)
(no matching element)                      |pfet_06v0 (12656->10745)
Number of devices: 17150 **Mismatch**      |Number of devices: 38854 **Mismatch**
Number of nets: 20323 **Mismatch**         |Number of nets: 28705 **Mismatch**
```
<details> <summary>Other message metadata</summary>
{
  "author": {
    "avatarUrl": "2025-11_media/0-EB806.png",
    "discriminator": "0000",
    "isBot": false
  },
  "message": {}
}
</details>

message-1442224000649396441

2025-11-23T18:43:16.981+00:00 β€” bailey (@bailey8889)

Content

As to why netgen wants to flatten those cells, there may be a clue in `62-magic-spiceextraction/magic-spiceextraction.log`
```
Warning: use i_peripherals.i_user_peri06.cordic_module.iter_stage.z\[0\]_gf180mcu_fd_sc_mcu7t5v0__dffq_1_Q_D_gf180mcu_fd_sc_mcu7t5v0__clkinv_1_ZN_I_gf180mcu_fd_sc_mcu7t5v0__oai211_1_ZN_B_gf180mcu_fd_sc_mcu7t5v0__oai221_1_ZN_A1_gf180mcu_fd_sc_mcu7t5v0__aoi21_1_ZN_A2_gf180mcu_fd_sc_mcu7t5v0__mux2_2_Z_I0_gf180mcu_fd_sc_mcu7t5v0__mux2_2_Z_I0_gf180mcu_fd_sc_mcu7t5v0__mux2_2_Z_I1_gf180mcu_fd_sc_mcu7t5v0__mux2_2_I0_Z_gf180mcu_fd_sc_mcu7t5v0__nand2_1_A2_ZN_gf180mcu_fd_sc_mcu7t5v0__oai21_1_B_ZN_gf180mcu_fd_sc_mcu7t5v0__mux2_2_I appears more than once in def!
Warning: use i_peripherals.i_user_peri06.cordic_module.iter_stage.z\[0\]_gf180mcu_fd_sc_mcu7t5v0__dffq_1_Q_D_gf180mcu_fd_sc_mcu7t5v0__clkinv_1_ZN_I_gf180mcu_fd_sc_mcu7t5v0__oai211_1_ZN_B_gf180mcu_fd_sc_mcu7t5v0__oai221_1_ZN_A1_gf180mcu_fd_sc_mcu7t5v0__aoi21_1_ZN_A2_gf180mcu_fd_sc_mcu7t5v0__mux2_2_Z_I1_gf180mcu_fd_sc_mcu7t5v0__mux2_2_Z_I1_gf180mcu_fd_sc_mcu7t5v0__mux2_2_Z_I1_gf180mcu_fd_sc_mcu7t5v0__mux2_2_I0_Z_gf180mcu_fd_sc_mcu7t5v0__nand2_1_A2_ZN_gf180mcu_fd_sc_mcu7t5v0__oai21_1_B_ZN_gf180mcu_fd_sc_mcu7t5v0__oai21_1_ appears more than once in def!
...
```
<details> <summary>Other message metadata</summary>
{
  "author": {
    "avatarUrl": "2025-11_media/0-EB806.png",
    "discriminator": "0000",
    "isBot": false
  },
  "message": {}
}
</details>

message-1442224252689317939

2025-11-23T18:44:17.072+00:00 β€” bailey (@bailey8889)

Content

I don't know why yosys is generating such long instance names, but that is what I'd suggest someone looking into.
<details> <summary>Other message metadata</summary>
{
  "author": {
    "avatarUrl": "2025-11_media/0-EB806.png",
    "discriminator": "0000",
    "isBot": false
  },
  "message": {}
}
</details>

message-1442229947535069204

2025-11-23T19:06:54.829+00:00 β€” bailey (@bailey8889)

Content

Changed the channel name: tinyQV LVS errors
<details> <summary>Other message metadata</summary>
{
  "author": {
    "avatarUrl": "2025-11_media/0-EB806.png",
    "discriminator": "0000",
    "isBot": false
  },
  "message": {}
}
</details>

message-1442232515250098196

2025-11-23T19:17:07.02+00:00 β€” bailey (@bailey8889)

Content

Actually, I think magic is truncating the def instance names at around 511 bytes. @Tim Edwards
<details> <summary>Other message metadata</summary>
{
  "author": {
    "avatarUrl": "2025-11_media/0-EB806.png",
    "discriminator": "0000",
    "isBot": false
  },
  "message": {
    "mentions": [
      {
        "avatarUrl": "2025-11_media/6bcc8e61db497b620550682309ace5d5-D89B4.png",
        "color": null,
        "discriminator": "0000",
        "id": "1365118310701600900",
        "isBot": false,
        "name": "rtimothyedwards_19428",
        "nickname": "Tim Edwards",
        "roles": []
      }
    ]
  }
}
</details>

message-1442233741014728825

2025-11-23T19:21:59.265+00:00 β€” bailey (@bailey8889)

Content

I found this in the magic repo that looks suspicious.
```
./lef/defRead.c:    char usename[512];
```
<details> <summary>Other message metadata</summary>
{
  "author": {
    "avatarUrl": "2025-11_media/0-EB806.png",
    "discriminator": "0000",
    "isBot": false
  },
  "message": {}
}
</details>

message-1442250971303379065

2025-11-23T20:30:27.286+00:00 β€” bailey (@bailey8889)

Content

Looks like there's already a PR to fix this.

Reactions

<details> <summary>Reactions data</summary>
[
  {
    "count": 1,
    "emoji": {
      "code": "thumbsup",
      "id": "",
      "imageUrl": "2025-11_media/1f44d-27259.svg",
      "isAnimated": false,
      "name": "πŸ‘"
    },
    "users": [
      {
        "avatarUrl": "2025-11_media/2b6c3aac0ae09fc8a72a4b2e17d7f9c9-39032.png",
        "color": null,
        "discriminator": "0000",
        "id": "732347216412278825",
        "isBot": false,
        "name": "urish",
        "nickname": "urish"
      }
    ]
  }
]
</details><details> <summary>Other message metadata</summary>
{
  "author": {
    "avatarUrl": "2025-11_media/0-EB806.png",
    "discriminator": "0000",
    "isBot": false
  },
  "message": {}
}
</details>

message-1442275775813517473

2025-11-23T22:09:01.142+00:00 β€” Tim Edwards (@rtimothyedwards_19428)

Content

And I just merged the PR.  It will be available on github in about 10 hours, or you can get the update now from opencircuitdesign.com.

Reactions

<details> <summary>Reactions data</summary>
[
  {
    "count": 2,
    "emoji": {
      "code": "clap",
      "id": "",
      "imageUrl": "2025-11_media/1f44f-3D381.svg",
      "isAnimated": false,
      "name": "πŸ‘"
    },
    "users": [
      {
        "avatarUrl": "2025-11_media/49aaff687e56f04e7bbdedf0077bab75-7DDB4.png",
        "color": null,
        "discriminator": "0000",
        "id": "691780627338625077",
        "isBot": false,
        "name": "rebelmike",
        "nickname": "RebelMike"
      },
      {
        "avatarUrl": "2025-11_media/0-EB806.png",
        "color": null,
        "discriminator": "0000",
        "id": "738396032295108721",
        "isBot": false,
        "name": "bailey8889",
        "nickname": "bailey"
      }
    ]
  }
]
</details><details> <summary>Other message metadata</summary>
{
  "author": {
    "avatarUrl": "2025-11_media/6bcc8e61db497b620550682309ace5d5-D89B4.png",
    "discriminator": "0000",
    "isBot": false
  },
  "message": {}
}
</details>