name: Bug Report
description: Report an issue or regression with Yosys
labels: ["pending-verification"]
body:
  - type: markdown
    attributes:
      value: >

        Learn more [here](https://yosyshq.readthedocs.io/projects/yosys/en/latest/yosys_internals/extending_yosys/contributing.html#reporting-bugs) about how to report bugs. We fix well-reported bugs the fastest.

        If you have a general question, please ask it on the [Discourse forum](https://yosyshq.discourse.group/).


        If you have a feature request, please fill out the appropriate issue form, this form is for bugs and/or regressions.


        Please contact [YosysHQ GmbH](https://www.yosyshq.com/) if you need
        commercial support or work done for Yosys.

  - type: input
    id: yosys_version
    attributes:
      label: Version
      description: "The version of yosys this bug was encountered on."
      placeholder: "The output of `yosys --version`"
    validations:
      required: true

  - type: dropdown
    id: os
    attributes:
      label: On which OS did this happen?
      options:
        - Linux
        - macOS
        - Windows
        - BSD
        - WebAssembly
      multiple: true
    validations:
      required: true

  - type: markdown
    attributes:
      value: >
        When providing steps to reproduce the issue, please ensure that the issue
        is reproducible in the current git main of Yosys. Also ensure to
        provide all necessary source files needed.


        Please see [https://stackoverflow.com/help/mcve](https://stackoverflow.com/help/mcve)
        for information on how to create a Minimal, Complete, and Verifiable Example
        (MCVE).

  - type: textarea
    id: reproduction_steps
    attributes:
      label: Reproduction Steps
      description: "Please provide clear and concise steps to reproduce the issue."
    validations:
      required: true

  - type: textarea
    id: expected_behavior
    attributes:
      label: Expected Behavior
      description: "Please describe the behavior you would have expected from the tool."
    validations:
      required: true

  - type: textarea
    id: actual_behavior
    attributes:
      label: Actual Behavior
      description: "Please describe how the behavior you see differs from the expected behavior."
    validations:
      required: true
