¿ªÔÆÌåÓý

Stride in undocumented bus notation


 

Hi,

I'm not sure if it is already known, and it is definitely not mentioned in the "Undocumented LTspice" Wiki page:

I have a 8x8 matrix of signals and wanted to split off a bus by column.
signal[0],signal[8]...signal[56]

As a wild stab in the dark, I tried signal[0:63:8] to add a "stride" to the matrix notation. And it worked!
The dialog box prompt is correct:
"signal[0:63:8]" is a the name of a BUS with 8 conductors: signal[0], signal[8], signal[16], signal[24], signal[32], signal[40],signal[48], and signal[56]. Is this what you want?
Is there anyone that has edit permissions and would like to add this to the wiki?

Kind regards,
Hendrik

Join [email protected] to automatically receive all group messages.