CN115563773A - Interface signal adjusting method, device, equipment and storage medium - Google Patents

Interface signal adjusting method, device, equipment and storage medium Download PDF

Info

Publication number
CN115563773A
CN115563773A CN202211216611.0A CN202211216611A CN115563773A CN 115563773 A CN115563773 A CN 115563773A CN 202211216611 A CN202211216611 A CN 202211216611A CN 115563773 A CN115563773 A CN 115563773A
Authority
CN
China
Prior art keywords
eye pattern
parameters
simulated
optimal
interface signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211216611.0A
Other languages
Chinese (zh)
Inventor
王福彪
刘毅
徐会
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhongke Controllable Information Industry Co Ltd
Original Assignee
Zhongke Controllable Information Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhongke Controllable Information Industry Co Ltd filed Critical Zhongke Controllable Information Industry Co Ltd
Priority to CN202211216611.0A priority Critical patent/CN115563773A/en
Publication of CN115563773A publication Critical patent/CN115563773A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Dc Digital Transmission (AREA)

Abstract

The invention discloses an adjusting method, a device, equipment and a storage medium of an interface signal, wherein the method comprises the following steps: acquiring an actual measurement eye pattern under the interface signal test condition; extracting parameters of the actually measured eye pattern; simulating the actual measurement eye pattern based on the parameters of the actual measurement eye pattern to obtain a simulated eye pattern; and adjusting the parameters of the simulated eye pattern to obtain an optimal eye pattern, and storing the parameters of the optimal eye pattern to adjust the interface signal. According to the technical scheme provided by the embodiment of the invention, parameter adjustment can be realized for the chip to be measured without a corresponding parameter adjusting tool, so that the adjustment of the interface signal is realized, the time can be saved, and the efficiency can be improved.

Description

