amma has asked for the wisdom of the Perl Monks concerning the following question:
I want to split the following data automatically
tlp_p2 <= (((((((NOT(tlp_p0(0) XOR tlp_add_p0(0)) AND NOT(tlp_p0(1) XOR tlp_add_p0(1))) AND NOT(tlp_p0(2) XOR t +lp_add_p0(2))) etc
like $var1 = (NOT(tlp_p0(0) XOR tlp_add_p0(0))
$var2 = (NOT(tlp_p0(1) XOR tlp_add_p0(1))
Can somebody help with initial code: limitations: 1. I do not know how many variables i should split in first place. I mean the logic may contain 0,1....12 bits
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: splitting data
by kcott (Archbishop) on Apr 23, 2013 at 10:00 UTC | |
|
Re: splitting data
by MidLifeXis (Monsignor) on Apr 23, 2013 at 12:41 UTC | |
by hdb (Monsignor) on Apr 24, 2013 at 11:42 UTC | |
|
Re: splitting data
by Anonymous Monk on Apr 23, 2013 at 08:57 UTC | |
|
Re: splitting data
by hdb (Monsignor) on Apr 23, 2013 at 09:07 UTC |