Data transmission performance optimization hardware implementation and optimization process based on configurable logic

By introducing configurable logic units and optimization processes into the data transmission hardware, the problem of imperfect performance optimization caused by fixed parameters in the existing technology is solved, flexible performance adjustment and data processing capability improvement after tape-out are achieved, and product performance is improved. .

CN118363924BActive Publication Date: 2024-09-24PENG TI STORAGE TECH (NANJING) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410788970.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-19
Publication Date
2024-09-24
Estimated Expiration
2044-06-19

AI Technical Summary

Technical Problem

Existing data transmission performance optimization hardware cannot design all parameters as configurable, resulting in incomplete performance optimization before chip tape-out and unreasonable fixed parameter settings, resulting in poor performance of the final product.

Method used

It adopts hardware implementation of data transmission performance optimization based on configurable logic, including high-speed input interface, multi-channel data cache module, multi-channel bus interface module and multi-channel data processing module. It implements performance optimization parameters through on-chip configurable logic and provides optimization process. Including setting target performance, determining the number and architecture of data processing branches, functional simulation and performance tuning.

Benefits of technology

There are more configurable performance parameters after tape-out, and only a few fixed parameters are retained. All performance parameters are adjustable, which can increase data processing capabilities after tape-out and achieve better performance optimization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118363924B
    Figure CN118363924B
Patent Text Reader

Abstract

The present invention discloses a hardware implementation and optimization process of data transmission performance optimization based on configurable logic, including a high-speed input interface, a multi-channel data cache module, a multi-channel bus interface module, a multi-channel data processing module and a high-speed output interface, and each data branch includes a data cache module, a bus interface module and a data processing module. The hardware implementation can be applied to various storage and communication devices that focus on data transmission performance and data processing, and can improve system performance for different data transmission or processing application scenarios. After the hardware is implemented, the hardware logic can be replaced for new application scenarios, new data processing can be added, or data transmission performance can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data transmission optimization, and in particular to hardware implementation and optimization process of data transmission performance optimization based on configurable logic. Background Art

[0002] In terms of data transmission and processing, hardware implementation needs to optimize performance based on specific application scenarios and taking into account cost factors. It takes a long time to simulate specific application scenarios, debug and simulate actual performance parameters. It takes one to three months after functional verification is completed. Because the time to market is tight, it is often impossible to complete all performance optimizations before chip tape-out. In addition, there will be some new application scenarios that have not been evaluated before the product is launched.

[0003] Based on the above situation, hardware implementations usually retain as many configurable parameters as possible to facilitate performance optimization by modifying parameters after the product is launched. However, the data paths involved in performance optimization are the key paths of the entire chip, and the operating clock frequency of the paths is very high, often hundreds of MHz or several GHz. In most hardware implementations, it is impossible to design all parameters as configurable parameters, and many parameters need to be fixed before tape-out. This often results in incomplete performance optimization before tape-out and unreasonable setting of fixed parameters, resulting in poor performance of the final product. Summary of the invention

[0004] The purpose of this section is to summarize some aspects of embodiments of the present invention and briefly introduce some preferred embodiments. Some simplifications or omissions may be made in this section and the specification abstract and the invention title of this application to avoid blurring the purpose of this section, the specification abstract and the invention title, and such simplifications or omissions cannot be used to limit the scope of the present invention.

[0005] In view of the above-mentioned problems existing in the hardware implementation of the existing data transmission performance optimization, the present invention is proposed.

[0006] Therefore, the technical problem solved by the present invention is: to solve the problem that all parameters in the existing data transmission performance optimization hardware cannot be designed as configurable parameters, resulting in imperfect performance optimization before chip tape-out and unreasonable fixed parameter settings, which leads to poor performance of the final product.

