Skip to content

ram: remove explicit power_pin/ground_pin args from 2r1w test tcl files#10832

Merged
eder-matheus merged 2 commits into
The-OpenROAD-Project:masterfrom
tnguy19:ram-remove-power-ground-pin-args
Jul 7, 2026
Merged

ram: remove explicit power_pin/ground_pin args from 2r1w test tcl files#10832
eder-matheus merged 2 commits into
The-OpenROAD-Project:masterfrom
tnguy19:ram-remove-power-ground-pin-args

Conversation

@tnguy19

@tnguy19 tnguy19 commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Summary

Remove -power_pin/-ground_pin flags from 2r1w test tcl files since #10580 adds support for auto detecting these pins

Type of Change

  • Refactoring

Impact

Update tcl files since no manual power pin names needed to be specified

Verification

  • I have verified that the local build succeeds (./etc/Build.sh).
  • I have run the relevant tests and they pass.
  • My code follows the repository's formatting guidelines.
  • I have included tests to prevent regressions.
  • I have signed my commits (DCO).

Related Issues

#9392
Updates separately per feedback on #10784

@rovinski

Signed-off-by: Thinh Nguyen <nguyenthinh19011@gmail.com>
@github-actions github-actions Bot added the size/S label Jul 6, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

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.

Code Review

This pull request adds two new compulsory integration tests, make_7x7_2r1w_nangate45 and make_8x8_2r1w_sky130, to the RAM test suite. This includes updating the Bazel BUILD file, golden outputs, and TCL test scripts, where explicit power and ground pin arguments are removed from the generate_ram command. The reviewer pointed out a copy-paste inconsistency in make_8x8_2r1w_sky130.tcl where the behavioral file name is incorrectly defined using a different test configuration (make_8x8_1rw1r_behavioral.v), and recommended updating it to prevent maintenance confusion.

@@ -16,8 +16,6 @@ generate_ram \
-r_ports 2 \
-w_ports 1 \
-storage_cell sky130_fd_sc_hd__dfxtp_1 \

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.

medium

In make_8x8_2r1w_sky130.tcl, the behavioral file name defined on line 10 (outside the diff) is set to make_8x8_1rw1r_behavioral.v:

set behavioral_file [make_result_file make_8x8_1rw1r_behavioral.v]

However, this test is for make_8x8_2r1w_sky130, and the golden file compared on line 36 is make_8x8_2r1w_sky130_behavioral.vok. This copy-paste inconsistency makes the test confusing to maintain. It is highly recommended to update line 10 to use make_8x8_2r1w_sky130_behavioral.v instead.

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.

Please fix

@rovinski rovinski left a comment

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.

Fix the one Gemini comment and then it's good

Signed-off-by: Thinh Nguyen <nguyenthinh19011@gmail.com>
@tnguy19 tnguy19 marked this pull request as ready for review July 7, 2026 14:38
@tnguy19 tnguy19 requested a review from a team as a code owner July 7, 2026 14:38
@tnguy19 tnguy19 requested a review from eder-matheus July 7, 2026 14:38
@eder-matheus eder-matheus merged commit 6e7eaab into The-OpenROAD-Project:master Jul 7, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants