Question: Please perform highlighted funcitons below in verilog code. Gave example of syntax below, each function has two inputs that are 8 bits, so perform every

Please perform highlighted funcitons below in verilog code. Gave example of syntax below, each function has two inputs that are 8 bits, so perform every function to 8 bits. Make one bit function and call it 8 times to make it easier if wanted. Thank you will give good review.Please perform highlighted funcitons below in verilog code. Gave example of syntaxbelow, each function has two inputs that are 8 bits, so perform

A function unit is a combinational circuit that performs a variety of common arithmetic, logic, and shift operations. A function unit has a set of control inputs thaOetermine which of the operations will be carried out on a set of operands For this project, the function unit will take as input two 8-bit operands, A and B, and perform the operation on those operands specified by a 4-bit operation code (opcode). The function unit will generate the 8-bit result of the operation as well as four status bits. The set of operations that you are required to implement is specified in Table 1 Status bits set based upon result V, Z, C, N V, Z, C, N V, Z,C, N V, Z,C,N Z, N Z, N Z, N Z, N Z, N Operation name Output Description add sub in neg nand xnor not mult4 div16 Add A and B Subtract B from A Increment A by 1 Negative of A Bitwise NAND of A and B Bitwise XNOR of A and B Bitwise complement of A Multiply B by 4 Divide B by 16 Modulus of A by 16; Note if A is negative, the result has to be positive Shift B left by 1 bit; the vacant bit positions are filled in with the bits that are shifted out of the sequence Shift B right by 1 bit; the vacant bit positions are filled in with the bits that are shifted out of the sequence A B A + B' 1 A' 16 B mod 16 Z, N All status bits clear All status bits clear mod16 CS B>1 (circular shift right A function unit is a combinational circuit that performs a variety of common arithmetic, logic, and shift operations. A function unit has a set of control inputs thaOetermine which of the operations will be carried out on a set of operands For this project, the function unit will take as input two 8-bit operands, A and B, and perform the operation on those operands specified by a 4-bit operation code (opcode). The function unit will generate the 8-bit result of the operation as well as four status bits. The set of operations that you are required to implement is specified in Table 1 Status bits set based upon result V, Z, C, N V, Z, C, N V, Z,C, N V, Z,C,N Z, N Z, N Z, N Z, N Z, N Operation name Output Description add sub in neg nand xnor not mult4 div16 Add A and B Subtract B from A Increment A by 1 Negative of A Bitwise NAND of A and B Bitwise XNOR of A and B Bitwise complement of A Multiply B by 4 Divide B by 16 Modulus of A by 16; Note if A is negative, the result has to be positive Shift B left by 1 bit; the vacant bit positions are filled in with the bits that are shifted out of the sequence Shift B right by 1 bit; the vacant bit positions are filled in with the bits that are shifted out of the sequence A B A + B' 1 A' 16 B mod 16 Z, N All status bits clear All status bits clear mod16 CS B>1 (circular shift right

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!