[0007] To solve the above technical problems, the present invention provides the following technical solutions: a hardware implementation of data transmission performance optimization based on configurable logic, the hardware implementation is arranged in a chip, includes a configurable logic unit, and specifically includes the following modules: a high-speed input interface, used to receive data from outside the chip; a multi-way data cache module, a data cache unit arranged inside the chip, used to cache data of corresponding paths; a multi-way bus interface module, a data transmission unit arranged inside the chip, receives data cached by the data cache module, and transmits it to a data processing module of the corresponding path; a multi-way data processing module, a data processing unit arranged inside the chip, data-connected with the data cache module, and transmits processed data to the data cache module of the corresponding path; a high-speed output interface, used to receive processed data of each path and transmit it to the outside through a high-speed interface; and each data branch includes the data cache module, the bus interface module and the data processing module; wherein the multi-way bus interface modules are data-connected to each other and transmit corresponding path data to each other; wherein the hardware implementation includes a data branch that does not participate in the mutual data transmission between the bus interface modules; wherein the high-speed input interface is PCI Express or SATA or Ethernet or USB; wherein the high-speed output interface is PCI Express or Ethernet or NAND or DDR.

[0008] In order to solve the above technical problems, the present invention also provides the following technical solutions: a data transmission performance optimization process based on configurable logic, which is implemented by the above data transmission performance optimization hardware based on configurable logic, and specifically includes the following optimization steps: S1: setting target performance; S2: determining the number of data processing branches and the overall architecture; S3: judging whether the functional simulation is completed, and setting the application scenario when the functional simulation is completed, and re-performing the functional simulation when the functional simulation is not completed, and then continuing to judge until the functional simulation is completed; S4: simulating to determine the performance, and judging whether the performance meets the requirements, and judging whether all applications have completed the simulation when the performance meets the requirements, and adjusting the performance parameters when the performance does not meet the requirements, and then re-simulating to determine the performance until the performance meets the requirements; S5: when all applications have completed the simulation, the overall process ends, and when not all applications have completed the simulation, reset the application scenario and return to step S3 until all applications have completed the simulation and the overall process ends.

[0009] The present invention provides a data transmission performance optimization hardware implementation and optimization process based on configurable logic, adopts on-chip configurable logic to implement performance optimization parameters, and retains high-speed data input and output interfaces.

[0010] The new implementation method can achieve the following functions that cannot be achieved by previous methods:

[0011] 1. After tape-out, there are more configurable performance parameters, and only a few fixed parameters are retained. In some application products, no fixed parameters can be achieved, and all performance parameters can be configured;

[0012] 2. All configurable performance parameters can be adjusted within the parameter setting range after tape-out;

[0013] 3. After tape-out, data processing capabilities can still be increased by adding new data processing units. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor. Among them:

[0015] Figure 1 This is a hardware implementation framework diagram of the data transmission performance optimization system based on configurable logic provided by the present invention.

[0016] Figure 2 A flow chart of a data transmission performance optimization process based on configurable logic provided by the present invention.

[0017] Figure 3 The overall structural diagram of the embodiment provided by the present invention.

[0018] Figure 4 This is an optimized flow chart of an embodiment provided by the present invention.

[0019] Figure 5 A comparison chart of the performance optimization differences between the new and old systems of the embodiment provided by the present invention. DETAILED DESCRIPTION

[0020] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative work should fall within the scope of protection of the present invention.

[0021] In terms of data transmission and processing, hardware implementation needs to optimize performance based on specific application scenarios while taking cost factors into consideration. In hardware implementation, as many configurable parameters as possible are usually retained to facilitate performance optimization by modifying parameters after the product is launched.

[0022] However, the hardware implementation of existing performance optimization solutions has the following disadvantages:

[0023] ① Due to high performance requirements, many performance-related configuration parameters need to be fixed before tape-out. After tape-out, it is often found that some parameter configurations are unreasonable, resulting in poor product performance.

[0024] ② Due to time-to-market requirements, performance optimization cannot be completed in many application scenarios before tape-out and can only be optimized after tape-out. Some fixed parameter settings and the setting range of configurable parameters limit performance optimization in the product stage, making the final product performance not optimal.

[0025] ③ Some new application scenarios that were not previously found in the product phase are discovered, and some fixed parameters are not suitable for the new application scenarios, resulting in poor performance. In addition, some configurable parameters also have a certain setting range. New application scenarios may require values ​​outside the setting range to achieve reasonable performance, and the setting range of configurable parameters must also be fixed before tape-out and cannot be modified in the product phase.

[0026] ④ In the product stage, some new applications require new data processing or the addition of new data paths. These requirements cannot be met by existing solutions and can only be re-stripped.

