You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7befb1d
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: target/verif/simvectors/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -219,8 +219,8 @@ Weighted random traffic across hot regions.
219
219
220
220
4. Dependency gate for `wait_for_jobs`
221
221
- For each dependent pattern, generator inserts a synthetic idle+`PAUSE` gate before real traffic.
222
-
- Each gate crossing increments the driver's `fence_idx` counter. The required `fence_idx` values are packed into `LEVEL_BITS`-bit fields in `FENCE_REQ_LEVELS_PACKED`, so the maximum supported `fence_idx` value is `2^LEVEL_BITS - 1`.
223
-
-`LEVEL_BITS` is configured in `testbench.json` (default: 4, i.e. max 15 fence crossings per driver). Increase it if generation fails with a fence level overflow error.
222
+
- Each gate crossing increments the driver's `fence_idx` counter. The required `fence_idx` values are packed into `LEVEL_BITS`-bit fields in `FENCE_REQ_LEVELS_PACKED`.
223
+
-`LEVEL_BITS` is auto-derived by main.py as the minimum bits to represent the maximum required `fence_idx`in the workload (`max_req_level.bit_length()`), and emitted to `fence_masks.mk`. Both the packed field width and the fence array depth (`2^LEVEL_BITS`) are derived from it, so they always match the workload with no manual configuration.
0 commit comments