CN116991956B - Signal interaction method based on EDA, electronic equipment and storage medium - Google Patents

Signal interaction method based on EDA, electronic equipment and storage medium Download PDF

Info

Publication number
CN116991956B
CN116991956B CN202311268169.0A CN202311268169A CN116991956B CN 116991956 B CN116991956 B CN 116991956B CN 202311268169 A CN202311268169 A CN 202311268169A CN 116991956 B CN116991956 B CN 116991956B
Authority
CN
China
Prior art keywords
signal
suspension
visual
updated
node
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.)
Active
Application number
CN202311268169.0A
Other languages
Chinese (zh)
Other versions
CN116991956A (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.)
Chengdu Rongjian Software Technology Co ltd
Beijing Yunshu Innovation Software Technology Co ltd
Shanghai Hejian Industrial Software Group Co Ltd
Original Assignee
Chengdu Rongjian Software Technology Co ltd
Beijing Yunshu Innovation Software Technology Co ltd
Shanghai Hejian Industrial Software Group 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 Chengdu Rongjian Software Technology Co ltd, Beijing Yunshu Innovation Software Technology Co ltd, Shanghai Hejian Industrial Software Group Co Ltd filed Critical Chengdu Rongjian Software Technology Co ltd
Priority to CN202311268169.0A priority Critical patent/CN116991956B/en
Publication of CN116991956A publication Critical patent/CN116991956A/en
Application granted granted Critical
Publication of CN116991956B publication Critical patent/CN116991956B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • G06F16/285Clustering or classification
    • G06F16/287Visualization; Browsing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/30Circuit design
    • G06F30/32Circuit design at the digital level
    • G06F30/33Design verification, e.g. functional simulation or model checking

Abstract

The present invention relates to the field of EDA chip design, and in particular, to an EDA-based signal interaction method, an electronic device, and a storage medium, which generate a visual suspension option when a signal in a first visual window is moved to a second visual window; starting a timer when the position of the signal in the second visual window moves; triggering the visual suspension option to update the position when the timer exceeds a preset duration threshold value and is not updated; acquiring a node position in a data structure according to the current moving position of the signal, and updating a visual suspension option according to the node position; acquiring a target suspension option selected by a user; and adding the signal into the node position according to the signal adding strategy associated with the target suspension option or directly adding the signal into the node position to obtain an updated database when the user does not select the target suspension option, and updating the content displayed in the second visual window according to the updated database, so that the operation is more visual and simple, and the interaction efficiency is improved.

Description

