CN115576473A - Waveform display method, computer device, and storage medium - Google Patents

Waveform display method, computer device, and storage medium Download PDF

Info

Publication number
CN115576473A
CN115576473A CN202210944147.0A CN202210944147A CN115576473A CN 115576473 A CN115576473 A CN 115576473A CN 202210944147 A CN202210944147 A CN 202210944147A CN 115576473 A CN115576473 A CN 115576473A
Authority
CN
China
Prior art keywords
scrollbar
scroll bar
waveform
point
movement
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.)
Granted
Application number
CN202210944147.0A
Other languages
Chinese (zh)
Other versions
CN115576473B (en
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.)
Core Huazhang Technology Beijing Co ltd
Original Assignee
Core Huazhang Technology Beijing 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 Core Huazhang Technology Beijing Co ltd filed Critical Core Huazhang Technology Beijing Co ltd
Priority to CN202210944147.0A priority Critical patent/CN115576473B/en
Publication of CN115576473A publication Critical patent/CN115576473A/en
Application granted granted Critical
Publication of CN115576473B publication Critical patent/CN115576473B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • G06F3/04855Interaction with scrollbars
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/12Geometric CAD characterised by design entry means specially adapted for CAD, e.g. graphical user interfaces [GUI] specially adapted for CAD

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Architecture (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present application relates to a waveform display method, a computer device, and a storage medium. The method comprises the following steps: and generating a waveform display area according to the waveform data, receiving an operation instruction, and displaying the modified scroll bar according to the operation instruction, so that the scale of the scroll bar is adjusted, a waveform diagram of a time period required to be debugged can be accurately positioned and displayed, and the simulation efficiency can be improved.

Description

Waveform display method, computer device, and storage medium
Technical Field
The present application relates to the field of electronic technology, and in particular, to a waveform display method, a computer device, a storage medium, and a computer program product.
Background
With the development of electronic technology, logic system designs (e.g., chip designs) have been widely used. While debugging of logic system designs typically involves debugging of simulation waveforms. For example, for a logic system design, a waveform diagram of a signal within a certain time can be obtained through a simulation tool, and debugging on the logic system design can be realized through debugging the waveform displayed on a waveform viewer.
In general, the waveform obtained by the simulation tool is often the waveform of the chip in the whole operation time period, and when the operation time period is longer, the display interface of the waveform viewer cannot completely and clearly display the whole waveform. As shown in fig. 1, it is now possible to control the display of waveforms for different time periods by moving the scroll bar 02 under the waveform viewer 01. In the process of moving the scroll bar 02, the distance of each movement of the waveform is determined by the dimension of the scroll bar 02, and as shown in fig. 1, the dimension of the scroll bar 02 is represented by the length of the scroll bar 02. If the scroll bar 02 is oversized, the waveform has moved for a large time interval even if the scroll bar 02 has moved only a small distance; if the scroll bar 02 is too small in scale, the waveform will only move for a small time interval even if the scroll bar 02 moves a large distance. The scale of the scroll bar 02 is a scale of the scroll bar 02, and the scale is as shown by scale 04 in fig. 1.
However, the debugging of the simulation waveform may run through the whole chip operation cycle, and it is difficult to accurately locate the waveform corresponding to the target time interval by moving the scroll bar at present, thereby resulting in low simulation efficiency.
Therefore, in the waveform debugging process, it is highly desirable to find a method that can quickly adjust the scale of the scroll bar so as to accurately locate and display the waveform diagram requiring the debugging time period.
Disclosure of Invention
In view of the above, it is necessary to provide a waveform display method, a computer device, a storage medium, and a computer program product capable of improving simulation efficiency in view of the above technical problems.
In a first aspect, the present application provides a waveform display method. The method comprises the following steps:
generating a waveform display area according to waveform data, wherein the waveform display area comprises a waveform chart, a time axis and a scroll bar which is movable along the time axis;
receiving an operation instruction, wherein the operation instruction comprises modification of activating the scroll bar and modification of the range of the scroll bar; and
and displaying the modified scroll bar according to the operation instruction.
In a second aspect, the present application also provides a computer device. The computer device comprises a memory storing a computer program and a processor implementing the steps of the method according to the first aspect as described above when executing the computer program.
In a third aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method according to the first aspect.
In a fourth aspect, the present application further provides a computer program product. The computer program product comprising a computer program which, when executed by a processor, performs the steps of the method according to the first aspect.
According to the waveform display method, the computer device, the storage medium and the computer program product, the waveform display area can be generated according to the waveform data, the operation instruction is received, and the modified scroll bar is displayed according to the operation instruction, so that the flexible adjustment of the scale of the scroll bar is simply and conveniently realized, the oscillogram of the time period required to be debugged can be accurately positioned and displayed, and the simulation efficiency can be further improved.
Drawings
In order to more clearly illustrate the technical solutions in the present application or the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only the present application, and that other drawings can be obtained by those skilled in the art without inventive efforts.
FIG. 1 is a schematic illustration of a display of a waveform viewer;
FIG. 2 is an internal block diagram of a computer device for waveform display according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a waveform display according to an embodiment of the present application;
FIG. 4 is a schematic diagram of another waveform display according to an embodiment of the present application;
FIG. 5 is a schematic diagram of yet another waveform display according to an embodiment of the present application;
FIG. 6 is a schematic diagram of yet another waveform display according to an embodiment of the present application;
fig. 7 is a flowchart illustrating a waveform display method according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of and not restrictive on the broad application.
It is to be noted that, unless otherwise defined, technical or scientific terms used herein shall have the ordinary meaning as understood by those of ordinary skill in the art to which this application belongs. As used in this application, the terms "first," "second," and the like do not denote any order, quantity, or importance, but rather are used to distinguish one element from another. The word "comprising" or "comprises", and the like, means that the element or item listed before the word covers the element or item listed after the word and its equivalents, but does not exclude other elements or items. The terms "connected" or "coupled" and the like are not restricted to physical or mechanical connections, but may include electrical connections, whether direct or indirect.
As described above, it is difficult to accurately locate a waveform corresponding to a target time interval by moving a scroll bar during a waveform simulation process of a logic system design (e.g., a chip design). The waveform obtained by the simulation tool is often long in running time, and a user needs to move the waveform diagram to find the waveform of the time period needing debugging. The user moves to the time axis for the corresponding time by moving a scroll bar (e.g., scroll bar 02 shown in fig. 1) under the waveform viewer, which displays the waveform at the time position of the scroll bar. In the moving process, the distance of each movement of the waveform is determined by a scale of the scroll bar, and the length of the scale corresponds to the length of the scroll bar on the time axis. If the scale is too large, the waveform has moved for a large time interval even if the scrollbar has moved only a small distance; if the scale is too small, the scroll bar moves a lot, and the waveform moves for a very small time interval. Meanwhile, as shown in fig. 1, the time axis 03 and the scroll bar 02 are separated, and occupy a relatively large space.
Based on this, the present application provides a waveform display method, a computer device, a storage medium, and a computer program product to solve the above-described problems.
Fig. 2 is an internal structural diagram of a computer apparatus 100 for waveform display according to an embodiment of the present application. The computer device 100 may include: a processor 102, a memory 104, a network interface 106, a peripheral interface 108, and a bus 110. Wherein processor 102, memory 104, network interface 106, and peripheral interface 108 are communicatively coupled to each other within the computer device via bus 110.
The processor 102 may be a Central Processing Unit (CPU), an image processor, a Neural Network Processor (NPU), a Microcontroller (MCU), a programmable logic device, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits. The processor 102 may be used to perform functions associated with the techniques described herein. In some embodiments, processor 102 may also include multiple processors integrated into a single logic component. As shown in FIG. 2, the processor 102 may include a plurality of processors 102a, 102b, and 102c.
The memory 104 may be configured to store data. As shown in fig. 2, the data stored in the memory may include program instructions (e.g., program instructions for implementing the waveform display method of the present application) and data to be processed (e.g., waveform data). The processor 102 may also access memory stored program instructions and data and execute the program instructions to implement a waveform display method. The memory 104 may include volatile memory devices or non-volatile memory devices. In some embodiments, the Memory 104 may include a Random Access Memory (RAM), a Read-Only Memory (ROM), an optical disc, a magnetic disc, a hard Disk, a Solid State Disk (SSD), a flash Memory, a Memory stick, and the like.
The network interface 106 may be configured to provide communications with other external devices to the computer device 100 via a network. The network may be any wired or wireless network capable of transmitting and receiving data. For example, the network may be a wired network, a local wireless network (e.g., bluetooth, wiFi, near Field Communication (NFC), etc.), a cellular network, the internet, or a combination of the above. It is to be understood that the type of network is not limited to the specific examples described above. In some embodiments, network interface 106 may include any combination of any number of Network Interface Controllers (NICs), radio frequency modules, transceivers, modems, routers, gateways, adapters, cellular network chips, and the like.
Peripheral interface 108 may be configured to connect computer device 100 with one or more peripheral devices for the input and output of information. For example, the peripheral devices may include input devices such as a keyboard, mouse, touch pad, touch screen, microphone, various sensors, and output devices such as a display, speaker, vibrator, indicator light.
The Bus 110 may be configured to transfer information between various components of the computer device 100 (e.g., the processor 102, the memory 104, the network interface 106, and the peripheral interface 108), such as an internal Bus (e.g., a processor-memory Bus), an external Bus (Universal Serial Bus (USB), a high-speed Serial computer expansion Bus (PCI-E), etc.).
Those skilled in the art will appreciate that the architecture shown in fig. 2 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
FIG. 3 is a schematic diagram of a waveform display according to an embodiment of the present application.
In some embodiments, the computer device 100 may generate a waveform display region from the waveform data. The waveform data may be waveform data of the correlation signal obtained by simulating the logic system design. The waveform data may include a plurality of time periods, e.g., 0 to 2,000, 2,000 to 4,000, 4,000 to 6,000, etc. The time unit of the waveform data may be picoseconds, nanoseconds, milliseconds, etc., and may be determined according to parameters of an actual logic system design. Corresponding to the waveform data, the waveform display area may include a waveform diagram 40 as shown in fig. 3, a time axis 41, and a scroll bar 42 movable along the time axis 41. The time interval of the time axis 41 may correspond to a period of the waveform data. Since the scroll bar 42 is located on the time axis 41, the scroll bar 42 and the time axis 41 share the same space, and the space occupation is reduced.
The computer device 100 may receive user operating instructions that may include activating modification of the scrollbar 42, and modifying the scope of the scrollbar 42.
As shown in fig. 3, when the user needs to adjust the scale of the scroll bar, the user can click on an end point of the scroll bar 42 located on the time axis 41 in fig. 3. For example, the left end point or the right end point of the scroll bar 42 may be clicked by a cursor of a mouse, or the left end point or the right end point of the scroll bar 42 may be clicked by a touch based on a touch screen, so as to initiate an activation instruction for modifying the scroll bar 42. The computer device 100 may then receive a cursor click on one end point (left end point or right end point) of the scrollbar 42, i.e., receive an activation instruction to modify the scrollbar 42.
In some embodiments, when the user clicks one end point of the scroll bar 42 through the cursor, the modification of the scroll bar 42 is activated, and if the end point of the scroll bar 42 dragged by the user continues to move at this time, the original dimension of the scroll bar 42 may be changed, i.e., the range of the scroll bar 42 is modified. And the computer device 100 may determine to modify the extent of the scrollbar 42 based on the corresponding direction and distance of movement of the cursor. For example, when the movement direction is moving the end point to the left of the drag scroll bar 42 to the left, then the computer device 100 may increase the scale of the scroll bar based on the specific movement distance to get a new scroll bar; when the movement direction is the movement of the end point to the left of the dragged scroll bar 42 to the right, the computer device 100 may decrease the scale of the scroll bar based on the specific movement distance to obtain a new scroll bar; when the movement direction is dragging the endpoint on the right side of the scroll bar 42 to the right, then the computer device 100 may increase the scale of the scroll bar based on the specific movement distance to obtain a new scroll bar; when the direction of movement is to drag the endpoint to the right of the scroll bar 42 to the left, then the computer device 100 may decrease the scale of the scroll bar based on the particular distance of movement to obtain a new scroll bar. For another example, when the movement direction is dragging the endpoint to the left of the scroll bar 42 to the right, then the computer device 100 may regenerate the scroll bar based on the particular movement distance, and the dimensions of the newly generated scroll bar may coincide with the movement distance. In this way, the computer device 100 may enable flexible modification of the scroll bar dimensions.
FIG. 4 is a schematic diagram of another waveform display according to an embodiment of the present application.
In some embodiments, as shown in fig. 5, when the user needs to adjust the dimension of the scroll bar 52, any point on the time axis 51 in fig. 4 may also be clicked, so as to initiate an activation instruction for modifying the scroll bar 52. The computer device 100 may then receive the activation command and determine that any point on the time axis 51 is the first point based on the click of that point, i.e., the first end point of the scaled scrollbar 53.
To modify the extent of the scroll bar, computer device 100 may determine a direction of movement and a distance of movement of the cursor, and determine that the cursor rests at a second point on the time axis based on the direction of movement and the distance of movement. The second point may be a second end point of the scaled scroll bar 53, and a connection line formed by the two end points is the scaled scroll bar 53. The moving direction and the moving distance of the cursor may refer to a moving direction and a moving distance of the cursor with respect to the first point. For example, the user may click on the timeline 51 with a cursor to determine a first point, activate the modification of the scrollbar, and determine the first point as the first endpoint of the resized scrollbar 53. If the user drags the cursor to move from the first point continuously, such as to move to the left or to the right, and stops moving after moving a certain distance, the cursor stays at a second point on the time axis where the movement is stopped, and the computer device 100 may determine the second point as a second endpoint of the scaled scroll bar 53. Thus, the computer device 100 may generate the scaled scrollbar 53 based on the first endpoint and the second endpoint, both endpoints of the scrollbar 53 may correspond to the first point and the second point. In this way, the computer device 100 may enable flexible modification of the scroll bar dimensions.
In some embodiments, when the user needs to adjust the size of the scroll bar, the cursor may be moved to the corresponding scroll bar by operating the mouse or the touch screen, and the computer device 100 may recognize the movement of the cursor to the scroll bar, thereby activating the modification of the scroll bar. If the user controls the scroll wheel of the mouse by operating the mouse at this time, the computer apparatus 100 may modify the range of the scroll bar based on the scroll wheel of the mouse. For example, if the scroll wheel rolls upwards, the original scroll bar is expanded; if the roller rolls downwards, the original scroll bar is shortened, and therefore expansion or shortening of the scroll bar is achieved.
FIG. 5 is a schematic diagram of yet another waveform display according to an embodiment of the present application.
In some embodiments, when the user needs to adjust the dimensions of the scroll bar 62, then any point in the waveform diagram 60 of fig. 5 may be clicked, thereby initiating an activation instruction that modifies the scroll bar 62. The computer device 100 may then receive the activation instruction and determine that any point on the waveform diagram 60 is a third point based on a click of that point. By associating the third point on the time axis 61, the point on the time axis 61 can be determined as the first end point of the scaled scroll bar 63.
If the user drags the third point to move continuously (for example, move to the left or move to the right) on the waveform diagram 60 and stops moving after moving a certain distance, the cursor stays at the fourth point on the waveform diagram 60 where the movement is stopped. Similarly, by associating the fourth point on time axis 61, the point on time axis 61 to which the fourth point corresponds may be determined to be the second end point of scaled scrollbar 63. Accordingly, the computer device 100 can generate the scaled scroll bar 63 based on the first endpoint and the second endpoint, thereby enabling flexible modification of the scroll bar scale.
In some embodiments, the computer device 100 may also determine the display range of the waveform map according to the range of the modified scroll bar. As shown in fig. 5, the display range of the waveform map may be shown by a scale 64 above the waveform display area. The scroll bar 62 before modification ranges from 250,000,000 to 550,000,000, and the corresponding dimension, i.e., the distance between the two end points of the scroll bar 62, is 300,000,000 (i.e., 550,000,000-250,000,000). The displayed range of the waveform diagram 60 now corresponds to the dimensions of the scroll bar 62. If the scroll bar 62 is moved to a position on the time axis 61, the display range of the waveform diagram 60 matches the new position of the scroll bar 62 on the time axis 61, but the scale of the corresponding display remains unchanged. For example, by moving the position of the scroll bar 62 on the time axis 61, if the two end points are located at 300,000,000 and 600,000,000 on the time axis 61 after the movement, respectively, the waveform diagram 60 may be displayed in a range of 300,000,000 to 600,000,000, and the scale of the display (600,000,000-300,000 =300,000,000) is consistent with the scale of the display before the movement (550,000,000-250,000,000 =300,000,000). That is, by moving the position of the scroll bar 62 on the time axis 61, the waveform diagram at different positions on the time axis 61 can be displayed with the range of the scroll bar 62 as a scale.
FIG. 6 is a schematic diagram of yet another waveform display according to an embodiment of the present application.
In some embodiments, the user may modify the extent of scroll bar 62 to generate a new scroll bar 63. For example, the new scrollbar 63 may range from 380,000,000 to 500,000,000. At this time, the scale of the scroll bar is changed from the original scale of 300,000,000 (i.e., 550,000,000-250,000,000) to 120,000,000 (i.e., 500,000,000-380,000,000). The display range of the waveform diagram is also changed. As shown in fig. 6, the display range of the waveform diagram 70 coincides with the range of the modified scroll bar 63. That is, the computer apparatus 100 can display the waveform map corresponding to the range of the scroll bar by modifying the scale of the scroll bar, thereby making it easier to display the waveform map at the target time.
Fig. 7 is a flowchart illustrating a waveform display method 700 according to an embodiment of the present application. The method 700 may be run on a computer device 100 as shown in fig. 2. Referring to fig. 7, the method 700 may include the following steps.
At step 702, the computer device 100 may generate a waveform display area from the waveform data. The waveform data may be obtained by a simulation tool simulating a logic system design. The waveform data may include a plurality of time periods (e.g., 0 to 2,000, 2,000 to 4,000, 4,000 to 6,000, etc.). The time unit of the waveform data may be picoseconds, nanoseconds, milliseconds, etc., and may be determined according to parameters of an actual logic system design. The waveform display area may include a waveform diagram (e.g., waveform diagram 40 shown in fig. 3), a time axis (e.g., time axis 41 shown in fig. 3), and a scroll bar (e.g., scroll bar 42 shown in fig. 3) movable along the time axis. The scroll bar 42 may be located in the time axis 41 and coincide with the time axis 41, so that the space occupation of the waveform display area can be reduced.
At step 704, the computer device 100 may receive an operating instruction. The operating instructions may be from a user and may include activating a modification of the scrollbar and modifying a scope of the scrollbar.
In some embodiments, activating the modification of the scrollbar further comprises: the computer device 100 may receive a cursor click on an end point of the scroll bar (e.g., the left or right end point of the scroll bar 42 shown in fig. 3). Modifying the range of the scrollbar further comprises: computer device 100 may determine the direction of movement (e.g., left movement or right movement) and the distance of movement that the end point of the scrollbar follows the cursor.
In some embodiments, activating the modification of the scrollbar (e.g., scrollbar 52 shown in FIG. 4) further comprises: computer device 100 may receive a cursor click on a first point of the timeline (e.g., timeline 51 shown in fig. 4). Modifying the range of the scrollbar further comprises: the computer device 100 may determine a moving direction and a moving distance of the cursor, and determine that the cursor stays at a second point on the time axis according to the moving direction and the moving distance. Two end points of the modified scroll bar (e.g., scroll bar 53 shown in fig. 4) correspond to the first point and the second point.
In some embodiments, activating the modification of the scrollbar further comprises: computer device 100 may recognize that the cursor is moving over the scrollbar. Modifying the range of the scrollbar further comprises: the computer device 100 may determine the scroll of the scroll wheel and expand or contract the scrollbar based on the scroll of the scroll wheel.
In some embodiments, activating the modification of the scrollbar further comprises: the computer device 100 may receive a cursor click on a third point of the waveform map (e.g., the waveform map 60 shown in fig. 5). Modifying the scope of the scrollbar (e.g., scrollbar 62 shown in FIG. 5) further comprises: the computer device 100 may determine a moving direction and a moving distance of the cursor, and determine a fourth point at which the cursor stays on the waveform diagram according to the moving direction and the moving distance. Computer device 100 may map the third point to a time axis (e.g., time axis 61 shown in fig. 5), and determine a first end point of a modified scrollbar (e.g., scrollbar 63 shown in fig. 5); similarly, the computer device 100 may correspond the fourth point to a time axis (e.g., time axis 61 shown in fig. 5) and determine a second end point of the modified scrollbar (e.g., scrollbar 63 shown in fig. 5).
In step 706, the computer device 100 may display the modified scroll bar according to the operation instruction.
In some embodiments, the computer device 100 may generate the modified scrollbar (e.g., scrollbar 53 shown in FIG. 4) with two endpoints corresponding to the first point and the second point (e.g., two endpoints of scrollbar 53 shown in FIG. 4).
In some embodiments, computer device 100 may generate a modified scroll bar (e.g., scroll bar 63 shown in FIG. 5) from the third and fourth points. As depicted in step 704, computer device 100 may map the third point to a time axis (e.g., time axis 61 shown in FIG. 5) to determine a first end point of the modified scrollbar; similarly, the computer device 100 may map the fourth point to the time axis to determine a second end point of the modified scrollbar.
In some embodiments, the computer device 100 may also determine a display range (e.g., 380,000,000 to 500,000,000) of the waveform diagram (e.g., the waveform diagram 70 shown in fig. 6) based on the range of the modified scrollbar (e.g., the scrollbar 63 shown in fig. 6).
In the waveform display method, the computer device 100 may generate the waveform display area according to the waveform data, receive the operation instruction, and display the modified scroll bar according to the operation instruction, so as to simply and conveniently adjust the scale of the scroll bar, and accurately position the oscillogram in the time period required to be debugged, thereby improving the simulation efficiency.
The application also provides a computer device. The computer device may be the computer device 100 shown in fig. 2. The computer device 100 may include a memory storing a computer program and a processor that, when executed, may implement a waveform display method consistent with the present application, such as the exemplary method described above (e.g., method 700 shown in fig. 7). And will not be described in detail herein.
The present application also provides a computer-readable storage medium. The non-transitory computer readable storage medium stores a set of instructions for the computer device 100. The set of instructions, when executed, cause the computer device 100 to implement a waveform display method consistent with the present application, such as the exemplary method described above (e.g., method 700 shown in fig. 7). And will not be described in detail herein.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a part of the steps in the flowcharts related to the embodiments described above may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the execution order of the steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least a part of the steps or stages in other steps. It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) referred to in the present application are information and data authorized by the user or sufficiently authorized by each party.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above may be implemented by hardware instructions of a computer program, which may be stored in a non-volatile computer-readable storage medium, and when executed, may include the processes of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include a Read-Only Memory (ROM), a magnetic tape, a floppy disk, a flash Memory, an optical Memory, a high-density embedded nonvolatile Memory, a resistive Random Access Memory (ReRAM), a Magnetic Random Access Memory (MRAM), a Ferroelectric Random Access Memory (FRAM), a Phase Change Memory (PCM), a graphene Memory, and the like. Volatile Memory can include Random Access Memory (RAM), external cache Memory, and the like. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others. The databases referred to in various embodiments provided herein may include at least one of relational and non-relational databases. The non-relational database may include, but is not limited to, a block chain based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic devices, quantum computing based data processing logic devices, etc., without limitation.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.