Interface signal adjusting method, device, equipment and storage medium
Technical Field
The present invention relates to the field of hardware technologies, and in particular, to a method, an apparatus, a device, and a storage medium for adjusting an interface signal.
Background
In the related art, in the integrity test verification of high-speed signals and bus signals, the consistency test is a general test mode, that is, a unified standard test is used, after a test fixture (a device for connecting an oscilloscope and accessing signals into the oscilloscope) and a cable are connected to the oscilloscope, analysis and test are performed on received signals, and the general mode is to perform an eye diagram and jitter analysis test. For example, the testing of interface signals, has also introduced the concept of conformance testing for evaluating the signal quality of device interfaces. The chip to be tested sends a standard test pattern, usually a corresponding test tool directly sends the test pattern, and the test can also be realized by modifying the register value, but the chips to be tested of different manufacturers have different register modifying modes.
At present, general-purpose output test pattern related software exists for a general-purpose interface, an inherent test mode is basically formed for the aspect of testing, and some test method improvements are made by continuously optimizing a test fixture and the output mode of a test pattern. For a chip to be tested without a corresponding software tool Output code pattern, testing is somewhat complicated and needs to be achieved by writing a command into a register value, when an actual measurement eye pattern has a problem, the value of the register needs to be continuously tried to be adjusted, then a Basic Input Output System (BIOS) is updated, and testing and verification are completed.
Under the condition that actual measurement eye pattern has a problem, if to the chip that awaits measuring that has corresponding adjustment parameter instrument, can directly adjust through this instrument, if to the chip that awaits measuring that does not have corresponding adjustment parameter instrument, then can't realize the adjustment to the parameter to the adjustment of the interface signal of chip that awaits measuring can't be realized, still need consume corresponding time to solve this problem.
Disclosure of Invention
The embodiment of the invention provides an interface signal adjusting method, device, equipment and storage medium, aiming at a chip to be tested without a corresponding parameter adjusting tool, parameter adjustment can be realized, so that the interface signal can be adjusted, the time can be saved, and the efficiency can be improved.
In a first aspect, an embodiment of the present invention provides a method for adjusting an interface signal, including:
acquiring an actual measurement eye pattern under the interface signal test condition;
extracting parameters of the actually measured eye pattern;
simulating the actual measurement eye pattern based on the parameters of the actual measurement eye pattern to obtain a simulated eye pattern;
and adjusting the parameters of the simulated eye pattern to obtain an optimal eye pattern, and storing the parameters of the optimal eye pattern to adjust the interface signal.
Optionally, the simulating the measured eye pattern based on the parameter of the measured eye pattern to obtain a simulated eye pattern includes:
presenting a simulated eye pattern in Excel by software simulation based on parameters of the measured eye pattern.
According to the technical scheme, the actual measurement eye pattern is displayed in Excel through software simulation to obtain the simulated eye pattern, and the editing and parameter adjustment of the eye pattern parameters can be realized.
Optionally, the adjusting the parameters of the simulated eye pattern to obtain an optimal eye pattern includes:
displaying an input frame of register value adjustment corresponding to the parameter;
acquiring a register value input in the input frame, and determining an adjustment parameter of the simulated eye pattern based on the input register value;
and obtaining an optimal eye pattern based on the adjusting parameters.
According to the technical scheme, the parameters of the actually measured eye pattern are simulated in Excel through software to present the simulated eye pattern, the input frame of register value adjustment corresponding to the parameters is displayed, the corresponding adjustment parameters are determined by obtaining the register values input in the input frame, the optimal eye pattern is obtained based on the adjustment parameters, the simulated eye pattern can be edited, the parameters can be adjusted, the eye pattern change can be observed in real time, and time can be saved.
Optionally, the adjusting the parameters of the simulated eye pattern to obtain an optimal eye pattern includes:
if the register value corresponding to the parameter of the simulated eye pattern is not in the reference range, determining the adjustment parameter of the simulated eye pattern based on the reference range;
and obtaining an optimal eye pattern based on the adjusting parameters.
According to the technical scheme, the register value corresponding to the parameter of the simulated eye pattern is judged not to be in the reference range, the adjustment parameter of the simulated eye pattern is determined based on the reference range, the optimal eye pattern is obtained based on the adjustment parameter, the simulated eye pattern can be edited, the parameter can be adjusted, and time can be saved.
Optionally, the storing the parameter of the optimal eye diagram to adjust the interface signal includes:
and writing the register value corresponding to the parameter of the optimal eye pattern into a register, and updating the register value to a Basic Input Output System (BIOS) so as to adjust the interface signal.
According to the technical scheme, the register value corresponding to the parameter of the optimal eye pattern is written into the register, and the register value is updated to the BIOS, so that the validity of the parameter can be guaranteed.
Optionally, after storing the parameters of the optimal eye diagram, the method further includes:
obtaining the actual measurement eye pattern under the interface test condition again;
and verifying the obtained measured eye pattern again.
According to the technical scheme, the correctness of parameter adjustment can be judged by verifying the obtained actual measurement eye pattern again.
Optionally, the interface includes a USB interface.
According to the technical scheme, the parameters can be adjusted more simply and efficiently by limiting the USB interface to be the USB interface.
In a second aspect, an embodiment of the present invention provides an apparatus for adjusting an interface signal, including:
the acquisition module is used for acquiring an actual measurement eye pattern under the condition of interface signal testing;
the extraction module is used for extracting the parameters of the actually measured eye pattern;
the simulation module is used for simulating the actual measurement eye pattern based on the parameters of the actual measurement eye pattern to obtain a simulated eye pattern;
and the adjusting module is used for adjusting the parameters of the simulated eye pattern to obtain an optimal eye pattern and storing the parameters of the optimal eye pattern to adjust the interface signal.
In a third aspect, an embodiment of the present invention provides an electronic device, where the electronic device includes:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform the method provided by the embodiments of the present invention.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where computer instructions are stored, and the computer instructions are configured to, when executed, cause a processor to implement a method provided by an embodiment of the present invention.
According to the technical scheme of the embodiment of the invention, the parameters of the actual measurement eye pattern under the interface signal test condition are extracted, the actual measurement eye pattern is simulated based on the parameters to obtain the simulated eye pattern, the simulated eye pattern is adjusted to obtain the optimal eye pattern, the parameters of the optimal eye pattern are stored to adjust the interface signal, and the adjustment of the actual measurement eye pattern parameters corresponding to the interface signal can be realized aiming at the chip to be measured without a parameter adjusting tool, so that the adjustment of the interface signal is realized, the time can be saved, and the efficiency is improved.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present invention, nor do they necessarily limit the scope of the invention. Other features of the present invention will become apparent from the following description.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1a is a flowchart of an interface signal adjusting method according to an embodiment of the present invention;
FIG. 1b is a schematic diagram illustrating a connection between a chip to be tested and an oscilloscope according to an embodiment of the present invention;
FIG. 1c is a schematic diagram of a connection between a chip to be tested and an oscilloscope according to an embodiment of the present invention;
FIG. 1d is a simulated eye diagram with Swing at 0;
FIG. 1e is a simulated eye diagram with swing adjusted to 9;
fig. 2 is a flowchart of an interface signal adjusting method according to an embodiment of the present invention;
fig. 3 is a flowchart of an interface signal adjusting method according to an embodiment of the present invention;
fig. 4 is a block diagram of an adjusting apparatus for interface signals according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Fig. 1a is a flowchart of an interface signal adjusting method according to an embodiment of the present invention, where the method may be performed by an interface signal adjusting apparatus, the apparatus may be implemented by software and/or hardware, the apparatus may be configured in an electronic device such as a terminal, a computer, and the like, and the method may be applied to a case where an interface signal of a chip is adjusted for a chip without a parameter adjusting tool.
As shown in fig. 1a, the technical solution provided by the embodiment of the present invention includes:
s110: and acquiring a measured eye pattern under the interface signal test condition.
In the embodiment of the present invention, as shown in fig. 1b, the interface of the chip to be tested is connected to an oscilloscope (or connected to the oscilloscope through a test fixture, for example, as shown in fig. 1 c), and the test pattern is sent through the chip to be tested, so that the oscilloscope can display the actual measurement eye pattern of the interface signal. The interface may be a USB interface, or may also be another interface. Optionally, the measured eye pattern in the oscilloscope may be obtained, so as to extract parameters of the measured eye pattern.
S120: and extracting parameters of the measured eye pattern.
In the embodiment of the present invention, the parameters of the measured eye pattern include parameters such as height, width, and jitter of the eye pattern, where the parameters of the measured eye pattern may be extracted from a report of the measured eye pattern, or the parameters of the measured eye pattern may be obtained according to the measured eye pattern.
S130: and simulating the actual measurement eye pattern based on the parameters of the actual measurement eye pattern to obtain a simulated eye pattern.
In the embodiment of the invention, the actual measurement eye pattern is simulated by a software programming mode based on the parameters of the actual measurement eye pattern to obtain a simulated eye pattern, and the simulated eye pattern is displayed. Optionally, the measured eye pattern may be displayed in Excel by a software programming method, specifically, a simulation software tool may be embedded in Excel, and simulation of the measured eye pattern is realized by the tool and displayed in Excel, or may also be displayed in other tools.
S140: and adjusting the parameters of the simulated eye pattern to obtain an optimal eye pattern, and storing the parameters of the optimal eye pattern to adjust the interface signal.
In the embodiment of the present invention, optionally, whether the parameters of the simulated eye pattern meet the requirements may be determined by simulation software, and if not, the parameters of the simulated eye pattern are automatically adjusted to obtain the optimal eye pattern. Or, optionally, an input box for adjusting the parameters may be displayed, and a user may input a register value corresponding to the parameter in the input box, obtain the optimal eye diagram by obtaining the input register value, and store the parameter of the optimal eye diagram.
For example, if the interface signal is a USB signal, the parameter adjustment may include two parameters of Swing and emophasis, where the range of Swing is 0x0-0xF and has 16 values, and emophasis includes 0-4 and has 5 parameters, and the values of Swing and emophasis are adjusted according to the standard eye pattern waveform, so that the measured eye pattern of the signal meets the test requirement. For example, fig. 1d is a simulated eye diagram with Swing being 0, fig. 1e is a simulated eye diagram with Swing being adjusted to 9, and the register value corresponding to Swing can be updated to BIOS and verified by comparing and observing the change of the simulated eye diagram, so as to ensure the validity of the parameter.
In this embodiment of the present invention, optionally, the storing the parameter of the optimal eye diagram to adjust the interface signal includes: and writing the register value corresponding to the parameter of the optimal eye pattern into a register, and updating the register value to a Basic Input Output System (BIOS) so as to adjust the interface signal.
In the embodiment of the invention, the register value corresponding to the parameter of the optimal eye pattern is written into the register, so that the parameter can be cached, under the condition that the electronic equipment is not shut down, the adjustment of the interface signal can be realized through the register value stored in the register, the register value is updated into the BIOS, and under the condition that the electronic equipment is shut down and restarted, the adjustment of the interface signal is realized, so that the interface protocol is adjusted, and the performance of the interface is adjusted.
In this embodiment of the present invention, optionally, after S140, the method may further include: obtaining the actual measurement eye pattern under the interface test condition again; and verifying the obtained measured eye pattern again. Specifically, the chip to be tested sends the test code pattern again, the oscilloscope shows the actual measurement eye pattern under the interface test condition again, and whether the parameters of the actual measurement eye pattern meet the requirements or not is judged, so that the adjusted parameters are verified, and the effectiveness of the parameters is improved.
According to the technical scheme of the embodiment of the invention, the parameters of the actual measurement eye pattern under the interface signal test condition are extracted, the actual measurement eye pattern is simulated based on the parameters to obtain the simulated eye pattern, the simulated eye pattern is adjusted to obtain the optimal eye pattern, the parameters of the optimal eye pattern are stored to adjust the interface signal, and the adjustment of the actual measurement eye pattern parameters corresponding to the interface signal can be realized aiming at the chip to be tested without a parameter adjusting tool, so that the adjustment of the interface signal is realized, the time is saved, and the efficiency is improved.
Fig. 2 is a flowchart of an adjusting method of an interface signal according to an embodiment of the present invention, where in this embodiment, optionally, the simulating the actual measurement eye diagram based on the parameter of the actual measurement eye diagram to obtain a simulated eye diagram includes:
presenting a simulated eye pattern in Excel by software simulation based on parameters of the measured eye pattern.
Correspondingly, optionally, the adjusting the parameters of the simulated eye diagram to obtain the optimal eye diagram includes:
displaying an input frame for adjusting the register value corresponding to the parameter;
acquiring a register value input in the input box, and determining an adjustment parameter of the simulated eye diagram based on the input register value;
and obtaining an optimal eye pattern based on the adjusting parameters.
Accordingly, optionally, the storing the parameters of the optimal eye diagram to adjust the interface signal includes:
and writing the register value corresponding to the parameter of the optimal eye pattern into a register, and updating the register value to a Basic Input Output System (BIOS) so as to adjust the interface signal.
Optionally, the method may further include:
acquiring the actual measurement eye pattern under the interface test condition again;
and verifying the obtained measured eye pattern again.
As shown in fig. 2, the technical solution provided by the embodiment of the present invention includes:
s210: and acquiring a measured eye pattern under the interface signal test condition.
S220: and extracting parameters of the actually measured eye pattern.
S230: presenting a simulated eye pattern in Excel by software simulation based on parameters of the measured eye pattern.
In the embodiment of the invention, simulation software can be used as an embedded tool of Excel, and the measured eye pattern is simulated by the tool based on the parameters of the measured eye pattern to obtain a simulated eye pattern which is presented in Excel.
S240: and displaying the input frame of register value adjustment corresponding to the parameter.
In the embodiment of the invention, the input frame for adjusting the register value corresponding to the parameter can be displayed in Excel, and the user inputs the register value in the input frame according to the reference range of the register value, thereby achieving the purpose of parameter adjustment. The specific form of the input box is not limited.
S250: and acquiring the register value input in the input box, and determining the adjustment parameter of the simulated eye diagram based on the input register value.
In the embodiment of the invention, a user can input register values in the input box, the adjustment parameters of the corresponding simulated eye pattern can be determined through the acquired register values, the corresponding simulated eye pattern can be obtained through the adjustment parameters, the user can input the register values for multiple times, so that a plurality of corresponding simulated eye patterns can be obtained, and the user can view the change of the simulated eye pattern.
S260: and obtaining an optimal eye pattern based on the adjusting parameters.
In the embodiment of the invention, a user can input the numerical value in the register value reference range in the input box, so that the adjustment parameter can be determined, and the optimal eye diagram can be obtained based on the adjustment parameter.
S270: and writing the register value corresponding to the parameter of the optimal eye pattern into a register, and updating the register value to a Basic Input Output System (BIOS) so as to adjust the interface signal.
S280: and acquiring the actual measurement eye pattern under the interface test condition again.
S290: and verifying the obtained measured eye pattern again.
The descriptions of S280-S290 may refer to the above embodiments, and are not repeated.
Therefore, the parameters of the actually measured eye pattern are simulated in Excel through software to present the simulated eye pattern, an input frame for adjusting the register value corresponding to the parameters is displayed, the corresponding adjusting parameters are determined by obtaining the register value input in the input frame, the optimal eye pattern is obtained based on the adjusting parameters, the register value corresponding to the parameters of the optimal eye pattern is stored and updated to the BIOS, editing of the simulated eye pattern and adjustment of the parameters can be achieved in Excel, eye pattern change can be observed in real time, and time can be saved.
Fig. 3 is a flowchart of an interface signal adjustment method provided in an embodiment of the present invention, where in this embodiment, optionally, the simulating the actual measurement eye pattern based on the parameters of the actual measurement eye pattern to obtain a simulated eye pattern includes:
presenting a simulated eye pattern in Excel by software simulation based on parameters of the measured eye pattern.
Correspondingly, optionally, the adjusting the parameters of the simulated eye diagram to obtain the optimal eye diagram includes:
if the register value corresponding to the parameter of the simulated eye pattern is not in the reference range, determining an adjustment parameter of the simulated eye pattern based on the reference range;
and obtaining an optimal eye pattern based on the adjusting parameters.
Optionally, the storing the parameters of the optimal eye pattern to adjust the interface signal includes:
and writing the register value corresponding to the parameter of the optimal eye pattern into a register, and updating the register value to a Basic Input Output System (BIOS) so as to adjust the interface signal.
Optionally, after storing the parameters of the optimal eye diagram, the method further includes:
acquiring the actual measurement eye pattern under the interface test condition again;
and verifying the obtained measured eye pattern again.
As shown in fig. 3, the technical solution provided by the embodiment of the present invention includes:
s310: acquiring an actual measurement eye pattern under the interface signal test condition;
s320: extracting parameters of the actually measured eye pattern;
s330: presenting a simulated eye pattern in Excel by software simulation based on parameters of the measured eye pattern.
S340: and if the register value corresponding to the parameter of the simulated eye pattern is not in the reference range, determining the adjustment parameter of the simulated eye pattern based on the reference range.
In the embodiment of the invention, whether the register value corresponding to the parameter of the simulated eye pattern is in the reference range or not can be judged through a software simulation tool embedded in Excel, if not, the register value is in the reference range, and the adjustment parameter of the corresponding simulated eye pattern is determined based on the selected register value. The adjusting parameters include parameters such as height, width and jitter of the eye pattern.
S350: and obtaining an optimal eye pattern based on the adjusting parameters.
In the embodiment of the invention, the simulated eye pattern is adjusted through a software simulation tool based on the adjustment parameters to obtain the optimal eye pattern.
S360: and writing the register value corresponding to the parameter of the optimal eye pattern into a register, and updating the register value to a Basic Input Output System (BIOS) so as to adjust the interface signal.
S370: obtaining the actual measurement eye pattern under the interface test condition again;
s380: and verifying the obtained measured eye pattern again.
Therefore, the parameters of the actual measurement eye pattern are simulated in Excel through software to present the simulated eye pattern, the register value corresponding to the parameters of the simulated eye pattern is judged not to be in the reference range, the adjustment parameters of the simulated eye pattern are determined based on the reference range, the optimal eye pattern is obtained based on the adjustment parameters, the register value corresponding to the parameters of the optimal eye pattern is stored and updated to BIOS, editing of the simulated eye pattern and adjustment of the parameters can be achieved, and time can be saved.
Fig. 4 is a block diagram of an apparatus for adjusting an interface signal according to an embodiment of the present invention, and as shown in fig. 4, the apparatus includes an obtaining module 410, an extracting module 420, a simulating module 430, and an adjusting module 440.
An obtaining module 410, configured to obtain an actual measurement eye pattern under the interface signal test condition;
an extracting module 420, configured to extract parameters of the measured eye pattern;
the simulation module 430 is configured to simulate the actual measurement eye pattern based on the parameters of the actual measurement eye pattern to obtain a simulated eye pattern;
and an adjusting module 440, configured to adjust the parameters of the simulated eye pattern to obtain an optimal eye pattern, and store the parameters of the optimal eye pattern to adjust the interface signal.
Optionally, the simulating the measured eye pattern based on the parameter of the measured eye pattern to obtain a simulated eye pattern includes:
presenting a simulated eye pattern in Excel by software simulation based on parameters of the measured eye pattern.
Optionally, the adjusting the parameters of the simulated eye pattern to obtain an optimal eye pattern includes:
displaying an input frame for adjusting the register value corresponding to the parameter;
acquiring a register value input in the input frame, and determining an adjustment parameter of the simulated eye pattern based on the input register value;
and obtaining an optimal eye pattern based on the adjusting parameters.
Optionally, the adjusting the parameters of the simulated eye pattern to obtain an optimal eye pattern includes:
if the register value corresponding to the parameter of the simulated eye pattern is not in the reference range, determining an adjustment parameter of the simulated eye pattern based on the reference range;
and obtaining an optimal eye pattern based on the adjusting parameters.
Optionally, the storing the parameter of the optimal eye diagram to adjust the interface signal includes:
and writing the register value corresponding to the parameter of the optimal eye pattern into a register, and updating the register value to a Basic Input Output System (BIOS) so as to adjust the interface signal.
Optionally, the device further includes a verification module, configured to obtain the measured eye pattern again under the interface test condition after storing the parameters of the optimal eye pattern;
and verifying the obtained measured eye pattern again.
Optionally, the interface includes a USB interface.
The device provided by the embodiment of the invention can execute the method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
FIG. 5 illustrates a block diagram of an electronic device 10 that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 5, the electronic device 10 includes at least one processor 11, and a memory communicatively connected to the at least one processor 11, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, and the like, wherein the memory stores a computer program executable by the at least one processor, and the processor 11 can perform various suitable actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from a storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data necessary for the operation of the electronic apparatus 10 may also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to the bus 14.
A number of components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, or the like; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, or the like. The processor 11 performs the various methods and processes described above, such as the adjustment method of the interface signal.
In some embodiments, the method of adjusting the interface signal may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the above described method of adapting the interface signal may be performed. Alternatively, in other embodiments, the processor 11 may be configured by any other suitable means (e.g. by means of firmware) to perform the method of adjustment of the interface signal.
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be performed. A computer program can execute entirely on a machine, partly on a machine, as a stand-alone software package partly on a machine and partly on a remote machine or entirely on a remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the Internet.
The computing system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service are overcome.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present invention may be executed in parallel, sequentially, or in different orders, and are not limited herein as long as the desired results of the technical solution of the present invention can be achieved.
The above-described embodiments should not be construed as limiting the scope of the invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method for adjusting an interface signal, comprising:
acquiring an actual measurement eye pattern under the interface signal test condition;
extracting parameters of the actually measured eye pattern;
simulating the actual measurement eye pattern based on the parameters of the actual measurement eye pattern to obtain a simulated eye pattern;
and adjusting the parameters of the simulated eye pattern to obtain an optimal eye pattern, and storing the parameters of the optimal eye pattern to adjust the interface signal.
2. The method of claim 1, wherein simulating the measured eye pattern based on the parameters of the measured eye pattern to obtain a simulated eye pattern comprises:
presenting a simulated eye pattern in Excel by software simulation based on parameters of the measured eye pattern.
3. The method of claim 2, wherein the adjusting the parameters of the simulated eye pattern to obtain an optimal eye pattern comprises:
displaying an input frame of register value adjustment corresponding to the parameter;
acquiring a register value input in the input box, and determining an adjustment parameter of the simulated eye pattern based on the input register value;
and obtaining an optimal eye pattern based on the adjusting parameters.
4. The method of claim 2, wherein the adjusting the parameters of the simulated eye pattern to obtain an optimal eye pattern comprises:
if the register value corresponding to the parameter of the simulated eye pattern is not in the reference range, determining an adjustment parameter of the simulated eye pattern based on the reference range;
and obtaining an optimal eye pattern based on the adjusting parameters.
5. The method of claim 3 or 4, the storing of the parameters of the optimal eye diagram to adjust the interface signal, comprising:
and writing the register value corresponding to the parameter of the optimal eye pattern into a register, and updating the register value to a Basic Input Output System (BIOS) so as to adjust the interface signal.
6. The method of claim 1, further comprising, after storing the parameters of the optimal eye diagram:
obtaining the actual measurement eye pattern under the interface test condition again;
and verifying the obtained measured eye pattern again.
7. The method of claim 1, wherein the interface comprises a USB interface.
8. An apparatus for adjusting an interface signal, comprising:
the acquisition module is used for acquiring an actual measurement eye pattern under the interface signal test condition;
the extraction module is used for extracting the parameters of the actually measured eye pattern;
the simulation module is used for simulating the actual measurement eye pattern based on the parameters of the actual measurement eye pattern to obtain a simulated eye pattern;
and the adjusting module is used for adjusting the parameters of the simulated eye pattern to obtain an optimal eye pattern and storing the parameters of the optimal eye pattern to adjust the interface signal.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the first and the second end of the pipe are connected with each other,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-7.
10. A computer-readable storage medium storing computer instructions for causing a processor to perform the method of any one of claims 1-7 when executed.
CN202211216611.0A 2022-09-30 2022-09-30 Interface signal adjusting method, device, equipment and storage medium Pending CN115563773A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211216611.0A CN115563773A (en) 2022-09-30 2022-09-30 Interface signal adjusting method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211216611.0A CN115563773A (en) 2022-09-30 2022-09-30 Interface signal adjusting method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115563773A true CN115563773A (en) 2023-01-03

