Question: Please write VHDL codes for given commands and status for an 8 bit register:W (Data In/Out 8bit) Commands(4bit): 0001: W

Please write VHDL codes for given commands and status for an 8 bit register:W (Data In/Out 8bit)

Commands(4bit):

0001: W <= -W (1's complement) 0100: Right rotate the content of W 0101: Left rotate the content of W 1000: Clear the carry bit of the status 1001: W <= -W (2's complement)

Status(2bit): 1.bit : 1 if W=0 2.bit : 1 if the last math operation causes carry

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!