Skip to content

Updated asap7 fakeram verilog - #4392

Merged
maliberty merged 1 commit into
The-OpenROAD-Project:masterfrom
The-OpenROAD-Project-staging:asap7-ram-verilog-mods
Aug 4, 2026
Merged

maliberty merged 1 commit into
The-OpenROAD-Project:masterfrom
The-OpenROAD-Project-staging:asap7-ram-verilog-mods

Conversation

@jeffng-or

Copy link
Copy Markdown
Contributor

Addresses feedback from #4306 (comment).

gemini/claude agreed with changing the write behavior.

gemini/claude were split on how to handle the specify block. Went with claude that suggested to remove the statement since it's not supported by many simulators.

@jeffng-or jeffng-or self-assigned this Aug 4, 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 simplifies the write behavior in multiple fake RAM and register file Verilog models by directly assigning the input data to memory instead of performing a bitwise OR with the existing contents, and removes delay specifications from specify blocks. The reviewer identified that fakeregfile_32x46.v was missed in this update due to different port names (waddr_in and wdata_in) and recommended applying the same write behavior change.

I am having trouble creating individual review comments. Click here to see my feedback.

flow/platforms/asap7/verilog/fakeregfile_32x46.v (65-66)

high

It looks like the write behavior update was missed for fakeregfile_32x46.v.\n\nIn all other files, the write behavior was updated from:\nverilog\nmem[addr_in] <= (wd_in) | (mem[addr_in]);\n\nto:\nverilog\nmem[addr_in] <= wd_in;\n\n\nHowever, in fakeregfile_32x46.v (line 46), the write behavior is still:\nverilog\nmem[waddr_in] <= (wdata_in) | (mem[waddr_in]);\n\nThis was likely missed because the port/variable names are waddr_in and wdata_in instead of addr_in and wd_in.\n\nPlease update line 46 in fakeregfile_32x46.v to:\nverilog\nmem[waddr_in] <= wdata_in;\n

@jeffng-or
jeffng-or requested a review from maliberty August 4, 2026 21:16
code review feedback on missed file

Signed-off-by: Jeff Ng <jeffng@precisioninno.com>
@openroad-ci
openroad-ci force-pushed the asap7-ram-verilog-mods branch from a6e9cf3 to 99be4aa Compare August 4, 2026 21:24
@maliberty
maliberty enabled auto-merge August 4, 2026 21:35
@maliberty
maliberty merged commit 0fd7a71 into The-OpenROAD-Project:master Aug 4, 2026
8 checks passed
@maliberty
maliberty deleted the asap7-ram-verilog-mods branch August 4, 2026 23:35
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.

2 participants