[0027] In view of the above shortcomings, the present invention provides a new hardware implementation method, which includes configurable logic in the chip, so that new data processing and paths can be provided after tape-out, and more performance-related parameters and a larger setting range can be provided.

[0028] For details, please refer to Figure 1 The present invention provides a hardware implementation of data transmission performance optimization based on configurable logic, and the implemented hardware includes on-chip configurable logic to support new data processing and paths.

[0029] The hardware implementation provided by the present invention includes the following modules:

[0030] 1. High-speed input interface, used to receive data from outside the chip;

[0031] It should be noted that the high-speed input interface refers to a high-speed data input interface used to quickly transmit data between electronic devices, specifically PCI Express or SATA or Ethernet or USB.

[0032] PCI Express interface: This is a high-speed transmission interface commonly used on graphics cards, motherboards and other devices. It can provide up to several gigabytes of bandwidth and is suitable for applications that require large amounts of data transfer.

[0033] SATA interface: SATA (Serial Advanced Technology Attachment) is a high-speed interface standard for connecting storage devices (such as hard drives and optical drives) to the motherboard. The SATA interface uses serial transmission technology, which has higher data transmission speeds and smaller cable volume than the traditional parallel ATA interface. The SATA interface is commonly used to connect hard drives to computer motherboards, supporting transmission speeds from 1.5Gbps (SATA 1.0) to the latest 6Gbps (SATA3.0). The SATA interface also has hot-swap capabilities, allowing devices to be inserted or unplugged without turning off the computer. SATA interfaces also come in different forms, including SATA slots, eSATA external interfaces, and SATA SSDs (solid-state drives). The SATA interface is widely used in various computer systems such as personal computers, servers, network storage devices, and is a common storage device connection standard.

[0034] Ethernet interface: Ethernet is a common local area network (LAN) technology used to transmit data between computers and other network devices. Ethernet uses a set of standardized data transmission protocols and technologies, including data frame formats, physical layer standards, and network layer protocols. Ethernet usually uses network cables (such as twisted pair) to transmit data, and uses CSMA / CD (Carrier Sense Multiple Access with Collision Detection) technology to manage the transmission of data packets. CSMA / CD technology allows multiple devices to share the same network and ensures retransmission when data packets collide. The Ethernet standard defines transmission rates of different speeds, including the most common Ethernet rates such as 10Mbps, 100Mbps, 1Gbps, and 10Gbps. In addition to wired Ethernet, there is also wireless Ethernet (Wi-Fi) for wireless network connections. Ethernet is currently the most common local area network technology and is widely used in various network environments, including homes, enterprises, and data centers. Ethernet provides a convenient and fast way to transmit data for computers and devices, and is an important basic technology in modern network communications.

[0035] USB interface: USB interface is a universal serial bus (USB) interface used to transfer data between computers and personal devices. USB interface devices can be used and charged by plugging into the USB port of a computer. USB interface supports plug and play, which is convenient and fast and widely used in various electronic devices such as keyboards, mice, storage devices, printers, etc. There are different types and speeds of USB interfaces, including standards such as USB Type A, Type C and high-speed USB. USB interface is not only widely used in computer external devices, but also in mobile devices and smart devices. USB interface is a universal interface standard that can connect a variety of devices and support a variety of data transmission methods, such as audio, video, image and file transfer. The development of USB interface technology continues to promote the data transmission speed and compatibility of electronic devices, providing users with a better user experience.

[0036] 2. Multi-channel data cache module, a data cache unit set inside the chip, used to cache the data of the corresponding channel;

[0037] Specifically, a data cache unit (Cache Memory) is a fast memory in computer architecture that is used to reduce the average time required for the processor to access the main memory (RAM). The cache is located between the processor and the main memory, with a relatively small capacity but very fast speed. When the processor needs data, it first looks for the cache unit. If the data is found in the cache (this is called a cache hit), the processor can quickly obtain the data without accessing the slower main memory. If the data is not in the cache, the processor needs to retrieve the data from the main memory and store the data in both the cache and the main memory for subsequent fast access.

[0038] Caches can be divided into several types based on how they are organized and how they work, including:

