Given integer A = 8'shA5; integer B = 8'shB6; integer C = 8'hA5; integer D = 8'hB6;

Question:

Given
integer A = 8'shA5;
integer B = 8'shB6;
integer C = 8'hA5;
integer D = 8'hB6;
reg signed [31:0] S;


Evaluate
i.  S = A + B;
ii. S = A + B + 0;
iii. S = C + D;
iv. S = C + D + 0;
v. S = A + D;
vi. S = A + D + 0;

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Digital Systems Design Using Verilog

ISBN: 978-1285051079

1st edition

Authors: Charles Roth, Lizy K. John, Byeong Kil Lee

Question Posted: