-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Øyvind Harboe <[email protected]>
- Loading branch information
Showing
6 changed files
with
50 additions
and
119 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// mock version for fast builds | ||
module lb_32x128( | ||
input [4:0] R0_addr, | ||
input R0_en, | ||
R0_clk, | ||
output [127:0] R0_data, | ||
input [4:0] W0_addr, | ||
input W0_en, | ||
W0_clk, | ||
input [127:0] W0_data | ||
); | ||
|
||
reg [127:0] Memory[0:3]; // Reduced rows to 4 | ||
always @(posedge W0_clk) begin | ||
if (W0_en & 1'h1) | ||
Memory[W0_addr[4:3] ^ W0_addr[1:0]] <= W0_data; // XORing high and low bits | ||
end // always @(posedge) | ||
assign R0_data = R0_en ? Memory[R0_addr[4:3] ^ R0_addr[1:0]] : 128'bx; // XORing high and low bits | ||
endmodule | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.