Skip to content

IO_LOC_PAIRS not set for OBUFT with T input connected to net #403

@hannesha

Description

@hannesha

I tried to use 3-state outputs in a project, but the outputs are not driven at all. Setting T to 0 drives the outputs as expected.

I created a minimal example on a basys3 board with two switches to reproduce this issue.

Looking through the files revealed that .IO_LOC_PAIRS is set to "NONE" for the affected OBUFT, in the .eblif file.
Manually setting .IO_LOC_PAIRS on the OBUFT makes it work as expected. I verified that the output is floating with a voltmeter.

I attached a archive with the example, a f4pga flow config, my conda list output, the .eblif files and yosys logfiles of the working and broken state.
example.tar.gz

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

    Issue actions