[0039] Direct-Mapped Cache: Each cache line can only be mapped to a specific location in the main memory. This is the simplest cache mapping method, but it may cause cache conflicts (multiple frequently accessed data blocks are mapped to the same cache line).

[0040] Fully Associative Cache: Cache lines can be mapped to any location in the main memory. This method has the highest flexibility, but the hardware implementation is the most complex and the cost is the highest.

[0041] SetAssociative Cache: This is a compromise between direct mapping and fully associative mapping, which divides the cache into multiple groups, each containing multiple cache lines. Each main memory block can be mapped to any group, but the number of cache lines in each group is limited.

[0042] Data cache units are critical components in modern computer systems. They significantly improve system performance by reducing the time the processor spends waiting for data. Cache management algorithms and cache size are critical in determining the effectiveness of the cache and the overall performance of the computer system.

[0043] In addition, please refer to Figure 1 The high-speed input port and the high-speed output port are evenly connected to the cache components. The corresponding input and output cache modules are essentially the same, but based on different input and output ports, the cache interface data width, clock frequency and internal cache size are different.

[0044] 3. A multi-channel bus interface module, a data transmission unit set inside the chip, receives the data cached by the data cache module and transmits it to the data processing module of the corresponding channel;

[0045] Specifically, the bus interface is a communication interface used to connect various components and devices in a computer system. The bus is a channel for transmitting data and control signals in a computer system, connecting the central processing unit (CPU), memory, input / output devices and other external devices so that they can communicate with each other and share data.

[0046] The bus interface plays an important role in transmitting and scheduling data and can be divided into the following types:

[0047] Data Bus: A bus interface used to transfer data. The data bus is responsible for transferring data between the processor, memory, and other devices.

[0048] Address Bus: A bus interface used to transmit device addresses. The address bus is used to specify a location in memory or an I / O port of a peripheral.

[0049] Control Bus: A bus interface used to transmit control signals. The control bus transmits control signals such as read / write signals, clock signals, interrupt requests, etc.

[0050] Bus interfaces can use different technologies and transmission methods, such as parallel bus and serial bus. Parallel bus transmits multiple bits at a time, which is faster and suitable for short-distance connections. Serial bus transmits bits one by one, which is slower, but suitable for long-distance and high-speed transmission. The design and implementation of bus interface has an important impact on the performance and scalability of computer systems. A properly designed bus interface can improve data transmission efficiency, reduce latency, and support the connection and communication of multiple devices.

[0051] Specifically, multiple bus interface modules are interconnected and transmit corresponding data paths to each other. In the hardware implementation, a data branch may be included that does not participate in the mutual data transmission between bus interface modules. In fact, most systems have a single data path that does not interact with other data paths, but there are also systems where all data paths interact. In the examples listed in the present invention, the interaction between data paths is not mentioned from the perspective of simplification.

[0052] 4. A multi-channel data processing module is a data processing unit set inside the chip, which is data-connected to the data cache module and transmits the processed data to the data cache module of the corresponding channel;

[0053] Specifically, the data processing unit inside the chip mainly includes the central processing unit (CPU), fast cache memory and registers, as well as various types of interfaces, such as interfaces for storage devices (hard disks and flash memory) and input / output devices (such as keyboards and displays). The central processing unit is the core part of the chip, responsible for executing program instructions, performing various mathematical operations and other data processing tasks. The fast cache memory is used to speed up data access, while the registers are used to store intermediate results and temporary data. Storage devices and interfaces are used to store and transmit data, while input / output devices are used to communicate with external devices. In addition, modern chips also contain a graphics processing unit (GPU), which is specifically used to process graphics and video data. Other possible data processing units include a neural network processing unit (NPU), which is optimized for machine learning and artificial intelligence tasks. These data processing units work together to perform various data operations and algorithms on the chip, thereby achieving high performance, low power consumption and high efficiency.

[0054] 5. High-speed output interface, used to receive processed data from each channel and transmit it to the outside through the high-speed interface;

[0055] Specifically: the high-speed output interface is PCI Express or Ethernet or NAND or DDR.

