Virtual WalletSimulation and Waveforms
To create a handheld device which will save money and time through budget assistance and improve the shopping experience.
• Gates Winkler • Jordan Samuel Fei• Yin Shen
• October 26 , 2009
Status
Finished• Flow Chart• Behavioral Verilog• Transistor Estimate • Floor Plan• Structure Proposal• Structural Verilog• Schematic• SimulationTo Do • Layout• Testing
inv
nand
and
nor
or
3nand
xor
1bit full adder
A B Ci Co S0 0 0 0 00 0 1 0 10 1 0 0 10 1 1 1 01 0 0 0 11 0 1 1 01 1 0 1 01 1 1 1 1
1bit full adder
adder
adderSome examples595759104+891=595759995100011100000101001000000000000+1101111011=100011100000101001001101111011
118624453+130192448=248816901000111000100100001000011000101+000111110000101001010001000000=001110110101001010010100000101
1bit full subtractor
A B Ci S Co0 0 0 0 0 0-0-0 = 0, No borrow0 0 1 1 1 0-0-1 = -1, borrow 2, so: 2-1 = 10 1 0 0 1 1-0-0 = 1, No borrow0 1 1 0 0 1-0-1 = 0, No borrow1 0 0 1 1 0-1-0 = -1 (bin=1), borrow 2, so: 2-1 = 11 0 1 1 0 0-1-1 = -2 , borrow 2, so: 2-2=01 1 0 0 0 1-1-0 = 0, No borrow1 1 1 1 1 1-1-1 = -1, borrow 2, so: 2-1 =1
1bit full subtractor
subtractor
subtractorSome examples595759104-891:595758213100011100000101001000000000000-1101111011=100011100000101000110010000101
118624453-11567995:107056458000111000100100001000011000101-000000101100001000001101111011=000110011000011000110101001010
Flipflop
multiply
divide
Binary - BCD
Test 1
• Binary• 10000100001000010000 • Decimal• 541200• BCD• 0000 0101 0100 0001 0010 0000 0000
•0 (0000)
•0 (0000)
•2 (0010)
•1 (0001)
•4 (0100)
•5 (0101)
•0 (0000)
Test 1
• Binary• 11110100001001000000 • Decimal• 1000000• BCD• 0001 0000 0000 0000 0000 0000 0000
BCD - Binary
Test 1
• Decimal• 834943• BCD• 0000 1000 0011 0100 1001 1000 0011• Binary• 11001011110101111111
01111111
10111101
1100
Test 1
• Decimal• 834943• BCD• 0000 1000 0011 0100 1001 1000 0011• Binary• 11001011110101111111
Binary - BCD
Test 1
• Binary• 10000100001000010000 • Decimal• 541200• BCD• 0000 0101 0100 0001 0010 0000 0000
•0 (0000)
•0 (0000)
•2 (0010)
•1 (0001)
•4 (0100)
•5 (0101)
•0 (0000)
Test 1
• Binary• 11110100001001000000 • Decimal• 1000000• BCD• 0001 0000 0000 0000 0000 0000 0000
BCD - Binary
Test 1
• Decimal• 834943• BCD• 0000 1000 0011 0100 1001 1000 0011• Binary• 11001011110101111111
01111111
10111101
1100
Test 1
• Decimal• 834943• BCD• 0000 1000 0011 0100 1001 1000 0011• Binary• 11001011110101111111