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

DMI bridge integration #1657

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

DMI bridge integration #1657

wants to merge 10 commits into from

Conversation

abejgonzalez
Copy link
Contributor

@abejgonzalez abejgonzalez commented Oct 10, 2023

This adds a DMI bridge and associated collateral. Currently, it doesn't batch DMI requests nor does it support loadmem.

Related PRs / Issues

UI / API Impact

Verilog / AGFI Compatibility

Contributor Checklist

  • Is this PR's title suitable for inclusion in the changelog and have you added a changelog:<topic> label?
  • Did you add Scaladoc/docstring/doxygen to every public function/method?
  • Did you add at least one test demonstrating the PR?
  • Did you delete any extraneous prints/debugging code?
  • Did you state the UI / API impact?
  • Did you specify the Verilog / AGFI compatibility impact?
  • If applicable, did you regenerate and publicly share default AGFIs?
  • If applicable, did you apply the ci:fpga-deploy label?
  • If applicable, did you apply the Please Backport label?

Reviewer Checklist (only modified by reviewer)

Note: to run CI on PRs from forks, comment @Mergifyio copy main and manage the change from the new PR.

  • Is the title suitable for inclusion in the changelog and does the PR have a changelog:<topic> label?
  • Did you mark the proper release milestone?
  • Did you check whether all relevant Contributor checkboxes have been checked?

@abejgonzalez abejgonzalez self-assigned this Oct 10, 2023
@abejgonzalez abejgonzalez added the changelog:added Put PR title in 'Added' section of changelog label Oct 10, 2023
@abejgonzalez
Copy link
Contributor Author

Needs ucb-bar/chipyard#1619

@abejgonzalez
Copy link
Contributor Author

Confirmed to boot Linux (albeit very very slowly).

@abejgonzalez abejgonzalez changed the title [DONOTMERGE] DMIBridge DMI bridge integration Oct 14, 2023
@abejgonzalez
Copy link
Contributor Author

Ping @sagark @jerryz123

/**
* Class which parameterizes the DMIBridge
*
* memoryRegionNameOpt, if unset, indicates that firesim-fesvr should not attempt to write a payload into DRAM through the loadmem unit.
Copy link
Contributor

Choose a reason for hiding this comment

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

Perhaps add a comment here that DMI+LoadMem is unsupported currently?

Copy link
Contributor

@jerryz123 jerryz123 left a comment

Choose a reason for hiding this comment

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

This looks good to me... but I'm not familiar with the bridge APIs enough to judge.

How does this deal with situations when both a TSIBridge and DMIBridge are built?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:added Put PR title in 'Added' section of changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants