Skip to content

Fix calculating input size in reports#114

Merged
matth2k merged 1 commit intomainfrom
fix-input
Mar 5, 2025
Merged

Fix calculating input size in reports#114
matth2k merged 1 commit intomainfrom
fix-input

Conversation

@matth2k
Copy link
Copy Markdown
Collaborator

@matth2k matth2k commented Mar 5, 2025

The get_num_inputs() call used LutLang::get_input_set() which is really inefficient. Here we can reuse the subexpression elimination call to do a linear time counting of the input wires.

@matth2k
Copy link
Copy Markdown
Collaborator Author

matth2k commented Mar 5, 2025

@arnavm30 @berkgokmen14 This commit should be handy, even if you don't notice it. Before this commit, the pipelined multiplier would crash my laptop because it ran out of RAM. So results should run faster.

@matth2k matth2k merged commit 24f935b into main Mar 5, 2025
8 checks passed
@matth2k matth2k deleted the fix-input branch March 8, 2025 00:00
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.

1 participant