Subject: [6tisch] Default hopping sequence

From: Michel Veillette <[email-masked]>
Date: Wed, 12 Nov 2014 18:22:53 +0000

I'll like to confirm that the output of python script produced by Thomas Watteyne (https://gist.github.com/twatteyne/2e22ee3c1a802b685695) is similar to the work I did in the context of a different standard using tool called LFSRTestbench (http://www.fpga4fun.com/Counters3.html) and the following Excel spreadsheet.

LFSR

MOD(16)

0

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

<- Channel list

511

15

15

1

2

3

4

5

6

7

8

9

10

11

12

13

14

0

510

14

15

14

2

3

4

5

6

7

8

9

10

11

12

13

1

0

508

12

15

14

12

3

4

5

6

7

8

9

10

11

2

13

1

0

504

8

15

14

12

8

4

5

6

7

3

9

10

11

2

13

1

0

496

0

4

14

12

8

15

5

6

7

3

9

10

11

2

13

1

0

480

0

5

14

12

8

15

4

6

7

3

9

10

11

2

13

1

0

449

1

5

6

12

8

15

4

14

7

3

9

10

11

2

13

1

0

387

3

5

6

12

7

15

4

14

8

3

9

10

11

2

13

1

0

263

7

5

6

12

7

15

4

14

3

8

9

10

11

2

13

1

0

15

15

5

6

12

7

15

4

14

3

8

0

10

11

2

13

1

9

30

14

5

6

12

7

15

4

14

3

8

0

1

11

2

13

10

9

61

13

5

6

12

7

15

4

14

3

8

0

1

13

2

11

10

9

123

11

5

6

12

7

15

4

14

3

8

0

1

2

13

11

10

9

247

7

5

6

12

7

15

4

14

11

8

0

1

2

13

3

10

9

495

15

5

6

12

7

15

4

14

11

8

0

1

2

13

3

9

10

479

15

5

6

12

7

15

4

14

11

8

0

1

2

13

3

9

10

<- Channel Hopping Sequence

You will find in attachment an updated version of the python script with the following added features:

*         Ability to specify an arbitrary channel list (e.g channel 11 to 26 instead of 0 to 15)

*         Ability to generate a hopping sequence using a different seed

Regards,

Michel Veillette
System Architecture Director
Trilliant Inc.
Tel: 450-375-0556 ext. 237
[email-masked]<mailto:[email-masked]>
www.trilliantinc.com<http://www.trilliantinc.com/>

---

From: Thomas Watteyne <[email-masked]>
Date: Wed, 12 Nov 2014 12:50:33 -1000

Michel,
Thanks for confirming your get the same results. Can someone else confirm
that this is, indeed, the right calculation?
Thomas

On Wed, Nov 12, 2014 at 8:22 AM, Michel Veillette <
[email-masked]> wrote:

>  I’ll like to confirm that the output of python script produced by Thomas
> Watteyne (https://gist.github.com/twatteyne/2e22ee3c1a802b685695) is
> similar to the work I did in the context of a different standard using tool
> called LFSRTestbench (http://www.fpga4fun.com/Counters3.html) and the
> following Excel spreadsheet.
>
>
>
>
>
> LFSR
>
> MOD(16)
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> 0
>
> 1
>
> 2
>
> 3
>
> 4
>
> 5
>
> 6
>
> 7
>
> 8
>
> 9
>
> 10
>
> 11
>
> 12
>
> 13
>
> 14
>
> 15
>
> <- Channel list
>
> 511
>
> 15
>
> 15
>
> 1
>
> 2
>
> 3
>
> 4
>
> 5
>
> 6
>
> 7
>
> 8
>
> 9
>
> 10
>
> 11
>
> 12
>
> 13
>
> 14
>
> 0
>
>
>
> 510
>
> 14
>
> 15
>
> 14
>
> 2
>
> 3
>
> 4
>
> 5
>
> 6
>
> 7
>
> 8
>
> 9
>
> 10
>
> 11
>
> 12
>
> 13
>
> 1
>
> 0
>
>
>
> 508
>
> 12
>
> 15
>
> 14
>
> 12
>
> 3
>
> 4
>
> 5
>
> 6
>
> 7
>
> 8
>
> 9
>
> 10
>
> 11
>
> 2
>
> 13
>
> 1
>
> 0
>
>
>
> 504
>
> 8
>
> 15
>
> 14
>
> 12
>
> 8
>
> 4
>
> 5
>
> 6
>
> 7
>
> 3
>
> 9
>
> 10
>
> 11
>
> 2
>
> 13
>
> 1
>
> 0
>
>
>
> 496
>
> 0
>
> 4
>
> 14
>
> 12
>
> 8
>
> 15
>
> 5
>
> 6
>
> 7
>
> 3
>
> 9
>
> 10
>
> 11
>
> 2
>
> 13
>
> 1
>
> 0
>
>
>
> 480
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6
>
> 12
>
> 7
>
> 15
>
> 4
>
> 14
>
> 11
>
> 8
>
> 0
>
> 1
>
> 2
>
> 13
>
> 3
>
> 9
>
> 10
>
>
>
> 479
>
> 15
>
> 5
>
> 6
>
> 12
>
> 7
>
> 15
>
> 4
>
> 14
>
> 11
>
> 8
>
> 0
>
> 1
>
> 2
>
> 13
>
> 3
>
> 9
>
> 10
>
>
>
> ·         Ability to specify an arbitrary channel list (e.g channel 11 to
> 26 instead of 0 to 15)
>
> ·         Ability to generate a hopping sequence using a different seed
>
>
>
> Regards,
>
>
>
>
> Michel Veillette
> [email-masked]
>
> www.trilliantinc.com
>
>
>
>
>
> _______________________________________________
> 6tisch mailing list
> [email-masked]
> https://www.ietf.org/mailman/listinfo/6tisch
>
>