90 likes | 316 Views
Term Project 1 : Calculator. Martinet Lee & Steve Chung. Our “Final” GoaL : The Calculator. Sequential: Has memory Has different modes Combinational: Various calculation functions Human understandable output. Project Target : A combinational Calculator. (1) Arithmetic Logic Unit
E N D
Term Project 1 : Calculator Martinet Lee & Steve Chung
Our “Final” GoaL : The Calculator • Sequential: • Has memory • Has different modes • Combinational: • Various calculation functions • Human understandable output
Project Target : A combinational Calculator • (1) Arithmetic Logic Unit • (2) Binary to Decimal Converter • (3) Seven-Segment Display controller • (4) The combinational calculator
ALU : Arithmetic Logic Unit • Addition • Subtraction • Multiplication • Division • controlled by op • Hint: Use behavioral ! (+-*/ are all synthesizable)
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
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?
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?
Project Due is 5/14 Do it early!