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 A Resource-Minimizing strategy ("AREA") for AWS-FPGA #1055

Merged
merged 2 commits into from
May 17, 2022

Conversation

davidbiancolin
Copy link
Contributor

@davidbiancolin davidbiancolin commented May 7, 2022

This can materialize >10% LUT saving on some designs over the default TIMING. It uses the "AreaOptimized_high" synthesis directive, which UG901 describes as:

Performs general area optimizations including forcing ternary adder implementation, applying new thresholds for use of carry chain in comparators, and implementing area-optimized multiplexers.

I have not done any serious design space exploration of the strategy, but i have little reason to believe this won't be beneficial in most resource-constrained cases. FWIW, I also tried the LogicCompaction directive, which does help, but not as much AreaOptimized_high which inferred new BRAMs (LogicCompaction did not), likely in addition to preforming many of the same optimizations.

Related PRs / Issues

firesim/aws-fpga-firesim#54

UI / API Impact

Adds a new class "Area" that can be specified through the PLATFORM config.

Verilog / AGFI Compatibility

N/C

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)

  • 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?

@davidbiancolin davidbiancolin added the changelog:added Put PR title in 'Added' section of changelog label May 7, 2022
Copy link
Contributor

@abejgonzalez abejgonzalez left a comment

Choose a reason for hiding this comment

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

LGTM

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.

2 participants