#NEWLINE# def verify_signals( signal_list , ref_list ) : #NEWLINE# #INDENT# x = sorted ( [ ( y . name , x . nbits ) for x in signal_list ] ) #NEWLINE# y = sorted ( ref_list ) #NEWLINE# assert ( x == y )