[0056] NAND interface: NAND is a non-volatile memory technology commonly used in flash storage devices (such as flash cards, solid-state drives, etc.) to maintain data in the event of power failure. NAND memory uses the principle of non-random storage and can read and write data in blocks. The working principle of NAND memory is to store data by storing charges between transistors and capacitors. In NAND memory, data is stored in bits, and each block of bits together constitutes a byte. NAND memory is usually composed of a group of multiple storage cells, each group of storage cells is called a page, and a page contains multiple blocks. NAND memory has faster data access speed, smaller physical size and lower power consumption than traditional hard disk drives. Due to these advantages, NAND memory is widely used in scenarios such as portable devices, embedded systems and data centers. In general, NAND memory is a high-speed, low-power and reliable storage technology that provides an important storage solution for modern computer systems.

[0057] DDR interface: DDR is the abbreviation of "Double Data Rate" and is a standard specification of memory modules. DDR memory modules use special technology to perform data transfer twice in one clock cycle, so the data transfer rate is twice that of traditional SDR (Single Data Rate) memory. In different versions of DDR memory, such as DDR2, DDR3 and DDR4, each generation has improved the data transfer rate and performance.

[0058] Here are some key features of DDR memory:

[0059] DDR2 memory: DDR2 memory introduced high-speed differential signaling (High-Speed ​​Differential Signaling) in DDR memory for the first time. Its operating frequency and data transmission rate are higher than DDR memory.

[0060] DDR3 memory: Compared with DDR2 memory, DDR3 memory has higher transmission rate and data throughput, lower power consumption and runs at low voltage. DDR3 memory is commonly used in desktops, servers and notebook computers.

[0061] DDR4 memory: DDR4 memory is the latest DDR standard, providing higher transmission rates and lower power consumption. It is commonly used in high-performance computing, data centers and enterprise-level servers.

[0062] DDR memory is commonly used in computer systems. Its upgrade can significantly improve the system's data reading and writing speed and processing efficiency. When choosing DDR memory, you need to ensure the compatibility of the memory module with the motherboard and processor, and choose the appropriate version and specifications according to actual needs.

[0063] Each data branch includes a data cache module, a bus interface module and a data processing module.

[0064] The entire chip processing flow is as follows: data from outside the chip enters the chip through a high-speed interface and is divided into multiple data branches, each of which processes a part or a type of data. Each data branch contains three basic units: a data cache unit, a bus interface unit, and a data processing unit. Most of these chips also have data exchange between the various data branches.

[0065] In summary: the hardware structure of the present invention includes a configurable logic unit, which includes high-speed data input and output interfaces, all performance configuration parameters (the process of configuring parameters is applied to each data branch), and data processing branches can be added according to product requirements after tape-out.

[0066] Based on the above hardware implementation, the present invention also provides a data transmission performance optimization process based on configurable logic, please refer to Figure 2 , specifically including the following optimization steps:

[0067] S1: Set target performance. For example, in actual operation, you hope to achieve a data transmission bandwidth of 6 GB / s.

[0068] S2: Determine the number of data processing branches and the overall architecture; for example, in actual operation, the target performance is set to 6GB / s, and the performance of each processing branch is 1.6GB / s, then at least 4 data processing branches are required to meet the performance requirements. The number of processing branches is determined, and a data path from the configuration logic is reserved in the following examples. In this way, if the actual product hopes to achieve a bandwidth of 7GB / s after tape-out, then a data branch can be added to the configurable logic.

[0069] For the overall architecture, please refer to Figure 1 , the high-speed data input port is divided into several data processing branches. The bandwidth required by each processing branch is only a fraction of the total bandwidth. It is easy to implement in hardware. Each data branch must include three parts: data cache, data transmission path and data processing. Finally, if the high-speed output interface is single (such as PCIe), then multiple data branches converge to the output interface. If the high-speed interface is multi-channel (such as flash memory channel), the data branches reach their respective data output channels one-to-one or one-to-many.

[0070] S3: judging whether the functional simulation is finished, and setting the application scenario when the functional simulation is finished, and re-performing the functional simulation when the functional simulation is not finished, and then continuing to judge until the functional simulation is finished;

[0071] Chip design is currently implemented in hardware language, and simulation is used to simulate the actual hardware after tape-out. Functional simulation is to verify whether the functions that the chip needs to implement are correct. Functional simulation is to run simulation software on the server, and the verification personnel write test stimuli to simulate the real product application scenario to see whether the data output meets expectations. It is a regular process in chip implementation. Only when the function is correct can we consider evaluating whether the chip performance meets expectations.

