Spring 20 8(a) (5 pts) Below Verilog code provides memory reading/writing operations. Both reading and writing are synch
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Spring 20 8(a) (5 pts) Below Verilog code provides memory reading/writing operations. Both reading and writing are synch
Spring 20 8(a) (5 pts) Below Verilog code provides memory reading/writing operations. Both reading and writing are synchronous to clock signals. Change the code to provide an asynchronous reading. module Memory (Address, CLK, MemWrite, Data_In, Data_Out); output [31:0) Data_Out; input (6:0) Address; input CLK; input MemWrite; input [31:0] Data_In; reg [31:0) Data_Out; reg [31:0) DataMEM [0:127]; always @ (posedge CLK) begin if (MemWrite == 1'51) DataMEM[Address] <= Data_In; // writing else Data_Out = DataMEM[Address]; // reading end endmodule (b) (5 pts) Estimate how many AND gates and adders are required to design a 3 bits x 3 bits array multiplier? [Assume that only full adders are available] [**You don't need to draw an array multiplier)
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!