Skip to content

[COFFE] Stratix IV VPR dump out functionality - #14

Draft
ahmedelsousy wants to merge 3 commits into
StephenMoreOSU:masterfrom
ahmedelsousy:siv-vpr-dump
Draft

[COFFE] Stratix IV VPR dump out functionality#14
ahmedelsousy wants to merge 3 commits into
StephenMoreOSU:masterfrom
ahmedelsousy:siv-vpr-dump

Conversation

@ahmedelsousy

Copy link
Copy Markdown
Contributor

Changes

  • Added VPR name tracking in the SB and CB objects. They are reported in the beginning of a run to relate them to their internal COFFE ID.
  • Added VPR a submodule under third_party/vtr
  • Modified the setup and environment scripts to include VPR compilation and path information
  • Added Stratix IV Routing architecture results patching logic for the Stratix IV VPR architecture capture

Tests

  • Tested the patching logic using the following VPR benchmarks: bgm; blob_merge; sha; stereovision0; raygentop. All pass

SB and CB MUXes and buffer sizings. Tested with SIV.
VPR Passes tested with: "bgm" "blob_merge" "sha" "stereovision0" "raygentop"
Comment thread src/coffe/fpga.py
Comment on lines +865 to +866
if rr_sw.name is None:
continue

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

In what case does this happen?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This is just a failsafe it is not really needed. I wasn't sure of how this would be done for the non-RRG flow so it is not really a problem for the RRG flow.

@StephenMoreOSU StephenMoreOSU left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

LGTM, with the exceptions of the comments.

Comment thread src/coffe/vpr.py

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Lots of diffs here, could you summarize what was deleted / added in the PR?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

What was deleted here is the old VPR emission logic which emits the VPR architecture file line by line from inside the function. That is why there is a lot of deletion. What was added was the new patching logic

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

Successfully merging this pull request may close these issues.

2 participants