Question: WRITE A GATE MODELING { AVOIDE USEING ASSIGN AND ALWAYS ] / / This is going to be + ve edge clock triggered register file.

WRITE A GATE MODELING {AVOIDE USEING ASSIGN AND ALWAYS]
// This is going to be +ve edge clock triggered register file.
// Reset on RST=0
module REGISTER_FILE_32x32(DATA_R1, DATA_R2, ADDR_R1, ADDR_R2,
DATA_W, ADDR_W, READ, WRITE, CLK, RST);
// input list
input READ, WRITE, CLK, RST;
input [`DATA_INDEX_LIMIT:0] DATA_W;
input [`REG_ADDR_INDEX_LIMIT:0] ADDR_R1, ADDR_R2, ADDR_W;
// output list
output [`DATA_INDEX_LIMIT:0] DATA_R1;
output [`DATA_INDEX_LIMIT:0] DATA_R2;
// TBD
endmodule
// memory data file (do not edit the following line - required for mem load use)
// instance=/RF_TB/result
// format=hex addressradix=h dataradix=h version=1.0 wordsperline=1 noaddress
00000000
00000000
00000001
00000001
00000002
00000002
00000003
00000003
00000004
00000004
00000005
00000005
00000006
00000006
00000007
00000007
00000008
00000008
00000009
00000009
0000000a
0000000a
0000000b
0000000b
0000000c
0000000c
0000000d
0000000d
0000000e
0000000e
0000000f
0000000f
00000010
00000010
00000011
00000011
00000012
00000012
00000013
00000013
00000014
00000014
00000015
00000015
00000016
00000016
00000017
00000017
00000018
00000018
00000019
00000019
0000001a
0000001a
0000001b
0000001b
0000001c
0000001c
0000001d
0000001d
0000001e
0000001e
0000001f
0000001f

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!