The calculator circuit design and algorithm
- Author
- QiuZuo
- Advisor
- LuoYuXiang
- School
- University of Electronic Science and Technology
- Major
- Microelectronics and Solid State Electronics
- Classification
- TP323 Electronic calculator
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 36
- Citations
- 0
Abstract
Calculator is a typical large-scale digital integrated circuits, modern calculators often use an integrated circuit chip to complete a variety of functions of computing, display and keyboard interface, relying on a highly integrated, dynamic CMOS logic and microprogram design Technology.Firstly, the article elaborated the basic construction of the calculator circuit and control system of thought principle, and then completed the design and emluation of circuit through the thought of control, including power supply module, clock module, automatic power-off module, ROM memory, registers module, arithmetic logic unit and the LCD display circuit. Then I builded the digital simulation platform Verilog-XL to simulate the circuit, and exported the simulation microprogram from the ROM register. In succession I summed up the calculator program system micro-instruction format, instruction types, and addressing modes. At the same time I successfully extracted the calculator arithmetic operations and square root algorithm by analyzing the operation process.The subject of micro-program control circuit is controlled by ideology to achieve the MPU structural design, the system works by calling the program instructions stored in the ROM circuit, which could savs a lot of logic control device according to traditional combination logic. Calculator system necessarily involved the upgrading of the method upgrade, a significant increase in instructions, then to achieve a programmable calculator, a wide range of development must be to master calculator framework of micro-program system and key technologies, and upgrade the system and method of instruction.
Table of contents
Summary 4-5
ABSTRACT 5-9
chapter the introduction 9-12
1.1 the Calculator history of the development of -10
1.2 Calculator development status and research significance 10-11
1.2.1 foreign status quo 10-11
1.2.2 domestic status quo
1.3 In this thesis, the work and research significance are found; 11-12
Chapter II calculator works and circuit design 12-36
2.1 Working Principle block diagram and the circuit works 12-13
2.2 power module design 13-14
2.3 clock module design are found; 14-19
2.3 the .1 RC oscillator to generate 14-15
2.3.2 clocks, circuit the 15
2.3.3 counters, module design 15-19
2.4 automatic power-off module design 19-21
2.4.1 automatic power-off counter the 19-20 2.4.2 power failure signal generating circuit
20-21 < br /> 2.4.3 power counter clear circuit 21
2.5 ROM memory design the 21-24 2.5.1 address decoding circuit
23
2.5.2 ROM output circuit 23-24
2.6 the register module design 24-26
2.6.1 arithmetical, register 24-25
2.6.2 flag register 25-26
2.7 arithmetic logic unit design 26-30
2.7.1 an adder circuit design 26-27 < br /> 2.7.2 BCD addition and subtraction operations 27-28
2.7.3 BCD parity principle and circuit design 28-30
2.8 LCD display circuit signal generation module design 30-36
of paragraph 2.8.1 latch circuit design 31-32
2.8.2 common terminal (COM) 32
2.8.3 of decoding module design 32-36
Chapter simulation platform and micro-program automatic extraction 36-52
3.1 simulation platform construction 36-39
3.1.1 virtual keyboard implementation the 36-38
3.1.2 virtual shown to achieve 38
3.1.3 microprogram extracted achieve the 38-39
3.2 Verilog-XL circuit simulation 39-42
the 3.3 emulation waveform display 42-43
nbsp 3.4 microprogram automatically extract; 43-52
Chapter calculator microprogram system 52-65
4.1 calculator data structure 52-53 The
4.2 microprogram instruction format 53-55
4.3 micro-program instructions, the type of operation the 55-56
4.4 micro-program instructions Bits and Bytes operating 56-58
4.5 microprogram instruction flag the 58-59 4.6 microprogram instruction addressing
59-61
4.7 Calculator micro program instance 61-65
Chapter calculator algorithm 65-86
5.1 Addition and Subtraction Algorithm Analysis (A + B → A) 65-72
5.1.1 aligned operand point operations 66-68
5.1.2 the operational results of the sign bit processing 68
5.1.3 subtraction process generated by bit correction 68-69
5.1.4 addition and subtraction algorithm process the the 5.2 multiplication algorithm analysis (A × B → C) 69-72
nbsp 5.2.3 multiplication result decimal; 72-76
5.2.1 aligned operand operation 72
5.2.2 multiplication result of the sign bit processing 72
bit operating 72
5.2.4 multiplication algorithm flow analysis 72-76
5.3 division algorithm analysis (A ÷ B → C) 76-80
5.3.1 Termination of the division operation control operation 76
5.3.2 the result of the division of decimal places operating 76-77
5.3.3 division algorithm processes the 77-80
5.4 square root algorithm The analysis (A ~ (1/2) → C) 80-86
5.4.1 the traditional prescribing computing method 80-82
5.4.2 calculator square root algorithm 82-86
Chapter VI Conclusion and outlook 86-87
thank the 87-88 < br /> References 88-89
attack Shuo obtained during the research 89-90
Related dissertations
- The Research on the Operation of Chinese Criminal Case Instruction System
- Research on Key Techniques for Firm-Code Reverse Analysis
- Syndrome differentiation insomnia computer-aided dialectical
- The Impact of Calculators on Students’ Computing Skills
- Dongfeng- 11 diesel locomotive electric transmission teaching system developed
- Reflection on Mathematics Education in the Cyberenvironment
- The Instructional Design Base on the Ill-structure Problem about the Course of Integrated Practical Activity
- The Study of Students’ Consentience on Appearance and Its Effect of Informational Technology in Junior Mathematics Textbook
- Eight microprocessor IP core design and research
- Design of the Testing System for the Automobile Dynamic Steering Gear Performance Test-Board
- Based on four general purpose calculator chip MCU math System Research and Implementation
- Analysis and Design of Single Chip Embedded Calculator
- Electronic abacus calculator and chip design
- The Design and Development of The Large Scale IC C9901
- Based on the AT90S8535 virtual machine technology and its application
- The 12 RISC calculator design
- The calculator circuit design and verification technology research
- FPGA-based Design and Implement of 16-bit Microprocessor for Teaching
- Design and Implementation of A Data Mining Tool Based on Dameng Database
- Study on Senior One Students’ Understanding about Symbolic-Graphic Combination under the New Curriculum