lowRISC / lowRISC/style-guides
Allow choosing between `uvm_analysis_tlm_fifo` and `uvm_analysis_imp`
@antmarzam is already working on this.
Since May 9, 2025.
- Dominant language
- No language data
- Stars
- 541
- Forks
- 132
- PR merge metrics
- No merged PRs in 30d
Description
Using `uvm_analysis_fifo` is fine, but requires calling `get` whenever an item is available.
`uvm_analysis_imp` or `uvm_analysis_imp_decl(port_identifier)` are helpful because they have the TLM connections in it, you don’t have to call `get`. Instead, there is a write method (write_port_identifier for `uvm_analysis_imp_decl`) which gets called every time there’s a new item available.
Uvm_analysis_imp example:

Example for uvm_analysis_imp_decl:
https://verificationguide.com/uvm/tlm-analysis-port-multi-analysis-imp-port/
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.