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

Partial bitstream support #1492

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

tmichalak
Copy link
Contributor

This PR adds partial bitstream generation support for Series7.

@tmichalak tmichalak force-pushed the partial-bitstream-support branch from 47d9482 to 1754cf0 Compare November 10, 2020 15:29
// Creates the configuration package for partial configuration
// which is later on used by the bitstream writer to generate
// the partial bitstream file.
static void createPartialConfigurationPackage(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comment is missing some important information. For example why is far_address even an argument if PacketData contains the far_address. Does this function work if PacketData spans multiple frames? If PacketData spans multiple frames, what is the right thing to do?

Copy link

@kowalewskijan kowalewskijan Nov 26, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are some more changes I've pushed recently:

  • I removed the far_address from arguments because we should handle the FAR addreses for CLB_IO_CLK blocks and BRAMs separately, in the result we pass a map with data and address for them. This step is handled here and later we use this data to generate proper FAR/FDRI for each of these block types here.
  • I added a new definition of addMissingFrames function to handle address gaps in a partial reconfiguration region.
  • To handle the PR region correctly CLB_IO_CLK and BRAM address ranges should be defined as arguments to xc7frames2bit

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.

3 participants