Solution: When planning the initial system for FPGA design, we need to divide modules and define module interfaces. Usually, we can only design on paper. Although we can write freely on paper, the inconvenience of drawing on paper is that if a module is greatly changed, there is often not enough free paper, so we have to draw it again on a new blank paper.
Question: Can we use software for system planning?
Solution: The answer is yes. The following is an example using ISE 7.1:
1) Draw an empty module and define only the ports - Create a new Schematic, select Tools -> Symbol
Wizard, in which you can define the Symbol name and port properties. After completion, a Symbol in sym format is generated.
2) Add the Symbol to the schematic -
On the Schematic Symbol page, select Categories as the project folder, and you will see the newly created Symbol in the Symbols list. Add it to the schematic.
3) Repeat steps 1-2 to create all symbols and connect ports.
4) If you need to modify the Symbol, you can modify it directly in the sym file - you can right-click -> Add -> Pin, etc. to add it, or you can copy an existing Pin and then change the PinName. However, in ISE7.1, changing the copied PinName will also change the original PinName. The solution is to open the sym file with a TextEditor such as UltraEditor and modify it in it. The sym file format is easy to understand. After changing the Symbol port, you need to Update Schematic. After clicking on the Schematic, the Update dialog box will pop up automatically.
5) Generate the HDL file corresponding to the schematic - Click the sch file in the "Sources in Project" list and select "View HDL Functional Model" in the "Process" window. This will automatically generate the HDL file corresponding to the Schematic, which instantiates the above modules. To change the HDL file type, you can change the "Generated Simulation Language" property in the Project properties.
6) Generate HDL file corresponding to Symbol - When opening a sym file, select Tools -> Generate HDL Template from Symbol. You can choose to generate VHDL or Verilog file.
7) Write the content of each module.
Summary: Although I personally prefer to use HDL for design, it is very convenient to use this schematic method for top-down design in the early stage of design. First, it enhances the maintainability and readability of the design, making modification and dissemination more convenient; second, because it can automatically generate HDL code, it also simplifies the operation of the next step of design.
Advice: Several problems encountered during use, I hope Xilinx can solve them in the future
1) When editing a Symbol, changing the copied PinName will also change the original PinName
2) Symbol Wizard can add a bus, just name the Pin A (4:0)
3) You can only change the color in Pereference, but not the color of a specific connection to distinguish between control lines and data paths
Previous article:Features and Applications of the New Programmable Automation Controller (PAC)
Next article:Implementation Technology of Parallel Variable Length Decoder Based on FPGA
Recommended ReadingLatest update time:2024-11-16 22:41
- Popular Resources
- Popular amplifiers
- Analysis and Implementation of MAC Protocol for Wireless Sensor Networks (by Yang Zhijun, Xie Xianjie, and Ding Hongwei)
- MATLAB and FPGA implementation of wireless communication
- Intelligent computing systems (Chen Yunji, Li Ling, Li Wei, Guo Qi, Du Zidong)
- Summary of non-synthesizable statements in FPGA
- Huawei's Strategic Department Director Gai Gang: The cumulative installed base of open source Euler operating system exceeds 10 million sets
- Analysis of the application of several common contact parts in high-voltage connectors of new energy vehicles
- Wiring harness durability test and contact voltage drop test method
- Sn-doped CuO nanostructure-based ethanol gas sensor for real-time drunk driving detection in vehicles
- Design considerations for automotive battery wiring harness
- Do you know all the various motors commonly used in automotive electronics?
- What are the functions of the Internet of Vehicles? What are the uses and benefits of the Internet of Vehicles?
- Power Inverter - A critical safety system for electric vehicles
- Analysis of the information security mechanism of AUTOSAR, the automotive embedded software framework
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- 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
- 5G high-frequency board material selection and multi-layer board design requirements
- EETALK: What changes has the epidemic brought about in technology?
- "Playing with the board" + Yu Zhennan's STM32 development board experiment 4
- TI engineers explain the new features of Bluetooth 5 and Zigbee 3.0
- Tomorrow is the winter solstice. Do you eat dumplings or glutinous rice balls?
- 【Home smart dashboard】MQTT communication, PC host computer design
- My 2000th post
- Showing goods + NVIDIA AI small board
- Circuit diagram of two-wheeled electric vehicle
- [Domestic RISC-V Linux Board Fang·Starlight VisionFive Trial Report] Python output HELLOWORLD