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

Bugfixes after running formal #514

Merged

Conversation

silabs-oysteink
Copy link
Contributor

CLIC SHV + single stepping should now work.
Disabled trigger matches for CLIC pointers (awaiting spec change for CLIC in this regards)
Various other small bugfixes and assertion updates.

Disregard clic pointers in decoder assertion for onehot unit enables (may be changed to give better checking later)
Some commented out code for the next bugfix (CLIC pointer + debug single step)

Signed-off-by: Oystein Knauserud <[email protected]>
Basic mode: No design assertions fail, four has unmet covers (CLIC related)
CLIC mode : No design assertions fail, no unmet covers.

Signed-off-by: Oystein Knauserud <[email protected]>
@silabs-oysteink silabs-oysteink added the Component:RTL For issues in the RTL (e.g. for files in the rtl directory) label Apr 22, 2022
parameters to the respective sva module to exclude CLIC specifi assertions
when CLIC is not enabled.

Signed-off-by: Oystein Knauserud <[email protected]>
a_clicv_next_pc_set:
assert property (@(posedge clk) disable iff (!rst_n)
(ctrl_fsm_o.pc_set && (ctrl_fsm_o.pc_mux == PC_TRAP_CLICV))
|=> !ctrl_fsm_o.pc_set until (ctrl_fsm_o.pc_set && ((ctrl_fsm_o.pc_mux == PC_TRAP_CLICV_TGT) ||
Copy link
Contributor

Choose a reason for hiding this comment

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

It seems a little inconsistent: Here and in th CS register file single stepping debug entry is not allowed, but in the controller FSM it is actually implemented. Okay for now though as there is a todo on handling of single stepping for pointer fetches.

@Silabs-ArjanB Silabs-ArjanB merged commit 5046b40 into openhwgroup:master Apr 25, 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