Signal interaction method based on EDA, electronic equipment and storage medium
Technical Field
The present invention relates to the field of EDA chip design, and in particular, to an EDA-based signal interaction method, electronic device, and storage medium.
Background
In the field of chip verification, in the process of chip verification by using an EDA tool, the EDA tool can provide a plurality of visual windows, so that a user can conveniently and integrally observe or interactively operate information such as signals, signal waveforms or layered structures among the signals in different windows. When a user opens a source file in the visualization window of the EDA tool, the visualization window is able to view the contents of the source file. When a user selects a signal from the source file window and adds the signal to the waveform window, the operation steps sequentially comprise: selecting a target signal, selecting an operation classification group by a right key, then reselecting a target group to which the target signal needs to be classified in the target operation classification group, when the target group does not exist, creating a new group, and then dividing the signal into the newly created group. When there are a large number of signals, not only the above operations need to be repeated, but also the operations are complicated, resulting in low interaction efficiency. Therefore, how to improve the interaction efficiency is a technical problem to be solved.
Disclosure of Invention
Aiming at the technical problems, the invention adopts the following technical scheme:
the invention provides an EDA-based signal interaction method, which comprises the following steps:
s100, N signal signals selected by a user in a first visual window are acquired, wherein N is more than or equal to 1.
And S200, when detecting that the user continuously selects and moves the signal to the second visual window, generating visual suspension options, wherein the visual suspension options comprise R suspension options, different suspension options are associated with different signal adding strategies, and R is more than or equal to 1.
S300, when detecting that the position of the signal in the second visual window moves, starting a timer; updating a timer according to the residence time of the signal moving to any node position in the second visual window in the signal moving process; and triggering the visual suspension option to update the position when the timer exceeds a preset duration threshold value and is not updated.
S400, acquiring the node position of the signal in the data structure according to the current moving position of the signal; when the node position is a child node, updating the visual suspension options to obtain updated visual suspension options, wherein the updated visual suspension options comprise T suspension options, and T is more than or equal to 1; when the node position is the top level node, the visual suspension option is not updated.
S500, acquiring a target suspension option selected by a user from the visual suspension options.
S600, adding signals into the node positions according to the signal adding strategy associated with the target suspension options to obtain an updated database, and updating the content displayed in the second visual window according to the updated database; and when the user does not select the target suspension option, directly adding the signal into the node position to obtain an updated database, and updating the content displayed in the second visual window according to the updated database.
Furthermore, a non-transitory computer readable storage medium having stored therein at least one instruction or at least one program loaded and executed by a processor to implement the above-described method.
Furthermore, an electronic device comprises a processor and the non-transitory computer readable storage medium described above.
The invention has at least the following beneficial effects:
the invention provides an EDA-based signal interaction method, electronic equipment and a storage medium, which drag signals from a first visual window to a second visual window, determine the moving position of the signals through the data structure of the second visual window, trigger different suspension options according to different positions, associate different signal adding strategies with each suspension option, add the signals into the data structure according to the signal adding strategies associated with the suspension options and display the signals in the second visual window, so that the operation is more visual and simpler, and the interaction efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a signal interaction method based on EDA according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to fall within the scope of the invention.
Referring to fig. 1, a flowchart of an EDA-based signal interaction method is shown, the method comprising the steps of:
s100, N signal signals selected by a user in a first visual window are acquired, wherein N is more than or equal to 1.
Optionally, the first visualization window is a visualization window of the source program.
As a preferred embodiment, the step of acquiring N signal signals selected by the user includes: when a first visual window loads a source file, analyzing and acquiring signals in the source file, and storing row number information of the signals in a memory; when a section of source file is selected by a user, matching each row and column number information selected with row and column number information of signals stored in a memory to obtain N signals selected by the user.
And S200, when detecting that the user continuously selects and moves the signal to the second visual window, generating visual suspension options, wherein the visual suspension options comprise R suspension options, different suspension options are associated with different signal adding strategies, and R is more than or equal to 1.
Optionally, the second visualization window is a waveform window or a signal window, etc.
As a preferred embodiment, the step of generating the visual suspension options includes: when the memory loads a second visual window, a preconfigured module for generating a suspension option is called to generate the suspension option; and when the fact that the user continuously selects and moves the signal to the second visual window is detected, calling a display interface to display the suspension options in the second visual window, and obtaining the visual suspension options.
Alternatively, the visual hover options are buttons, and different hover options correspond to different buttons.
Wherein each suspension option is associated with a signal addition strategy.
As a preferred embodiment, each suspension option is associated with a signal addition strategy including, but not limited to, the following two strategies: the first strategy is to create a grouping button at the top layer and add the signal that the user continuously selects and moves as a child node under the new grouping button. The N signals are respectively used as N parallel child nodes of the newly-built grouping button, and are not in parent-child relation with each other. The second strategy is to create a grouping button at the node location and add the signal that the user continuously selects and moves as a child node under the newly created grouping button. The node position may be a child node of any packet node in the signal hierarchy in the second visualization window.
Preferably, in S200, when the signal moves to the second visualization window, a visualization hover option is generated and associated with the first strategy.
S300, when detecting that the position of the signal in the second visual window moves, starting a timer; updating a timer according to the residence time of the signal moving to any node position in the second visual window in the signal moving process; and triggering the visual suspension option to update the position when the timer exceeds a preset duration threshold value and is not updated.
Wherein the step of detecting that the signal has moved its position in the second visualization window comprises:
s310, acquiring the data structures of all the signals displayed in the second visual window in the database.
All signals displayed in the visual window are in a plurality of tree structures, and the data structure is a data structure for storing the tree structures.
Optionally, the data structure of the tree structure is a sequential storage structure of parent representations, a sequential combination chain storage structure of child representations, and a chain storage structure of child sibling representations.
S320, acquiring the node position of the current mobile position of the signal in the data structure.
Alternatively, the node location is a parent node in the data structure or a leaf node in the data structure.
S330, when the position of the node of the signal in the data structure is changed, determining that the position of the signal in the second visualization window is moved.
The timer is updated along with the moving position of the signal, and when the stay time of the signal on one node position is smaller than a preset time threshold value, the position of the signal is continuously updated, and the timer is re-timed. When the time period of the signal staying at one node position is longer than the preset time period threshold value, the intention of executing the next operation is indicated that the signal moves to the node position, and the timer is triggered to execute the step of updating the position of the visual suspension option.
As a preferred embodiment, the position of the visual suspension option is updated to the current mobile position of the signal.
S400, acquiring the node position of the signal in the data structure according to the current moving position of the signal; when the node position is a child node, updating the visual suspension options to obtain updated visual suspension options, wherein the updated visual suspension options comprise T suspension options, and T is more than or equal to 1; when the node position is the top level node, the visual suspension option is not updated.
Wherein the top level node is the root node of the tree. Child nodes are other nodes of the tree than the top level node.
Wherein the updated visual suspension options are different from those before the update. Alternatively, the difference may be that the number of the suspension options before and after updating is unchanged but the type of the suspension options is partially or completely changed, or the number of the suspension options after updating is changed and the type of the suspension options is partially or completely changed, compared with the number of the suspension options before updating added with T-R different types of the suspension options.
Preferably, the updated hover options are augmented with T-R different types of hover options as compared to before the update. As one example, the pre-update hover options include one visual hover option and are associated with a first policy, and the post-update hover option adds another visual hover option and is associated with a second policy on the basis of the pre-update hover options. That is, the pre-update visual hover options include a hover option associated with the first policy; the updated visual hover options include two hover options: one associated with a first policy and one associated with a second policy.
S500, acquiring a target suspension option selected by a user from the visual suspension options.
S600, adding signals into the node positions according to the signal adding strategy associated with the target suspension options to obtain an updated database, and updating the content displayed in the second visual window according to the updated database; and when the user does not select the target suspension option, directly adding the signal into the node position to obtain an updated database, and updating the content displayed in the second visual window according to the updated database.
It should be noted that, the signal adding policy associated with each suspension option is specified in advance by the user.
The direct addition of the signal to the node location means that no packet is newly created, the signal is not used as a signal under any packet, and the signal itself is directly used as a node in the data structure.
The signal is dragged from one window to another window through the steps of S100-S600, and a preset suspension option is provided for a user to select when the signal is dragged to different positions, so that the operation is more visual and simple, and the interaction efficiency is improved.
As a preferred embodiment, S300 further includes: the current moving position of the signal is displayed in the second visual window, so that the user can more intuitively observe the current moving position from the second visual window.
As a preferred embodiment, S400 further comprises:
s700, when a user continuously selects a target suspension option, starting a suspension timer; updating a suspension timer according to the stay time of the target suspension option continuously selected by the user, temporarily adding signals into the node position according to the signal adding strategy associated with the target suspension option to obtain an updated database when the suspension timer is not updated beyond the preset selection time, and updating the preview content displayed in the second visual window according to the updated database. The mode of temporarily joining the node position can enable the user to intuitively preview the tree structure after the current suspension option is selected.
S800, when the suspension timer is updated again, signals temporarily added to the node position in the database are withdrawn; when the hover timer is destroyed, an updated database is determined. It should be noted that, when the user no longer selects the floating option of the current preview, the action temporarily performed on the database in the previous step is canceled. Wherein the suspension timer is destroyed indicating that the user has determined the suspension option of the preview.
It should be noted that S700 and S800 provide the user with the preview result after selecting a certain floating option, and if the user continues to drag the movement signal after previewing the result, the temporary preview action of the previous step is canceled. Compared with the steps of directly selecting and then cancelling or deleting, the user does not need to repeatedly execute the steps of selecting signals and dragging the signals into the second visual window, the operation complexity is reduced, and the interaction efficiency is improved.
Embodiments of the present invention also provide a non-transitory computer readable storage medium that may be disposed in an electronic device to store at least one instruction or at least one program for implementing one of the methods embodiments, the at least one instruction or the at least one program being loaded and executed by the processor to implement the methods provided by the embodiments described above.
Embodiments of the present invention also provide an electronic device comprising a processor and the aforementioned non-transitory computer-readable storage medium.
Embodiments of the present invention also provide a computer program product comprising program code for causing an electronic device to carry out the steps of the method according to the various exemplary embodiments of the invention as described in the specification, when said program product is run on the electronic device.
While certain specific embodiments of the invention have been described in detail by way of example, it will be appreciated by those skilled in the art that the above examples are for illustration only and are not intended to limit the scope of the invention. Those skilled in the art will also appreciate that many modifications may be made to the embodiments without departing from the scope and spirit of the invention. The scope of the invention is defined by the appended claims.

