Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for pin drive strength #7

Open
Tobias-DG3YEV opened this issue Apr 6, 2023 · 1 comment
Open

Add support for pin drive strength #7

Tobias-DG3YEV opened this issue Apr 6, 2023 · 1 comment

Comments

@Tobias-DG3YEV
Copy link

Please add support for pin drive strength.
This is set with "set_property DRIVE" in the .xdc file.

Currently nextpnr-xilinx only give an assertion, when it finds such entry in the xdc.

what(): Assertion failure: !is_string (/home/tobiw/nextpnr/tmp/nextpnr-xilinx/common/nextpnr.h:350) make: *** [Makefile:29: spec2g4.fasm] Aborted

@cestrauss
Copy link

I traced it back to

auto drive = drive_attr->second.as_int64();

It seems the Property value is stored as a string, not as an integer. The as_int64() method does not actually do an automatic conversion from string to integer, raising an exception instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants