Presentation is loading. Please wait.

Presentation is loading. Please wait.

TERM PROJECT 1 : CALCULATOR Martinet Lee & Steve Chung.

Similar presentations


Presentation on theme: "TERM PROJECT 1 : CALCULATOR Martinet Lee & Steve Chung."— Presentation transcript:

1 TERM PROJECT 1 : CALCULATOR Martinet Lee & Steve Chung

2 OUR “FINAL” GOAL : THE CALCULATOR Sequential:  Has memory  Has different modes Combinational:  Various calculation functions  Human understandable output Combinational Memory Unit FSM

3 PROJECT TARGET : A COMBINATIONAL CALCULATOR (1) Arithmetic Logic Unit (2) Binary to Decimal Converter (3) Seven-Segment Display controller (4) The combinational calculator

4 ALU : ARITHMETIC LOGIC UNIT Addition Subtraction Multiplication Division controlled by op Hint: Use behavioral ! (+-*/ are all synthesizable)

5 BINARY TO DECIMAL CONVERTER Converts a binary input into decimal digits. Ex. input 7’b1000001(= 7’d65)  digten = 4’d6, digone = 4’d5 (1) Use logical method to “calculate” the result. (2) This can also be implemented as ROM, note that we require you to use logical method. Hint: Figure out the arithmetic logic, plan & place them in order

6 SEVEN SEGMENT DISPLAY CONTROLLER Converts decimal number to SSDisp output Hint: input and output acts as a direct mapping, hmm, doesn’t it look familiar?

7 THE COMBINATIONAL CALCULATOR … Connect the above module all together, then you’ll get the combinational calculator! Hint: Wait, I think you won’t need any hint for this one, eh?

8

9 Project Due is 5/14 Do it early!


Download ppt "TERM PROJECT 1 : CALCULATOR Martinet Lee & Steve Chung."

Similar presentations


Ads by Google