Conversation
…STAR, WIDTHTRUNC, port widths
…LENAME, IMPORTSTAR, WIDTHTRUNC, and a write-enable line from utoss_riscv.sv
build/.gitkeep
Outdated
Member
There was a problem hiding this comment.
i think this got deleted by accident?
Comment on lines
+1
to
+3
| `timescale 1ns/1ps | ||
|
|
||
|
|
Member
There was a problem hiding this comment.
i dont think i ever seen timescale being put in regular verilog files, is that a thing? i thought these we only relevant for testbenches
Comment on lines
+34
to
+37
| if (write_enable[0]) M[address[11:2]][7:0] <= write_data[7:0]; | ||
| if (write_enable[1]) M[address[11:2]][15:8] <= write_data[15:8]; | ||
| if (write_enable[2]) M[address[11:2]][23:16] <= write_data[23:16]; | ||
| if (write_enable[3]) M[address[11:2]][31:24] <= write_data[31:24]; |
Member
There was a problem hiding this comment.
i think we can derive this value 11 from SIZE using $clog2(SIZE); can do localparam SIZE_W = $clog2(SIZE); and then use that in address subscript
Comment on lines
+30
to
+31
| /* verilator lint_off LATCH */ | ||
| /* verilator lint_off COMBDLY */ |
Member
There was a problem hiding this comment.
I think we should fix this as part of this PR
| zba uut(.reg1(reg1) | ||
| , .reg2(reg2) | ||
| , .inst(inst) | ||
| , .funct3(3'b000) //these were missing |
Member
There was a problem hiding this comment.
Suggested change
| , .funct3(3'b000) //these were missing | |
| , .funct3(3'b000) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
all 5 changes seem to be present in this one