Question: { USE GATE MODELING and, nand, or , etc } ' ' ' ' ' ' ' ' ' ' ' ' ' ' '
USE GATE MODELING and, nand, or etc
DO NOT DO NOT USE assign and always
Objective:To implement a Verilog gate level model for xbit register file
Outcome:Gate level implementation for the following components.
DECODERxMUXxREGISTERFILEx
Complete gate level description of following components in mux.v
MUXx
Complete gate level description of following components in logic.v
DECODERxDECODERxDECODERxDECODERx
Complete gate level description of following components in registerfile.v
REGISTERFILEx
Compile entire Project and simulate following modules in ModelSim simulator.
MUXxTBDECODERxTBRFTB
Observe corresponding outcomes on waveform windows and fix any issue.
Each testbench will generate corresponding output file.
OUTPUTmuxxtboutOUTPUTdecoderxtboutOUTPUTrftbout
bit mux
module MUXxY I I I I I I I I
I I I I I I I I
I I I I I I I I
I I I I I I I I S;
output list
output : Y;
input list
input : I I I I I I I I;
input : I I I I I I I I;
input : I I I I I I I I;
input : I I I I I I I I;
input : S;
TBD
endmodule
x Line decoder
module DECODERxDI;
output
output : D;
input
input : I;
TBD
endmodule
x Line decoder
module DECODERxDI;
output
output : D;
input
input : I;
TBD
endmodule
x Line decoder
module DECODERxDI;
output
output : D;
input
input : I;
TBD
endmodule
x Line decoder
module DECODERxDI;
output
output : D;
input
input : I;
TBD
endmodule
include prjdefinition.v
This is going to be ve edge clock triggered register file.
Reset on RST
module REGISTERFILExDATAR DATAR ADDRR ADDRR
DATAW ADDRW READ, WRITE, CLK RST;
input list
input READ, WRITE, CLK RST;
input DATAINDEXLIMIT: DATAW;
input REGADDRINDEXLIMIT: ADDRR ADDRR ADDRW;
output list
output DATAINDEXLIMIT: DATAR;
output DATAINDEXLIMIT: DATAR;
TBD
endmodule
memory data file do not edit the following line required for mem load use
instanceMUXxTBresult
formathex addressradixh dataradixh version wordsperline noaddress
a
b
c
d
e
f
a
b
c
d
e
f
memory data file do not edit the following line required for mem load use
instanceDECODERxTBresult
formatbin addressradixh dataradixb version wordsperline noaddress
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
