Repository navigation
Conversation
There was a problem hiding this comment.
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)
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
code review feedback on missed file Signed-off-by: Jeff Ng <jeffng@precisioninno.com>
a6e9cf3 to
99be4aa
Compare
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.