Claims (10)

1. An EDA-based signal interaction method, the method comprising the steps of:
s100, N signal signals selected by a user in a first visual window are acquired, wherein N is more than or equal to 1;
s200, when detecting that a user continuously selects and moves a signal to a second visual window, generating visual suspension options, wherein the visual suspension options comprise R suspension options, different suspension options are associated with different signal adding strategies, and R is more than or equal to 1;
s300, when detecting that the position of the signal in the second visual window moves, starting a timer; updating a timer according to the residence time of the signal moving to any node position in the second visual window in the signal moving process; triggering the visual suspension option to update the position when the timer exceeds a preset duration threshold value and is not updated;
s400, acquiring the node position of the signal in the data structure according to the current moving position of the signal; when the node position is a child node, updating the visual suspension options to obtain updated visual suspension options, wherein the updated visual suspension options comprise T suspension options, and T is more than or equal to 1; when the node position is the top node, the visual suspension option is not updated;
s500, acquiring a target suspension option selected by a user from the visual suspension options;
s600, adding signals into the node positions according to the signal adding strategy associated with the target suspension options to obtain an updated database, and updating the content displayed in the second visual window according to the updated database; and when the user does not select the target suspension option, directly adding the signal into the node position to obtain an updated database, and updating the content displayed in the second visual window according to the updated database.
2. The method of claim 1, wherein the step of detecting a shift in the position of the signal in the second visualization window in S300 comprises:
s310, acquiring data structures of all signals displayed in a second visual window in a database;
s320, acquiring the node position of the current mobile position of the signal in the data structure;
s330, when the position of the node of the signal in the data structure is changed, determining that the position of the signal in the second visualization window is moved.
3. The method of claim 1, wherein S300 further comprises: the position of the visual suspension option is updated to the current mobile position of the signal.
4. The method of claim 1, wherein S400 further comprises, after:
s700, when a user continuously selects a target suspension option, starting a suspension timer; updating a suspension timer according to the stay time of the target suspension option continuously selected by the user, temporarily adding signals into the node position according to the signal adding strategy associated with the target suspension option to obtain an updated database when the suspension timer is not updated beyond the preset selection time, and updating the preview content displayed in the second visual window according to the updated database;
s800, when the suspension timer is updated again, signals temporarily added to the node position in the database are withdrawn; when the hover timer is destroyed, an updated database is determined.
5. The method of claim 1, wherein S300 further comprises: and displaying the current moving position of the signal in the second visual window.
6. The method of claim 1, wherein the step of obtaining N signal signals in S100 comprises: when a first visual window loads a source file, analyzing and acquiring signals in the source file, and storing row number information of the signals in a memory; when a section of source file is selected by a user, matching each row and column number information selected with row and column number information of signals stored in a memory to obtain N signals selected by the user.
7. The method of claim 1, wherein the step of generating the visual suspension options in S200 comprises: when the memory loads a second visual window, a preconfigured module for generating a suspension option is called to generate the suspension option; and when the fact that the user continuously selects and moves the signal to the second visual window is detected, calling a display interface to display the suspension options in the second visual window, and obtaining the visual suspension options.
8. The method of claim 1, wherein each suspension option is associated with a signal addition strategy including, but not limited to, two strategies:
the first strategy is to newly build a grouping button at the top layer and add the signals continuously selected and moved by the user as child nodes under the newly built grouping button;
the second strategy creates a grouping button at the node location and adds the signal that the user continuously selects and moves to the newly created grouping button as a child node.
9. A non-transitory computer readable storage medium having stored therein at least one instruction or at least one program loaded and executed by a processor to implement the method of any one of claims 1-8.
10. An electronic device comprising a processor and the non-transitory computer readable storage medium of claim 9.
CN202311268169.0A 2023-09-28 2023-09-28 Signal interaction method based on EDA, electronic equipment and storage medium Active CN116991956B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311268169.0A CN116991956B (en) 2023-09-28 2023-09-28 Signal interaction method based on EDA, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311268169.0A CN116991956B (en) 2023-09-28 2023-09-28 Signal interaction method based on EDA, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN116991956A CN116991956A (en) 2023-11-03
CN116991956B true CN116991956B (en) 2023-12-08