Claims (9)

1. A waveform display method, comprising:
generating a waveform display area according to waveform data, wherein the waveform display area comprises a waveform chart, a time axis and a scroll bar which is movable along the time axis;
receiving an operation instruction, wherein the operation instruction comprises modification of activating the scroll bar and modification of the range of the scroll bar; and
and displaying the modified scroll bar according to the operation instruction.
2. The waveform display method of claim 1 wherein said activating a modification of said scrollbar further comprises receiving a cursor click on an end point of said scrollbar, said modifying a range of said scrollbar further comprising determining a direction and distance of movement of said end point of said scrollbar to follow said cursor.
3. The waveform display method of claim 1, wherein said activating a modification of said scrollbar further comprises receiving a cursor click on a first point of said timeline, said modifying a range of said scrollbar further comprises determining a direction of movement and a distance of movement of said cursor, and determining that said cursor remains at a second point on said timeline based on said direction of movement and said distance of movement.
4. The waveform display method according to claim 3, wherein the displaying the modified scroll bar according to the operation instruction further comprises:
generating the modified scrollbar, wherein two endpoints of the modified scrollbar correspond to the first point and the second point.
5. The waveform display method of claim 1 wherein said activating a modification of said scrollbar further comprises identifying a cursor movement onto said scrollbar, said modifying a range of said scrollbar further comprising determining a scroll of a scroll wheel, expanding or contracting said scrollbar in accordance with the scroll of said scroll wheel.
6. The waveform display method of claim 1 wherein the activating the modification of the scrollbar further comprises receiving a cursor click on a third point of the waveform map, the modifying the extent of the scrollbar further comprises determining a direction of movement and a distance of movement of the cursor, determining a fourth point at which the cursor rests on the waveform map based on the direction of movement and the distance of movement, the displaying the modified scrollbar based on the operational instructions further comprises generating the modified scrollbar based on the third point and the fourth point.
7. The waveform display method according to any one of claims 2 to 6, further comprising:
and determining the display range of the oscillogram according to the range of the modified scroll bar.
8. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the waveform display method according to any one of claims 1 to 7 when executing the computer program.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the waveform display method according to any one of claims 1 to 7.
CN202210944147.0A 2022-08-05 2022-08-05 Waveform display method, computer device, and storage medium Active CN115576473B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210944147.0A CN115576473B (en) 2022-08-05 2022-08-05 Waveform display method, computer device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210944147.0A CN115576473B (en) 2022-08-05 2022-08-05 Waveform display method, computer device, and storage medium

