Public

Thread: iverilog sim

2 Discord messages from ℹ️ - Information/⁉️-questions/threads/iverilog-sim.md.

Category: ℹ️ - Information Parent channel: #⁉️-questions Thread ID: 1438935324691660852

Messages: 2

message-1438935324691660852

2025-11-14T16:55:15.532+00:00 — tnt (@246tnt)

Content

Is there some special trick define to use the verilog models ?

```
sim/gf180mcuD/gf180mcu_fd_sc_mcu7t5v0.v:9975: error: Net MGM_P0 is not defined in this context.
sim/gf180mcuD/gf180mcu_fd_sc_mcu7t5v0.v:9977: error: Net MGM_D0 is not defined in this context.
sim/gf180mcuD/gf180mcu_fd_sc_mcu7t5v0.v:9979: error: Net IQ1 is not defined in this context.
sim/gf180mcuD/gf180mcu_fd_sc_mcu7t5v0.v:9979: error: Output port expression is not valid.
sim/gf180mcuD/gf180mcu_fd_sc_mcu7t5v0.v:9979:      : Output port of gf180mcu_fd_sc_mcu7t5v0__udp_n_iq_ff is Q.
```

This is what I'm getting when just including `gf180mcu_fd_sc_mcu7t5v0.v` and `primitives.v` and using `-DUSE_POWER_PINS=1 -DFUNCTIONAL=1 -DUNIT_DELAY=#1` like for sky130
<details> <summary>Other message metadata</summary>
{
  "author": {
    "avatarUrl": "2025-11_media/88d17af9d19ab43565b0c46751ef7d12-DFEE5.png",
    "discriminator": "0000",
    "isBot": false
  },
  "message": {}
}
</details>

message-1438936462988021841

2025-11-14T16:59:46.923+00:00 — tnt (@246tnt)

Content

Nevermind ... the models use implicit wire definition everywhere so gotta use `default_nettype wire` ... 🤢

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"
      }
    ]
  },
  {
    "count": 1,
    "emoji": {
      "code": "face_with_spiral_eyes",
      "id": "",
      "imageUrl": "2025-11_media/1f635-200d-1f4ab-AC747.svg",
      "isAnimated": false,
      "name": "😵‍💫"
    },
    "users": [
      {
        "avatarUrl": "2025-11_media/fb1d1a9872c8ef9ce08855c75f2963a7-A225D.png",
        "color": null,
        "discriminator": "0000",
        "id": "274535015969456128",
        "isBot": false,
        "name": "greg.hashtag.9468",
        "nickname": "Greg"
      }
    ]
  }
]
</details><details> <summary>Other message metadata</summary>
{
  "author": {
    "avatarUrl": "2025-11_media/88d17af9d19ab43565b0c46751ef7d12-DFEE5.png",
    "discriminator": "0000",
    "isBot": false
  },
  "message": {
    "inlineEmojis": [
      {
        "code": "nauseated_face",
        "id": "",
        "imageUrl": "2025-11_media/1f922-92B0C.svg",
        "isAnimated": false,
        "name": "🤢"
      }
    ]
  }
}
</details>