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

Support overwriting mode_bits for pb_type through bitstream setting file #1906

Merged
merged 8 commits into from
Nov 26, 2024

Conversation

tangxifan
Copy link
Collaborator

@tangxifan tangxifan commented Nov 26, 2024

Motivate of the pull request

  • To address an existing issue. If so, please provide a link to the issue:
  • Breaking new feature. If so, please describe details in the description part.

Describe the technical details

What is currently done? (Provide issue link if applicable)

Currently, OpenFPGA has the following limitations:

  • The mode-selection bits mode_bits of any pb_type can only be defined through the OpenFPGA architecture description file. See details at link

image

  • In practice, we need different sets of mode_bits for unused/unmapped pb_types, when performing sign-off on an FPGA fabric. During the sign-off stage, OpenFPGA architecture description file is typically forzen as it contains critical architecture-level information. Therefore, we need another file, i.e., the bitstream setting file, which can overwrite mode_bits over the architecture description file. As such, various bitstreams can be auto-generated for sign-off purpose without modifying the architecture description file.

What does this pull request change?

This PR improves in the following aspects:

  • Added new syntax default_mode_bits to bitstream setting file and support default mode bits overloading
  • Added associated regression tests
  • Update documentation

Which part of the code base require a change

  • VPR
  • Tileable routing architecture generator
  • OpenFPGA libraries
  • FPGA-Verilog
  • FPGA-Bitstream
  • FPGA-SDC
  • FPGA-SPICE
  • Flow scripts
  • Architecture library
  • Cell library
  • Documentation
  • Regression tests
  • Continous Integration (CI) scripts

Impact of the pull request

  • Require a change on Quality of Results (QoR)
  • Break back-compatibility. If so, please list who may be influenced.

@tangxifan tangxifan merged commit 0bc1659 into master Nov 26, 2024
38 checks passed
@tangxifan tangxifan deleted the xt_bitset branch November 26, 2024 01:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant