4. A 4x8 register file's four registers are initialized to 0. Fill in the blanks with the input values necessary to read register r2 and to simultaneously write register r1 with a decimal value 254. Note: Consider register names starting with r0. 8 8 W_data R_data 2 2 W_addr R_addr W_en R_en 4×8 register file W_data= in 8-bits W_addr= in 2-bits W_en= R_addr= in 2-bits R_en=
Added by Devin W.
Close
Step 1
The register file is 4x8, meaning it has 4 registers, each 8 bits wide. Register addresses are 2 bits wide (since $2^2 = 4$). Show more…
Show all steps
Your feedback will help us improve your experience
Adi S and 66 other Physics 102 Electricity and Magnetism educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
4) The register file shown is 8 x 8 (8 registers, each register is 8 bits wide). For the waveforms given, show the values of V00 - V04 and V10 - V14. Show hex values with two digits, i.e. "0x7C". Show unknown values as "XX". Note that adjacent values are not necessarily different. Rd0_addr Rd0_data Rd1_addr Rd1_data Wr_addr Wr_data Clk Clk Wr_addr Wr_data Wr Rd0_addr Rd0_data Rd1_addr Rd1_data
Adi S.
Fig 1 shows a register file inside an 8-bit CPU. It has 8 8-bit registers, that is, Data 1, Data 2, and Data 3 are all 8-bit width, and Address 1, Address 2, and Address 3 are all 3-bit width. Implement this register file by using the following off-the-shelf chips: 1. CY74FCT2574T: 8-bit Register 2. SN74HC151-Q1: 8-to-1 Multiplexer 3. M74HC238: 3-to-8 Decoder 4. Other necessary gates that you need Register File Address 1 Port 1 Read Data 1 Address 2 Port 2 Read Data 2 Address 3 Port 3 Control Control Control Port 1 Port 2 Port 3 Write Data 3 Read Read Write
Akash M.
Recommended Textbooks
University Physics with Modern Physics
Physics: Principles with Applications
Fundamentals of Physics
Transcript
Watch the video solution with this free unlock.
EMAIL
PASSWORD