[0072] Specifically, functional simulation is a verification method in the digital circuit design process, which is used to confirm whether the circuit or system works correctly according to the predetermined specifications and design intent. The main purpose of functional simulation is to verify the functional correctness of the design and ensure that the logical operation of the circuit meets expectations. Functional simulation is usually performed in the following stages:

[0073] Design stage: In the early stages of circuit design, functional simulation is used to verify the correctness of design concepts and logic and help designers discover potential errors.

[0074] Synthesis stage: After the circuit design is synthesized into a gate-level netlist, functional simulation can check whether the synthesis results are consistent with the original high-level description.

[0075] Placement and Route phase: After the circuit layout and routing are completed, functional simulation can verify whether the physical implementation of the circuit affects its functional performance.

[0076] Key features of functional simulation include:

[0077] Logic Verification: Verify that the logical operation of the circuit is correct, regardless of the specific implementation details (such as timing, power consumption, etc.).

[0078] Behavioral level simulation: In functional simulation, the internal timing of the circuit and the glitches of the signal are usually not considered, and only the overall behavior of the circuit is focused on.

[0079] Reusability: Functional simulation can use reusable simulation libraries and test benches to improve verification efficiency.

[0080] Coverage: During functional simulation, different coverage indicators are usually focused on, such as logic coverage, functional coverage, etc., to ensure the comprehensiveness of verification.

[0081] Functional simulation tools and supported languages ​​include:

[0082] Simulation tools: such as ModelSim, Vimicro Simulator, Icarus Verilog, etc.

[0083] Programming language: Hardware description languages ​​(HDLs), such as Verilog and VHDL, are usually used to write simulation test code.

[0084] Functional simulation plays a vital role in the digital circuit design and verification process, helping to improve the reliability and stability of the circuit and reduce the cost of later repairs.

[0085] It should be noted that the application scenario refers to the actual application of the product using the chip. For example, an image acquisition chip, one of its application scenarios is to collect external images and compress the images according to the specified video compression standard and save them. The acquisition system using this chip can use different collectors, the received image formats are different, and the final customer-specified compression standards are also different. In addition, sometimes it is hoped that the image will be displayed in real time while being collected. At this time, the image must be compressed and the received image must be sent to the display chip.

[0086] Corresponding to the following examples, some application scenarios of products using this chip focus on the real-time nature of data storage, some focus on data reliability, and some focus on data confidentiality. Corresponding to different application scenarios, not only different firmware needs to be provided, but also different parameters need to be configured.

[0087] S4: Simulate to determine the performance, and determine whether the performance meets the requirements. If the performance meets the requirements, determine whether all applications have completed the simulation. If the performance does not meet the requirements, adjust the performance parameters, and then re-simulate to determine the performance until the performance meets the requirements.

[0088] For example, in the simulation, a certain amount of data, such as 100MB, is input to the hardware. The time from the input of the data to the completion of the data writing to the external TLC NAND is recorded as T, and 100MB / T is the bandwidth of the actual hardware.

[0089] After obtaining the simulated bandwidth number, assuming that the target performance is 6 GB / s, if the simulated performance is lower than this value, it is necessary to optimize the performance to achieve the set target.

[0090] S5: When all applications have completed the simulation, the overall process ends. When not all applications have completed the simulation, the application scenario is reset and the process returns to step S3 until all applications have completed the simulation and the overall process ends.

[0091] Assume that there are 20 application scenarios. When all 20 application scenarios are completed and the parameters are adjusted to meet the target performance, the performance optimization is considered complete.

[0092] In order to verify the real-time solution of the present invention, a specific real-time example is used as an illustration below:

[0093] The SSD hard disk in this embodiment uses PCIE Gen4 as a high-speed data transmission interface and TLC NAND flash memory as a storage space medium. The overall structure of the present invention in this embodiment is as follows: Figure 3 shown.

