Computers and Technology

Design an ARMv8 Sign Extender module For this part of Lab 7 you will design the sign extender module for your ARMv8 processor in Verilog. As an example, below is a simple 16 to 32-bit sign extender module: module SignExtender(BusImm, Imm16, Ctrl); output [31:0] BusImm; input [15:0] Imm16; input Ctrl; wire extBit; assign #1 extBit = (Ctrl ? 1'b0 : Imm16[15]); assign BusImm = {{16{extBit}}, Imm16}; endmodule Rewrite this module to meet the needs of your ARMv8 processor. In particular, the sign extender should output a 64-bit BusImm, and it's input should be the 32-bit instruction. Depending on the instruction type (B, CB or D), it should extend the right set of bits in the instruction up to a full 64-bits. Save this module in a file called SignExtender. v. Implement a testbench for the module, SignExtender, and simulate the testbench with VCS. Your testbench should be self-checking, i. e. it should not only set inputs but it should also check for expected outputs and print a failure message in the event of unexpected output. You may use the testbenches provided in Lab06 as an example of an exhaustive, self-checking testbench. Simulate your testbench and show that your new SignExtender works properly. Demonstrate your progress to the TA. Zip or tar the SignExtender and testbench into one file and attach it here.

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 23:30, ansonhunter8891
What are listed in the vertical columns across the top of the event editor? a. file names b. conditions c. check marks d. action types
Answers: 1
image
Computers and Technology, 23.06.2019 03:30, mem81
How can you repin an image on your pinterest pin board a. click on the "repin" button b. click on the "add pin" button c. click on the "upload a pin" button d. click on the "save pin" button.
Answers: 2
image
Computers and Technology, 24.06.2019 12:00, yagalneedshelp8338
Match the function to its purpose. fast worth 50pts.
Answers: 1
image
Computers and Technology, 24.06.2019 16:50, Ameilasmickle15
How many types of string types does python support?
Answers: 1
Do you know the correct answer?
Design an ARMv8 Sign Extender module For this part of Lab 7 you will design the sign extender module...

Questions in other subjects: