Skip to content

[rstmgr,dv] Reset Manager DV ported to mocha#506

Draft
KolosKoblasz-Semify wants to merge 4 commits intolowRISC:mainfrom
KolosKoblasz-Semify:kk_rst_mgr_dv
Draft

[rstmgr,dv] Reset Manager DV ported to mocha#506
KolosKoblasz-Semify wants to merge 4 commits intolowRISC:mainfrom
KolosKoblasz-Semify:kk_rst_mgr_dv

Conversation

@KolosKoblasz-Semify
Copy link
Copy Markdown
Collaborator

@KolosKoblasz-Semify KolosKoblasz-Semify commented Apr 29, 2026

TO DO

This PR will address: #433

@martin-velay martin-velay changed the title Reset Manager DV ported to mocha [rstmgr,dv] Reset Manager DV ported to mocha Apr 29, 2026
- files_rtl
- files_dv
default_tool: vcs
default_tool: xcelium
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This is the source of your issue with the src file being not generated. The .src file is your file list generated from FuseSoc. I know that confusing, I went into this trap earlier too.
The VCS backend generates a .scr file, which is an identical format to a more standard .f format. We are only running FuseSoc up to the point it generates the filelist file (.scr in this case).

@KolosKoblasz-Semify KolosKoblasz-Semify force-pushed the kk_rst_mgr_dv branch 2 times, most recently from d3730e3 to a74803a Compare May 1, 2026 13:15
 * open titan specific paths changed to mocha specific ones
   in the template files
 * 0001_Fix_Paths_And_Tools.patch file created with the changes

Signed-off-by: Kolos Koblasz <kolos.koblasz@semify-eda.com>
@KolosKoblasz-Semify KolosKoblasz-Semify force-pushed the kk_rst_mgr_dv branch 3 times, most recently from e105ee4 to d7f29db Compare May 4, 2026 07:32
 * 0002 patches fix the auto generated
   reset manager's dv files to be run

Signed-off-by: Kolos Koblasz <kolos.koblasz@semify-eda.com>
 * Reset Manager DV paths fixed
 * Template files fixed to enable running block level simulations

Signed-off-by: Kolos Koblasz <kolos.koblasz@semify-eda.com>
 * Since templates files were chnaged to enable running
   block level simulations the rstmgr files had to be regenerated
   and commited.

Signed-off-by: Kolos Koblasz <kolos.koblasz@semify-eda.com>
// Wait till rst_lc_n is inactive for non-aon.
`DV_WAIT(cfg.rstmgr_vif.resets_o.rst_lc_n[1])
// Wait till rst_por_aon_n is inactive for non-aon.
`DV_WAIT(cfg.rstmgr_vif.resets_o.rst_por_aon_n[1])
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I think this should be the same reset as the one fed into the reset manager block in the top which is rst_por_io_n

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

In rstmgr.sv line 351 constant zero is assigned to it:

Image

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

image

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The assignment happens here: rstmgr.sv#L340

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Probably makes sense to switch rst_*lc* with rst_por_io_n everywhere (and Marno agrees as well).

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Okay, but then it is DomainAonSel right?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

rst_lc_n[1] -> rst_por_io_n[1] so this is going to be Domain0Sel?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Yes, DomainAonSel is 0, Domain0Sel is 1.

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.

4 participants