Skip to content

Fix unconnected w_mask_in on cce_inst_ram in bp_quad - #3921

Merged
maliberty merged 5 commits into
The-OpenROAD-Project:masterfrom
The-OpenROAD-Project-staging:secure-fix-bp-quad-rtl
Feb 26, 2026
Merged

maliberty merged 5 commits into
The-OpenROAD-Project:masterfrom
The-OpenROAD-Project-staging:secure-fix-bp-quad-rtl

Conversation

@openroad-ci

Copy link
Copy Markdown
Member

Summary

  • fakeram45_256x48 instance in bsg_mem_1rw_sync_width_p48_els_p256 (cce_inst_ram) had w_mask_in[47:0] left unconnected in the input RTL (bsg_chip_block.sv2v.v)
  • This caused ORD-2041 sanity check failure: non-output ITerm 'w_mask_in[0]' is not connected to any net
  • Tied w_mask_in to {48{1'b0}} (active-low write mask = all bits write-enabled) for whole-word writes

Root Cause

The BSG wrapper bsg_mem_1rw_sync has no write-mask interface (only whole-word write via w_i), but the underlying fakeram45_256x48 macro requires w_mask_in to be connected. Other fakeram instances in the design (e.g., fakeram45_64x124) properly connect w_mask_in via ~w_mask_i / ~write_mask_i (active-low).

Test plan

  • Re-run nangate45/bp_quad/base flow and verify ORD-2041 error is resolved
  • Verify synthesis completes without warnings on the modified module

🤖 Generated with Claude Code

jhkim-pii and others added 2 commits February 25, 2026 10:34
The fakeram45_256x48 instance in bsg_mem_1rw_sync_width_p48_els_p256
had its w_mask_in port left unconnected, causing ORD-2041 sanity check
failure. Tie w_mask_in to 0 (active-low) to enable whole-word writes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
@jhkim-pii

Copy link
Copy Markdown
Collaborator

Fixes #3922

@maliberty maliberty left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I'm not sure why an OR update was needed.

@maliberty
maliberty merged commit 3f8e976 into The-OpenROAD-Project:master Feb 26, 2026
5 checks passed
@maliberty
maliberty deleted the secure-fix-bp-quad-rtl branch February 26, 2026 15:23
@maliberty

Copy link
Copy Markdown
Member

Same CI failures as we picked up in master last night

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.

3 participants