mirror of
https://github.com/openhwgroup/cvw
synced 2025-01-24 05:24:49 +00:00
Update fregfile.sv
Program clean up
This commit is contained in:
parent
a98096aa7d
commit
cf39819bac
@ -30,8 +30,8 @@ module fregfile #(parameter FLEN) (
|
||||
input logic clk, reset,
|
||||
input logic we4, // write enable
|
||||
input logic [4:0] a1, a2, a3, a4, // adresses
|
||||
input logic [FLEN-1:0] wd4, // write data
|
||||
output logic [FLEN-1:0] rd1, rd2, rd3 // read data
|
||||
input logic [FLEN-1:0] wd4, // write data
|
||||
output logic [FLEN-1:0] rd1, rd2, rd3 // read data
|
||||
);
|
||||
|
||||
logic [FLEN-1:0] rf[31:0];
|
||||
@ -51,4 +51,3 @@ module fregfile #(parameter FLEN) (
|
||||
assign #2 rd3 = rf[a3];
|
||||
|
||||
endmodule // regfile
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user