3. (30 pts.) Implement the following ASM Func (X, Y, Z, start, U, done) X[O:7], Y[0:7], input start; .Output U[0:7...
3. (30 pts.) Implement the following ASM: Func(x, Y. Z, start, U, done) Input XIO:71, YIO:7. start: Output U[0:71 done: A[O:7], Registers B[0:7], C[0:7); i: If start' goto Si S2: A -XII BYI1C-(00000000)11 done c-0 S3: A <" Add (A, B) 11 C <" Inc (C); .S4: IE A' 71 goto S3 S5:U- CIl done <1 11 goto $1 end Func Design a datapath subsystem that is adequate to execute the algorithm. i. Use a table to list the instructions...
Given the two dynamic systems S2 a ER Si has state r1, control u, and output y. S2 has state (x2, r3), control w and output z. (a) Draw a dynamic diagram of system S2 (b) Express the equations for S1 and S2 in matrix from and determine whether each system is controllable, observable. (c) These two systems are connected in series with w-y. The resulting system is called S3. Write down the matrix form of the equation for S3...
1. Convert the following C statement to MIPS code. Assume x, y and z are assigned to registers $s0, $s1 and $s2 respectively and the starting address of array A is $s6. x = y + z + A[3] 2. 2.Convert the following C statement to MIPS code. Assume the base address of array A is $s3 and h is assigned to register $s2 . A[7] = h + A[7]
5) Decoders: Given the following circuit, S0 and S1 are computed using a 4-2 priority encoder with the priorities indicated on the figure. (hint: IDLE signal is always 0, if any of the inputs 10,11,12, or 13 is 1) 6 points) 4-to-2 Priority Encoder 10 YO YI 13 IDLE 13> 11 > 12>10 12 Full c Adder So Fill the following table showing the output signals S0 and SI given the input signals w, x, y, a) and z. Prof...
Given the following sequence of instructions: lw $s2, 0($s1) //1 lw $s1, 40($s3) //2 sub $s3, $s1, $s2 //3 add $s3, $s2, $s2 //4 or $s4, $s3, $zero //5 sw $s3, 50($s1) //6 a. List the read after write (current instruction is reading certain registers which haven’t been written back yet) data dependencies. As an example , 3 on 1 ($s2) shows instruction 3 has data dependency on instruction 1 since it is reading register $s2. b. Assume the 5...
Incorrect Question 5 0/5 pts S3 = [y/g(h(a,b))] Consider the following substitutions: S1 = [y/f(a,g(h(a,b)))] S2 = [x/f(a,y)] Which are legal ground substitutions? (A) S1 and S3 (B) S2 and 53 (C) S1 and 52 (D) All of above mentioned (A) (B) (C) (D)
Consider the following circuits connected in series. The input is the voltage x(t), the output to system Si is the voltage y(t), and the output of system S2 is the voltage y(t). The differential equation relating the input X(t) to the output yı(t) was found in Homework #3. S2 x(1) y(t) | X(t) 6+ R yce) .66) (1) + y(t) Let L = 0.01, C1 = 0.01, R = 100, C2 = 0.002, and R2 = 50. a) Find the...
Q4 only: Question 3. Consider the region of R3 given by V is bounded by three surfaces. Si is a disc of radius 1 in the plane z -0. S3 is a disc of radius 2 in the plane z 3 and a) Make a clear sketch of V. (Hint: You could consider the cross-section of S2 with y-0, and then use the circular symmetry. (b) Express V in cylindrical coordinates. (c) Calculate the volume of V, working in cylindrical...
5- For the following system: x( Input: x(t)s u(t) Output: y() With the initial condition y(0) 1, y(O)-0, RI-1, R2-12, CI-2F, C2-1F. Identify the natural and forced response of the system a) Find the zero input response. b) Unit impulse response. c) zero state response. d) The total response. e Identify the natural and forced response of the system. 5- For the following system: x( Input: x(t)s u(t) Output: y() With the initial condition y(0) 1, y(O)-0, RI-1, R2-12, CI-2F,...
show steps 7 pts) Consider an FSK system where bits 1 and 0 are transmitted using signals si(t) and s2(t) 2Eb 2Eb where θ1 and 02 are the phases of the two signals. (a) (3 pt) Find the correlation between the signal s1(t) ard salt), i.e., find oin(t)s2(t)dt. b) (2 pt) Assuming non-coherent carriers, i.e., θ|メ02, state the condition for which the correlation derived in part (a) goes to zero. (c) (2 pt) Repeat part (b) for the case where...