Rearanging expressions in ADE

Discussion in 'Cadence' started by Svenn Are Bjerkem, Nov 9, 2005.

  1. Hi,

    has anybody found an easier way to rearrange the output expressions in
    ADE than to go into the saved state and edit the "outputs" file?

    For the curious:
    I save the state with ADE, then cd into the proper .artist_states/
    directory. I then edit the "outputs" file with vi. (or any other editor
    which can move to complement parenthesis), I then move to the first line
    saying
    tmp1 = (let
    and place the cursor on the ( and press % (shift-5 in vi) to jump to the
    corresponding ) near the end of the file. Right above this ) there is a
    line saying something like:
    list(tmp1 tmp2 tmp3 tmp4 tmp5)
    If I want that expression 3 and 5 should change place, I change to:
    list(tmp1 tmp2 tmp5 tmp4 tmp3)
    and save the file in vi. Then I load the state in ADE and make sure that
    only "outputs" is checked and load the state. Voila, the signals have
    changed place.

    If you now save the state again, and edit again with vi, you will see
    that ADE has moved the expressions physically in the output file so that
    there is not going to be any problem with remembering which index is
    which expression. tmp1 is expression 1, tmp2 is expression 2 etc.

    Will also have influence on the sequence of the expession plots in AWD.
     
    Svenn Are Bjerkem, Nov 9, 2005
    #1
  2. Svenn Are Bjerkem

    fogh Guest

    fogh, Nov 9, 2005
    #2
  3. Well, I didn't use expression heavily at that time, Sorry :)

    Thanks for the pointer, I will integrate it into my environment and let
    you know my milage.
     
    Svenn Are Bjerkem, Nov 9, 2005
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.