Skip to content
Snippets Groups Projects
Commit 013a6db6 authored by Daniel van der Schuur's avatar Daniel van der Schuur
Browse files

-Added simple script to print destination ports.

parent 12aa0196
No related branches found
No related tags found
No related merge requests found
from common import *
for cs_nr, uniboard_nr in zip((range(2,8) + [1,11,13,17,21,32]), range(2, 14)):
for node_name, node_index in zip(['BN0', 'BN1'], [4,5]):
dst_port = CommonBits(0xd0, 8) & CommonBits(uniboard_nr, 5) & CommonBits(node_index, 3)
print 'CS', cs_nr, 'UNB', uniboard_nr, node_name, 'dst port', int(dst_port)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment