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

mstatus fs addition & bug corrections #801

Conversation

pascalgouedo
Copy link

@pascalgouedo pascalgouedo commented Apr 21, 2023

Issue #170 correction: Adding MSTATUS.FS/SD

Issue #724 correction: Illegal exception for unknown F instructions.

Move from PULP_ZFINX to ratified v1.0 ZFINX.
Issue #725 correction: Illegal exception for FMV/FLW/FSW when ZFINX.
Updated MISA value and make MSTATUS.FS/SD ZFINX dependent.

Move PULP_ZFINX parameter to ZFINX in all RTL files.
Removed PULP_XPULP, PULP_CLUSTER, FPU, PULP_ZFINX assertions.

Issue #174 and #169 correction: Flush instructions following CSRW to FRM/FCSR.

Issue #741 correction: Illegal exception when CSRW to uhartid and privlv.

Renamed cv32e40p_wrapper to cv32e40p_top and updated all files from wrapper to top instantiation.

Added in cv32e40p_top a clock gating cell for FPU.

Updates to allow MSTATUS.FS and SD comparison with Imperas ISS.

Moved PULP_XPULP to COREV_PULP and PULP_CLUSTER to COREV_CLUSTER.

@pascalgouedo pascalgouedo added the Component:RTL For issues in the RTL (e.g. for files in the rtl directory) label Apr 21, 2023
@@ -400,7 +400,7 @@ module cv32e40p_tb_wrapper
.FPU (FPU),
.FPU_ADDMUL_LAT (FPU_ADDMUL_LAT),
.FPU_OTHERS_LAT (FPU_OTHERS_LAT),
.PULP_ZFINX (PULP_ZFINX),
.ZFINX (PULP_ZFINX),
Copy link
Contributor

Choose a reason for hiding this comment

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

can we call the toplevel parameter ZFINX as well?

Copy link
Author

@pascalgouedo pascalgouedo Apr 24, 2023

Choose a reason for hiding this comment

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

I wanted RTL to be compliant with present core-v-verif TB.
I am going to align all bhv and core-v-verif files to ZFINX once Yoann has submitted a final core-v-verif PR with full FPU & Zfinx support aligned with #799.

Copy link
Author

@pascalgouedo pascalgouedo Apr 28, 2023

Choose a reason for hiding this comment

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

Done with commit below (after verible)

Pascal Gouedo added 11 commits April 24, 2023 15:20
Added MSTATUS.FS and SD and all their control.
Added fs_off_o for instructions decoder to generate illegal instructions when FS is OFF.

Signed-off-by: Pascal Gouedo <[email protected]>
Issue openhwgroup#725 correction: Illegal exception for FMV/FLW/FSW when ZFINX.
Updated MISA value and make MSTATUS.FS/SD ZFINX dependent.

Signed-off-by: Pascal Gouedo <[email protected]>
Removed PULP_XPULP, PULP_CLUSTER, FPU, PULP_ZFINX assertions.

Signed-off-by: Pascal Gouedo <[email protected]>
…ons following CSRW to FRM/FCSR.

Signed-off-by: Pascal Gouedo <[email protected]>
Signed-off-by: Pascal Gouedo <[email protected]>
Signed-off-by: Pascal Gouedo <[email protected]>
… cell.

Updated all files from wrapper to top instantiation.

Signed-off-by: Pascal Gouedo <[email protected]>
@pascalgouedo pascalgouedo force-pushed the dev_dd_pgo_mstatus_fs-bug_corrections branch from 8a57f99 to c90bb28 Compare April 28, 2023 14:55
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