Question: { USE GATE MODELING } ' ' ' ' DO NOT USE ASSIGN and ALWAYS Objective: To implement a Verilog gate level model for 3
USE GATE MODELING
DO NOT USE ASSIGN and ALWAYS
Objective: To implement a Verilog gate level model for bit register.
Outcome:Gate level implementation for the following components.
SRLATCHDLATCHDFFREGREG
Instruction: Complete gate level description offollowing components in logic.v file.
SRLATCHDLATCH DFFREGREG
Compile entire Projectand simulate following modules inModelSim simulator.
SRLATCHTBDLATCHTBDFFTBREGTBREGTB
Observe corresponding outcomeson waveform windows and fix any issue.
Each testbench will generate corresponding output file.
OUTPUTsrlatchtboutOUTPUTdlatchtboutOUTPUTdfftboutOUTPUTdregtboutOUTPUTdregtbout
bit registere ve edge, Reset on RESET
module REGQDLOAD CLKRESET;
output :Q;
input CLKLOAD;
input :D;
input RESET;
TBD
endmodule
bit register ve edge,
Preset on nPnRreset on nPnR;
Undefined nPnR
normal operation nPnR
module REGQQbar DLCnPnR;
input DCL;
input nPnR;
output QQbar;
TBD
endmodule
bit flipflop ve edge,
Preset on nPnRreset on nPnR;
Undefined nPnR
normal operation nPnR
module DFFQQbar DCnPnR;
input DC;
input nPnR;
output QQbar;
TBD
endmodule
bit D latch
Preset on nPnRreset on nPnR;
Undefined nPnR
normal operation nPnR
module DLATCHQQbar DCnPnR;
input DC;
input nPnR;
output QQbar;
TBD
endmodule
bit SR latch
Preset on nPnRreset on nPnR;
Undefined nPnR
normal operation nPnR
module SRLATCHQQbar, SRCnPnR;
input SRC;
input nPnR;
output QQbar;
TBD
endmodule
memory data file do not edit the following line required for mem load use
instanceSRLATCHTBresult
formathex addressradixh dataradixh version wordsperline noaddress
b
f
b
f
b
memory data file do not edit the following line required for mem load use
instanceDLATCHTBresult
formathex addressradixh dataradixh version wordsperline noaddress
f
b
memory data file do not edit the following line required for mem load use
instanceDFFTBresult
formathex addressradixh dataradixh version wordsperline noaddress
b
d
f
memory data file do not edit the following line required for mem load use
instanceREGTBresult
formathex addressradixh dataradixh version wordsperline noaddress
b
f
d
f
memory data file do not edit the following line required for mem load use
instanceREGTBresult
formathex addressradixh dataradixh version wordsperline noaddress
aaaa
ffff
ffff
ffff
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
