Question: [ DO NOT USE assign and always ] Objective:To implement a Verilog gate level model for 3 2 x 3 2 - bit register file
DO NOT USE assign and always
Objective:To implement a Verilog gate level model for x bit register file Outcome:Gate level implementation for the following components. DECODER x MUX x REGISTER FILE x Complete gate level description of following components in mux.v MUX x Complete gate level description of following components in logic.v DECODER x DECODER x DECODER x DECODER x Complete gate level description of following components in register file.v REGISTER FILE x Compile entire Project and simulate following modules in ModelSim simulator. MUX x TBDECODER x TBRF TB Observe corresponding outcomes on waveform windows and fix any issue. Each testbench will generate corresponding output file. OUTPUT mux x tb outOUTPUT decoder x tb outOUTPUT rf tb out bit mux module MUX x Y 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 DECODER x D I ; output output : D; input input : I; TBD endmodule x Line decoder module DECODER x D I ; output output : D; input input : I; TBD endmodule x Line decoder module DECODER x D I ; output output : D; input input : I; TBD endmodule x Line decoder module DECODER x D I ; output output : D; input input : I; TBD endmodule include prj definition.v This is going to be ve edge clock triggered register file. Reset on RST module REGISTER FILE x DATA R DATA R ADDR R ADDR R DATA W ADDR W READ WRITE, CLK RST ; input list input READ, WRITE, CLK RST; input DATA INDEX LIMIT: DATA W; input REG ADDR INDEX LIMIT: ADDR R ADDR R ADDR W; output list output DATA INDEX LIMIT: DATA R ; output DATA INDEX LIMIT: DATA R ; TBD endmodule memory data file do not edit the following line required for mem load use instance MUX x TB result format hex addressradix h dataradix h version wordsperline noaddress a b c d