Publications (2)

Publication Number Publication Date
CN115576473A true CN115576473A (en) 2023-01-06
CN115576473B CN115576473B (en) 2023-08-04

Family

ID=84579045

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210944147.0A Active CN115576473B (en) 2022-08-05 2022-08-05 Waveform display method, computer device, and storage medium

Country Status (1)

Country Link
CN (1) CN115576473B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5491781A (en) * 1993-03-12 1996-02-13 Hewlett-Packard Company Method and apparatus for displaying a graphic image
US5553225A (en) * 1994-10-25 1996-09-03 International Business Machines Corporation Method and apparatus for combining a zoom function in scroll bar sliders
CN101261563A (en) * 2007-01-19 2008-09-10 Lg电子株式会社 Mobile terminal and method for scroll bar using the same
US20090177998A1 (en) * 2008-01-09 2009-07-09 Barrios Daiv S Method and System for Efficiently Adjusting a Timeline in a Time Window
JP2011185911A (en) * 2010-03-11 2011-09-22 Yokogawa Electric Corp Waveform display device
CN107847175A (en) * 2015-10-10 2018-03-27 深圳迈瑞生物医疗电子股份有限公司 Medical menitoring system, the method for showing monitoring data and monitoring display device
CN108712671A (en) * 2018-04-26 2018-10-26 国政通科技股份有限公司 Monitor video document play-back method, device and terminal device
CN113132128A (en) * 2019-12-30 2021-07-16 北京华为数字技术有限公司 Prompt information processing method, device and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5491781A (en) * 1993-03-12 1996-02-13 Hewlett-Packard Company Method and apparatus for displaying a graphic image
US5553225A (en) * 1994-10-25 1996-09-03 International Business Machines Corporation Method and apparatus for combining a zoom function in scroll bar sliders
CN101261563A (en) * 2007-01-19 2008-09-10 Lg电子株式会社 Mobile terminal and method for scroll bar using the same
US20090177998A1 (en) * 2008-01-09 2009-07-09 Barrios Daiv S Method and System for Efficiently Adjusting a Timeline in a Time Window
JP2011185911A (en) * 2010-03-11 2011-09-22 Yokogawa Electric Corp Waveform display device
CN107847175A (en) * 2015-10-10 2018-03-27 深圳迈瑞生物医疗电子股份有限公司 Medical menitoring system, the method for showing monitoring data and monitoring display device
CN108712671A (en) * 2018-04-26 2018-10-26 国政通科技股份有限公司 Monitor video document play-back method, device and terminal device
CN113132128A (en) * 2019-12-30 2021-07-16 北京华为数字技术有限公司 Prompt information processing method, device and storage medium

