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
Get step-by-step solutions from verified subject matter experts
