Question: Write test bench code in SystemVerilog for Vivado to test this OTTER register module. I have this for my code for the register. module REGFILE
Write test bench code in SystemVerilog for Vivado to test this OTTER register module. I have this for my code for the register.
module REGFILE
input : ADR
input : ADR
input : WADR,
input : WDATA,
input : WE
input clk
output : RS
output : RS
;
reg : REGFILE :;
always @posedge clk begin
if WE begin
REGFILEWADR WDATA;
end
end
assign RS REGFILEADR;
assign RS REGFILEADR;
endmoduleFigure : Register File Black Box Diagram
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
