Skip to content

Usage of -compat-int on yosys should depend on its version #14

@daniellimws

Description

@daniellimws
Contributor

#13 did not account for the fact that older versions of yosys do not have the -compat-int option for write_json. This causes this extension to fail when an older version of yosys is used (in particular the version of yosys currently present on conda does not have this option).

The version of yosys should be checked to determine whether the -compat_int options should be added to write_json.

YosysHQ/yosys@20ce411 is the commit that introduced this option.

Activity

changed the title [-]Usage of -compat-int on yosys should depends on its version[/-] [+]Usage of -compat-int on yosys should depend on its version[/+] on Apr 18, 2020
mithro

mithro commented on Apr 18, 2020

@mithro
Member

@daniellimws - I would say we just drop support for any version of Yosys that is too old? IE The minimum yosys version required is XXX where that is after the -compat_int was added?

daniellimws

daniellimws commented on Apr 19, 2020

@daniellimws
ContributorAuthor

Ok. There should be no problem with this once yosys in conda is updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @mithro@daniellimws

        Issue actions

          Usage of -compat-int on yosys should depend on its version · Issue #14 · SymbiFlow/sphinxcontrib-hdl-diagrams