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

[CompileGuard] Fix CompileGuardSelect #1294

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

Conversation

rsetaluri
Copy link
Collaborator

@rsetaluri rsetaluri commented Jul 27, 2023

Addresses #1291.

@codecov-commenter
Copy link

Codecov Report

Merging #1294 (dd4f2b2) into master (df4a8af) will increase coverage by 0.03%.
The diff coverage is 100.00%.

❗ Current head dd4f2b2 differs from pull request most recent head 2e5e2a9. Consider uploading reports for the commit 2e5e2a9 to get more accurate results

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@            Coverage Diff             @@
##           master    #1294      +/-   ##
==========================================
+ Coverage   85.83%   85.87%   +0.03%     
==========================================
  Files         164      164              
  Lines       17544    17567      +23     
==========================================
+ Hits        15059    15085      +26     
+ Misses       2485     2482       -3     
Files Changed Coverage Δ
magma/backend/coreir/coreir_compiler.py 87.27% <100.00%> (+0.07%) ⬆️
magma/backend/mlir/hardware_module.py 97.31% <100.00%> (+0.06%) ⬆️
magma/compile_guard.py 95.72% <100.00%> (+2.56%) ⬆️

magma/compile_guard.py Outdated Show resolved Hide resolved
m.compile(f"build/{basename}", _Top, inline=True)
assert m.testing.check_files_equal(
__file__, f"build/{basename}.v", f"gold/{basename}.v"
)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should we update these to use mlir/mlir-verilog instead of coreir? Will save us doing it in the future.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Will do these in a follow up PR.

@rsetaluri rsetaluri changed the title [CompileGuard Select] Fix issues [CompileGuard] Fix CompileGuardSelect Sep 28, 2023
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.

3 participants