Abstract: MAX+PLUSⅡ software is an easy-to-learn and easy-to-use design and development environment, and its application in digital circuit design is becoming more and more extensive. Based on this, this paper first introduces the commonly used design input methods of MAX+PLUSⅡ software; then designs a decimal counting circuit, and simulates the circuit with MAX+PLUSⅡ software; finally, the circuit diagram is cut into the experimental box to verify the correctness of its function.
Keywords: MAX+PLUSⅡ; VHDL; Counter
O Introduction
MAX+PLUSⅡ development system is an easy-to-learn and easy-to-use fully integrated design and development environment. Currently, version 10.0 has been released. Compared with LATTICE's iSPEXPERT and XILINX's FOUNDATION, this software has the characteristics of simple use, flexible operation, more supported devices, and flexible and changeable design input methods. Commonly used design input methods are as follows:
(1) Graphic design input: MAX+PLUSⅡ's graphic design input is easier to use than other software because MAX+PLUSⅡ provides a wealth of library units for designers to call, especially the mf library provided in MAX+PLUSⅡ contains almost all 74 series devices, and the prim library provides all discrete devices in digital circuits. Therefore, as long as you have knowledge of digital circuits, you can use MAX+PLUSⅡ to design CPLD/FPGA without much learning.
(2) Text editing input: MAX+PLUSⅡ's text input and compilation system supports three input methods: AHDL language, VHDL language, and VERILOG language.
(3) Waveform input method: If you know the input and output waveforms, you can also use the waveform input method.
(4) Mixed input method: MAX+PLUSⅡ design and development environment supports mixed editing of graphic design input, text editing input, and waveform editing input.
1 Design of decimal counter
The structure of the decimal counting circuit is shown in Figure 1. It is mainly composed of an anti-jitter circuit, a BCD code counter and a seven-segment decoder. The circuits of each part are introduced as follows:
1.1 Switch anti-jitter circuit
The button will vibrate for several milliseconds from the initial pressing to the stable contact. The same problem also occurs when the key is released, as shown in Figure 2. The input time ta varies from person to person, and the general switch ta is <100ms. The purpose of setting the switch anti-jitter circuit is: press the key once and output a pulse. That is, the actual output of the switch is used as the input of the switch anti-jitter circuit, and the output of the switch anti-jitter circuit is the ideal output shown in Figure 2.
1.2 BCD code counter
The BCD code counting circuit used in this design is composed of 74160, which is a decimal synchronous counter (asynchronous clearing). In its function table, when the four input terminals of LDN, ENT, ENP, and CLRN are all connected to a high level, the rising edge of the CLK input pulse is counted, and the 8421 code is output by QA-QD.
1.3 Seven-segment decoder circuit
The seven-segment decoder circuit used in this design is composed of 7447 and an external common cathode digital tube. The 7447 seven-segment decoder decodes the BCD8421 code into the seven-segment digital display code required by the digital tube.
In summary, the designed decimal counter circuit is shown in Figure 3.
2 Simulation of decimal counter
Open the PC interface MAX+plusⅡ software, input the circuit diagram of Figure 3; select the menu File\Project\Set Project to Current File, and then select the menu MAX+plusⅡ\complier to edit the current graphic file; simulate Figure 3, and the simulation result is shown in Figure 4. It can be seen from Figure 4 that the designed circuit (Figure 3) meets the logical requirements of the decimal counter.
Use the Byte Blaster download cable to connect the PC parallel port and the experimental box J1 (JTAG), and turn on the power switch of the experimental box. Select the menu item MAX+plusⅡ\Programmer, click the Program button, and start downloading the program. Turn on the power switch of the experimental box and press K52 continuously. The LED1 of the digital tube will change from 0 to 9 in sequence, which meets the logical requirements of the decimal counter.
3 Conclusion
MAX+PLUSⅡ is a revolution in the field of electronic design. Its application is becoming more and more extensive. The application of MAX+PLUSⅡ in experimental teaching is not only to improve the design efficiency, but more importantly to cultivate talents who are adaptable to innovation and entrepreneurship, so as to adapt to the competition and development of the electronic industry.
Previous article:Realization of reactive power compensation algorithm for three-phase mismatch of load based on PIC16C72
Next article:Waveform synthesis circuit based on conventional chip design
Recommended ReadingLatest update time:2024-11-16 16:49
- Popular Resources
- Popular amplifiers
- MathWorks and NXP Collaborate to Launch Model-Based Design Toolbox for Battery Management Systems
- STMicroelectronics' advanced galvanically isolated gate driver STGAP3S provides flexible protection for IGBTs and SiC MOSFETs
- New diaphragm-free solid-state lithium battery technology is launched: the distance between the positive and negative electrodes is less than 0.000001 meters
- [“Source” Observe the Autumn Series] Application and testing of the next generation of semiconductor gallium oxide device photodetectors
- 采用自主设计封装,绝缘电阻显著提高!ROHM开发出更高电压xEV系统的SiC肖特基势垒二极管
- Will GaN replace SiC? PI's disruptive 1700V InnoMux2 is here to demonstrate
- From Isolation to the Third and a Half Generation: Understanding Naxinwei's Gate Driver IC in One Article
- The appeal of 48 V technology: importance, benefits and key factors in system-level applications
- Important breakthrough in recycling of used lithium-ion batteries
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- Is there any big guy who does MEMS process research and development? Please guide me
- Question about LED flashing (newbie question)
- Learn about vehicle-to-everything (V2X) technology in one article
- Evaluation of the domestic FPGA Gaoyun GW1N-4 series development board - Software Part 1
- R329 Zhouyi AIPU environment construction and simulation practice
- Current sensor circuit inquiry?
- How to quickly design a pulse oximeter? TI offers tips!
- Seek help from testing and packaging partners
- Summary: BearPi-Hongmeng-BearPi-HM Nano Review Summary
- "In-depth understanding of BootLoader", introducing the development theory, process and examples of BootLoader