Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Draw a Register File that will adopt the following interface: As long as the validation line, rd_e, is inactive, the rd_data output is in high

Draw a Register File that will adopt the following interface: As long as the validation line, rd_e, is inactive, the rd_data output is in high impedance. When rd_e is active, rd_data will be channeled the contents of the selected register.

image text in transcribed

a) Implement the designed architecture, using the Verilog language. b) Write a testbench for the regfl_4 8 module, which generates entries according to the diagram below (Tclk = 100 ns):

image text in transcribed

module regfi_4x8 ( input clk, input rst_b , // asynchr input [7:0] wr_data, input [1:0] wr_addr, input (1:0] rd_addr input wr_e, input rd_e, output [7:0] rd_data ); clk rst_b wr_addr wr_data 2'ho 2'h2 2'h1 2'h3 2'ho 2'h1 2'h3 2'h2 2'h3 8'ha2 8'h2e 8'h98 8'h55 8'h20 8'hff 8'hc7 8'hb5 8'h91 wr_e 2'h3 2'h0 2'h1 2'h2 2'h3 2'ho 2'h1 2'h2 2'h3 rd_addr rde

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts International Edition

Authors: David M. Kroenke

6th Edition International Edition

0133098222, 978-0133098228

More Books

Students also viewed these Databases questions