Also Published As

Publication number Publication date
CN115576473B (en) 2023-08-04

Similar Documents

Publication Publication Date Title
RU2005135845A (en) COORDINATION OF ANIMATIONS AND MULTIMEDIA WHEN DISPLAYING TO A COMPUTER DISPLAY
US20210064997A1 (en) Method for gpu memory management for deep neural network and computing device for performing same
US20140215393A1 (en) Touch-based multiple selection
CN112465466B (en) Method, device, computer equipment and storage medium for executing flow task
JP2016520939A (en) Search recommendation method and apparatus
CN113705136A (en) Integrated circuit automation logic synthesis system, method, device and medium
CN109448120B (en) Processing method and device for three-dimensional building model and computer equipment
CN113391749A (en) Mouse click simulation method and device, computer readable storage medium and electronic equipment
CN109491568B (en) Mouse event processing method, device and equipment and computer readable storage medium
CN114942863A (en) Cascade snapshot processing method, device and equipment and storage medium
CN115576473B (en) Waveform display method, computer device, and storage medium
CN103744609B (en) A kind of data extraction method and device
WO2018098960A1 (en) Method for operating touchscreen device, and touchscreen device
CN114328062B (en) Method, device and storage medium for checking cache consistency
US20220004159A1 (en) Method and a system for synchronizing a first and a second simulation system
US20210192098A1 (en) Anti-constraint configuration and enforcement for computer-aided design (cad) models
TW201931178A (en) Impedance calculation method for circuit layout pattern and layout detection system
CN104732007B (en) Device with touch-sensitive display comprising a mechanism for copying and manipulating modeled objects
KR101405822B1 (en) Method of providing visual edit-assistance for touch-based editing applications, and computer-readable recording medidum for the same
CN115455876B (en) Method for debugging logic system design and electronic equipment
US10656703B2 (en) Visual display techniques for mitigating latency
US9659142B1 (en) Methods, systems, and articles of manufacture for trace warping for electronic designs
US11501475B2 (en) Graphical representation of electronic circuit operation
CN117272918B (en) Method for clock tree rule configuration in GUI interface and related equipment
CN114443616B (en) FPGA-based parallel heterogeneous database acceleration method and device

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
GR01 Patent grant
GR01 Patent grant