790 likes | 967 Views
Virtual Wallet Simulation and Waveforms. Gates Winkler Jordan Samuel Fei Yin Shen October 26 , 2009. To create a handheld device which will save money and time through budget assistance and improve the shopping experience. Status. Finished Flow Chart Behavioral Verilog
E N D
Virtual WalletSimulation and Waveforms • Gates Winkler • Jordan Samuel Fei • Yin Shen • October 26 , 2009 To create a handheld device which will save money and time through budget assistance and improve the shopping experience.
Status Finished • Flow Chart • Behavioral Verilog • Transistor Estimate • Floor Plan • Structure Proposal • Structural Verilog • Schematic • Simulation To Do • Layout • Testing
1bit full adder A B Ci Co S 0 0 0 0 0 0 0 1 0 1 0 1 0 0 1 0 1 1 1 0 1 0 0 0 1 1 0 1 1 0 1 1 0 1 0 1 1 1 1 1
adder Some examples 595759104+891=595759995 100011100000101001000000000000+1101111011=100011100000101001001101111011 118624453+130192448=248816901 000111000100100001000011000101+ 000111110000101001010001000000= 001110110101001010010100000101
1bit full subtractor A B Ci S Co 0 0 0 0 0 0-0-0 = 0, No borrow 0 0 1 1 1 0-0-1 = -1, borrow 2, so: 2-1 = 1 0 1 0 0 1 1-0-0 = 1, No borrow 0 1 1 0 0 1-0-1 = 0, No borrow 1 0 0 1 1 0-1-0 = -1 (bin=1), borrow 2, so: 2-1 = 1 1 0 1 1 0 0-1-1 = -2 , borrow 2, so: 2-2=0 1 1 0 0 0 1-1-0 = 0, No borrow 1 1 1 1 1 1-1-1 = -1, borrow 2, so: 2-1 =1
subtractor Some examples 595759104-891:595758213 100011100000101001000000000000-1101111011= 100011100000101000110010000101 118624453-11567995:107056458 000111000100100001000011000101-000000101100001000001101111011= 000110011000011000110101001010
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)
Test 1 • Binary • 11110100001001000000 • Decimal • 1000000 • BCD • 0001 0000 0000 0000 0000 0000 0000
Test 1 • Decimal • 834943 • BCD • 0000 1000 0011 0100 1001 1000 0011 • Binary • 11001011110101111111
Test 1 • Decimal • 834943 • BCD • 0000 1000 0011 0100 1001 1000 0011 • Binary • 11001011110101111111