subject

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.

ansver
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 11:30, LindseyN1
One subtask in the game is to roll the dice. explain why is roll the dice an abstraction.
Answers: 3
image
Computers and Technology, 22.06.2019 22:00, zay179
What is a distinguishing feature of today’s graphic application software?) graphic applications are used today on a variety of devices, including touch-screen kiosks and mobile phones.
Answers: 3
image
Computers and Technology, 23.06.2019 03:00, Julianhooks
State 7 common key's for every keyboard
Answers: 1
image
Computers and Technology, 23.06.2019 07:30, cireland
Write a program that inserts the digits of an integer into an array in originalorderfollowed by reverse order. first, promptthe user to enter a positive integer(> 0). determine the number of digits of the integer. create a dynamically allocated integer arrayof a size twice the number of digits. now insert the digits in original order which will occupy half of the array. then, insert the digits in reverse order. finally, output thedigits in thearray. use at least two functions to organize your program.
Answers: 3
You know the right answer?
Design an ARMv8 Sign Extender module For this part of Lab 7 you will design the sign extender module...

Questions in other subjects:

Konu
Social Studies, 21.10.2020 01:01
Konu
History, 21.10.2020 01:01