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

Speeding up decoder #516

Merged
merged 2 commits into from
Apr 27, 2022
Merged

Speeding up decoder #516

merged 2 commits into from
Apr 27, 2022

Conversation

Silabs-ArjanB
Copy link
Contributor

SEC clean (trade off readability vs. speed/gates)
Did not try out newly added assertions
Signed-off-by: Arjan Bink [email protected]

Signed-off-by: Arjan Bink <[email protected]>
@Silabs-ArjanB Silabs-ArjanB added the Component:RTL For issues in the RTL (e.g. for files in the rtl directory) label Apr 25, 2022
@Silabs-ArjanB Silabs-ArjanB requested review from silabs-oysteink and removed request for silabs-oysteink April 25, 2022 15:46
@Silabs-ArjanB Silabs-ArjanB added Status:Do-not-merge Pull request that should not be merged (yet) and removed Status:Do-not-merge Pull request that should not be merged (yet) labels Apr 26, 2022
Copy link
Contributor

@silabs-oysteink silabs-oysteink left a comment

Choose a reason for hiding this comment

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

Looks good, only one minor fix to make all asserts pass formal.

// Check that branch/jump related signals can be used from I decoder directly (bypassing other decoders)
a_branch_jump_decode :
assert property (@(posedge clk) disable iff (!rst_n)
1'b1 |-> (
Copy link
Contributor

Choose a reason for hiding this comment

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

This assert is failing formal when the instruction is an illegal compressed instruction. Assert can be made passing by changing "1'b1 |->" to "!if_id_pipe.illegal_c_insn |->".

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed the RTL so that these assertions now pass.

@silabs-oysteink silabs-oysteink merged commit cff89b2 into openhwgroup:master Apr 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component:RTL For issues in the RTL (e.g. for files in the rtl directory)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants