Home > Community > Forums > Custom IC SKILL > Selecting All Signals of a Bus in GUI mode

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 Selecting All Signals of a Bus in GUI mode 

Last post Tue, Oct 9 2012 4:24 PM by swdesigner. 1 replies.
Started by swdesigner 04 Sep 2012 03:22 PM. Topic has 1 replies and 928 views
Page 1 of 1 (2 items)
Sort Posts:
  • Tue, Sep 4 2012 3:22 PM

    Selecting All Signals of a Bus in GUI mode Reply

    Here's what I'm trying to accomplish. Any help will be super :

    I want to plot all signals from a bus. The easiest way to accomplish this is to (1) go to ADE > Results > Direct Plot > Transient Signal

    Now, you (2) click on the bus and a new dialog pops up asking you to select bits, you can (3) click Select All and then (4) click Ok. Then, you can (5) go to the Schematic and hit ESC and all signals will be plotted (AWV). I have a bindkey to do (1). But, I still have to do (3), (4) and (5).

    How can I define a procedure that effectively does :

    sevDirectPlot(session 'asiiPlotTranSignalCB)  ; (1)

    ; let user select the bus (2)

    _astiSelectAllIteratedCB ; (3)

    ; (4) and (5)

    Any help would be super.

    Thanks!

    • Post Points: 5
  • Tue, Oct 9 2012 4:24 PM

    Re: Selecting All Signals of a Bus in GUI mode Reply

                    ;  Bind key for ResultsàDirect PlotàTransient signals

    hiSetBindKey("Schematics" "<Key>F10" "sevDirectPlot(sevSession(getCurrentWindow()) 'asiiPlotTranSignalCB)")

                 

                   ;Function for plotting buses

    procedure(plotbus()

     

                   ;  Call the esc function earlier ,this is done because after we ok the form this function does not work

                    ; So we call it earlier

    hiRegTimer("astiCancelSelect(hiGetCurrentWindow())" 10)

     

                   ; Set context to the UI which shows bus signals

    hiiSetCurrentForm('astiSelectItemForm)

     

                   ;Select all members of the bus

    _astiSelectAllIteratedCB()

     

                   ; Ok the form after selection

    hiFormDone(astiSelectItemForm)

    )

     

                   ;Function ends here

     

    ; Bind key to call the plot function

    hiSetBindKey("Schematics" "<Key>F11" "plotbus()")

    -----------------------------------------------------

     

    1.       Run simulation .

    2.       After simulation is complete, click on the schematic window and press F10

    3.       This will enable the cursor and select the desired bus to be plotted.

    4.       Once you select the bus it will bring the UI for selecting the bits to be plotted.

    5.       Just select the schematic window and press F11 key. This will plot all the bits of the bus.

    • Post Points: 5
Page 1 of 1 (2 items)
Sort Posts:
Started by swdesigner at 04 Sep 2012 03:22 PM. Topic has 1 replies.