Rearanging expressions in ADE

  • Thread starter Svenn Are Bjerkem
  • Start date
S

Svenn Are Bjerkem

Guest
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
 
Yes, I posted this last spring:

http://groups.google.com/group/comp.cad.cadence/browse_frm/thread/c3a6f690a2ac64e7/02cb2db48f6d3c02?lnk=st&q=ade+outputs+editor&rnum=1#02cb2db48f6d3c02

and a follow up to explain how to use it:
http://groups.google.com/group/comp.cad.cadence/tree/browse_frm/thread/c3a6f690a2ac64e7/c3fcf38f03b3e696?rnum=1&q=ade+outputs+editor&_done=%2Fgroup%2Fcomp.cad.cadence%2Fbrowse_frm%2Fthread%2Fc3a6f690a2ac64e7%2F02cb2db48f6d3c02%3Flnk%3Dst%26q%3Dade+outputs+editor%26rnum%3D1%26#doc_8eb41a886a667503


Actually I also found after that a way to use X11 to detect right-mouse-button
clicks in ADE, and I was about to put the 2 together, but there did not seem to
be much interest.


Svenn Are Bjerkem wrote:
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.
 
In article <43722d27$0$6554$e4fe514c@dreader11.news.xs4all.nl>,
adff@CUTTHIS.xs4all.nl says...
Actually I also found after that a way to use X11 to detect right-mouse-button
clicks in ADE, and I was about to put the 2 together, but there did not seem to
be much interest.
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
 

Welcome to EDABoard.com

Sponsor

Back
Top