Family

ID=88521797

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311268169.0A Active CN116991956B (en) 2023-09-28 2023-09-28 Signal interaction method based on EDA, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116991956B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104573169A (en) * 2013-10-25 2015-04-29 阿尔特拉公司 Methods and tools for designing integrated circuits with auto-pipelining capabilities
CN114139487A (en) * 2021-10-25 2022-03-04 广东省大湾区集成电路与系统应用研究院 Layout visualization development tool and packaging and using method
CN114201941A (en) * 2021-11-30 2022-03-18 海光信息技术股份有限公司 Chip performance verification method and device, electronic equipment and storage medium
CN115081384A (en) * 2022-07-21 2022-09-20 北京云枢创新软件技术有限公司 Data dynamic visualization system based on EDA
CN115543285A (en) * 2021-06-29 2022-12-30 北京字跳网络技术有限公司 Interactive window display method, device, equipment and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8972899B2 (en) * 2009-02-10 2015-03-03 Ayasdi, Inc. Systems and methods for visualization of data analysis

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104573169A (en) * 2013-10-25 2015-04-29 阿尔特拉公司 Methods and tools for designing integrated circuits with auto-pipelining capabilities
CN115543285A (en) * 2021-06-29 2022-12-30 北京字跳网络技术有限公司 Interactive window display method, device, equipment and storage medium
CN114139487A (en) * 2021-10-25 2022-03-04 广东省大湾区集成电路与系统应用研究院 Layout visualization development tool and packaging and using method
CN114201941A (en) * 2021-11-30 2022-03-18 海光信息技术股份有限公司 Chip performance verification method and device, electronic equipment and storage medium
CN115081384A (en) * 2022-07-21 2022-09-20 北京云枢创新软件技术有限公司 Data dynamic visualization system based on EDA