[0094] In this example, high-speed data is divided into five data paths through the AXI Matrix, one of which enters the data cache module in the configurable logic and connects to the multi-channel flash interface through the cache module. If new applications need to improve performance after tape-out, data processing can be added to this path. The other four data paths enter the multi-bank data cache pool after data encoding, and then through data decoding, the data cache reaches each channel flash interface and is written to the TLC NAND.

[0095] There are two major performance-related modules. One is the AXI matrix. In addition to the configuration parameters, the FIFO depth of each internal AXI channel also affects the performance. This part of the logic is placed inside the configurable logic. The other is the multi-bank data cache pool. In addition to the parameters, the actual internal SRAM size and quantity also affect the performance. In this example, part of the SRAM is placed in the configurable logic, and the size and quantity of the SRAM can be increased later according to performance requirements.

[0096] In addition, the configuration parameters of other data paths will also be placed in the configurable logic to facilitate adjustment of the parameter setting range.

[0097] The specific performance optimization process of this embodiment is as follows: Figure 4 As shown:

[0098] The present invention proposes a method for optimizing data transmission performance based on configurable logic hardware. The hardware implementation can be applied to various storage and communication devices that focus on data transmission performance and data processing, and can improve system performance for different data transmission or processing application scenarios. After the hardware is implemented, the hardware logic can be replaced for new application scenarios, new data processing can be added, or data transmission performance can be improved.

[0099] In order to verify the technical effect of the present invention, a transmission simulation is performed. As the running time goes by, the transmission performance comparison chart is shown in Figure 5 It can be clearly seen from the figure that compared with the traditional system, the new system has better results under the same conditions.

[0100] The present invention provides a data transmission performance optimization hardware implementation and optimization process based on configurable logic, adopts on-chip configurable logic to implement performance optimization parameters, and retains high-speed data input and output interfaces.

[0101] The new implementation method can achieve the following functions that cannot be achieved by previous methods:

[0102] 1. After tape-out, there are more configurable performance parameters, and only a few fixed parameters are retained. In some application products, no fixed parameters can be achieved, and all performance parameters can be configured;

[0103] 2. All configurable performance parameters can be adjusted within the parameter setting range after tape-out;

[0104] 3. After tape-out, data processing capabilities can still be increased by adding new data processing units.

[0105] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.

Claims

1. Hardware implementation of data transmission performance optimization based on configurable logic, characterized in that: The hardware implementation is set in the chip, including a configurable logic unit, which specifically includes the following modules: High-speed input interface for receiving data from outside the chip; A multi-channel data cache module is a data cache unit set inside the chip, used to cache the data of the corresponding channel; The multi-channel bus interface module is a data transmission unit arranged inside the chip, which receives the data cached by the data cache module and transmits it to the data processing module of the corresponding channel; A multi-channel data processing module is a data processing unit disposed inside the chip, which is data-connected to the data cache module and transmits processed data to the data cache module of the corresponding channel; High-speed output interface, used to receive processed data from each channel and transmit it to the outside through the high-speed interface; Each data branch includes the data cache module, the bus interface module and the data processing module; Wherein, the bus interface modules of multiple channels are data-connected to each other and transmit corresponding channels of data to each other; Wherein, the hardware implementation includes a data branch that does not participate in the mutual data transmission between the bus interface modules; Wherein, the high-speed input interface is PCI Express or SATA or Ethernet or USB; Wherein, the high-speed output interface is PCI Express or Ethernet or NAND or DDR.

2. The data transmission performance optimization process based on configurable logic is implemented by the data transmission performance optimization hardware based on configurable logic as claimed in claim 1, characterized in that: The specific optimization steps include the following: S1: Setting target performance; S2: Determine the number of data processing branches and the overall architecture; S3: judging whether the functional simulation is finished, and setting the application scenario when the functional simulation is finished, and re-performing the functional simulation when the functional simulation is not finished, and then continuing to judge until the functional simulation is finished; S4: Simulate to determine the performance, and determine whether the performance meets the requirements. If the performance meets the requirements, determine whether all applications have completed the simulation. If the performance does not meet the requirements, adjust the performance parameters, and then re-simulate to determine the performance until the performance meets the requirements. S5: When all applications have completed the simulation, the overall process ends. When not all applications have completed the simulation, the application scenario is reset and the process returns to step S3 until all applications have completed the simulation and the overall process ends.