chipsalliance / chipsalliance/python-fpga-interchange

XDC constraints attributes on cells/ports missing from the netlists

Open
#109 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
41
Forks
12
PR merge metrics
No merged PRs in 30d

Description

While dealing with https://github.com/SymbiFlow/python-fpga-interchange/pull/108 I have bumped into one issue which has many ways of being solved IMO.

The problem is that the XDC constraints that add attributes do not reflect outside of nextpnr, as the XDC parser is embedded within. This means that the logical netlist won't have information, for instance, on the IOSTANDARD attribute of a pad, unless this is specified in the design.

The attributes are quite important when, for instance, writing the FASM features.

Some of the possible solutions:
1. enhance the physical netlist schema to include information on additional attributes assigned to the cells during p&r (e.g. when reading the XDCs)
1. read the XDC file once again alongside with logical and physical netlists
1. add the attributes when generating the logical netlist and read the XDC at that step

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.