Also Published As

Publication number Publication date
CN116991956A (en) 2023-11-03

Similar Documents

Publication Publication Date Title
US9727551B2 (en) Associating conditions to summary table data
KR101794373B1 (en) Temporary formatting and charting of selected data
US8185563B2 (en) Data-visualization system and method
US9075787B2 (en) Defining a reusable spreadsheet-function by extracting the function from a complex calculation in a spreadsheet document
US9208137B2 (en) Method to preview an undo/redo list
US20150095842A1 (en) Extendable blade sequence along pannable canvas direction
US20050007383A1 (en) System and method of visual grouping of elements in a diagram
US8823738B1 (en) Merging electronic diagrams
CN109597954A (en) Data item methods of exhibiting, calculates equipment and medium at device
US8677272B2 (en) Graphical user interface design utility
WO2010045143A2 (en) Automated development of data processing results
Vehlow et al. Visualizing dynamic hierarchies in graph sequences
CN111209000A (en) Processing method and device of user-defined control, electronic equipment and storage medium
CN107168705A (en) Graphical interfaces semantic description system and its method for building up and courses of action generation method
EP2189883B1 (en) Method, apparatus and program for facilitating object selection on display screen
JP2016004414A (en) Device, method, and program for editing program
CN116991956B (en) Signal interaction method based on EDA, electronic equipment and storage medium
CN113867850B (en) Data processing method, device, equipment and storage medium
CN108921914B (en) Method and device for drawing spectrum and electronic equipment
US20040236733A1 (en) Searching device, searching method and program
JP2728977B2 (en) Method for extracting a statistic profile and use of statistic created by the method
US9710571B2 (en) Graphical top-down planning system
CN113885766B (en) Method and device for displaying organization structure diagram, storage medium and terminal equipment
JP4221007B2 (en) Data display processing system
Martynovsky Developing an Interactive Visualization Tool for Pangenome Graphs

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