Family

ID=84745090

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211216611.0A Pending CN115563773A (en) 2022-09-30 2022-09-30 Interface signal adjusting method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115563773A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117312086A (en) * 2023-10-10 2023-12-29 上海合芯数字科技有限公司 Method, device, equipment and medium for adjusting USB interface of server

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117312086A (en) * 2023-10-10 2023-12-29 上海合芯数字科技有限公司 Method, device, equipment and medium for adjusting USB interface of server

Similar Documents

Publication Publication Date Title
CN111475355B (en) High-speed link signal integrity evaluation method, system, terminal and storage medium
US20230388209A1 (en) Pcie signal bandwidth determining method, apparatus and device
CN111400154A (en) Performance test method and related device for solid state disk
CN113568821A (en) Method, device, equipment and medium for testing computation performance of AI chip
CN115563773A (en) Interface signal adjusting method, device, equipment and storage medium
CN115598505A (en) Chip detection method, device, equipment and storage medium
CN115358203A (en) Test report method, test report device, electronic equipment and storage medium
CN115328736A (en) Probe deployment method, device, equipment and storage medium
CN115509931A (en) System-based performance test method and device, electronic equipment and storage medium
CN115292202A (en) Product test analysis method and device, electronic equipment and storage medium
CN115017047A (en) Test method, system, equipment and medium based on B/S architecture
CN115309658A (en) Test data derivation method, device, equipment and storage medium
CN114741291A (en) Method, device, equipment and medium for automatically submitting vulnerability information
CN115098405B (en) Software product evaluation method and device, electronic equipment and storage medium
CN112632883B (en) Method, device, equipment and medium for testing simulation result of device model
CN115293096B (en) Line generation method, device, electronic equipment and storage medium
CN115543748A (en) Signal testing method, device, equipment and storage medium
CN115905021B (en) Fuzzy test method and device, electronic equipment and storage medium
CN110798385B (en) Method, device, equipment and medium for testing wide area network access setting function
CN115665005A (en) Equipment test method, device, equipment and medium
CN115495380A (en) Test case generation method and device, electronic equipment and storage medium
CN115617676A (en) Method and device for determining software test range, electronic equipment and storage medium
CN114443490A (en) Software defect prediction method, device, equipment and storage medium
CN115312114A (en) Method, apparatus, device and medium for testing RAM
CN115567624A (en) Message processing method and device, electronic equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination