Homework Statement
Hello!
I need to implement a "branch if greater than or equal" and a "set if less than" in my 16-bit ALU (MIPS architecture),but I'm having some difficulties with it.
Homework Equations
The "set if less than" I think,if one considers overflow,it could be...
Homework Statement
Given z=f(x,y),where f(x,y) is - say- f(x,y)=x^2-2y+4 how would I go about finding the range of the function like it was done for f(x)=y,when f(x)=x^2-1 ,for example,we would put x^2-1=y and solve for x?
What I don't understand is,why do we use the k constant with value 4 specifically?Why couldn't we use other value?
Also,in the second piece of the function why do we equal sqrt(32-x^2-y^2)=4?Does it have anything to do with the fact that 4 is the point where the function switches to the other...
Hello!
Homework Statement
Well,I'm having a problem drawing level curves for piecewise functions.
The problem is, how do I know which value the constant k will hold?
Homework Equations
The functions is the following:
f(x,y)=4 if x^2+y^2<=16
sqrt(32-x^2-y^2) if...
These are,respectively the implementation of the sgt instruction and ble instruction:
http://img174.imageshack.us/img174/715/sgtop2.jpg
http://img405.imageshack.us/img405/6933/blegy6.jpg
Homework Statement
Hello!
I need to implement a set greater than and a branch less or equal in my 16 bit ALU design(MIPS architecture),but I'm having many difficulties.
Homework Equations
The Attempt at a Solution
I know that in a set greater than a>b equals a-b>0 ,but I...
Hello!
I'm having problems figuring out how to extend the datapath and the blocks used for ble and sgt instructions on MIPS32.
After studying a bit I managed to code the instructions for ble and sgt respectively:
slt $t0, $s2, $s1
beq $t0, $zero, less_equal...
Hello!
I have a project in which I must simulate a blog application,with users' post mangament.
These are the requirements:
A blog has a title and a collection of posts.The posts have the following information:
-author
-data
-title
-text
Each post has a code that is generated...
So,the KCl for the shorted voltage would be something like this:
va/2.5 + (va-vb)/10=6
(va-vb)/10=vb/10 + vb/20
Am I right?
Oh,and could the voltage in the 40 resistor in the open current source be calculated by 10 and 2.5 in series,in parallel with 40 volts,in series with 20...