[dv,fusesoc-upgrade] Provide a mechanism to assign integrator DFT ports
@hcallahan-lowrisc is already working on this.
Since Jun 11, 2025.
- Dominant language
- SystemVerilog
- Stars
- 3.6k
- Forks
- 1.1k
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 141
Description
### Description
For example in the sram_ctrl testbench, we added code downstream to properly set the DFT vector when selecting the foundry prim library:
```systemverilog
always_comb begin
ram_cfg = '0;
if (`PRIM_DEFAULT_IMPL == prim_pkg::ImplIntegrator) begin : gen_impl_integrator
// Integrator RAM config
ram_cfg.field1 = 3'h5;
ram_cfg.field2 = 4'h4;
ram_cfg.field3 = 1'h1;
end
end
```
When not selecting the foundry lib, i.e., when compiling to verilator a default `'0` was passed.
With the recent fuseoc upgrade and the deprecation of `prim_pkg`, this is going to be removed. What would be the alternative to solve this problem?
/cc @a-will @andreaskurth
Contributor guide
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.