#NEWLINE# def generate_thread_parameters( common_values , parameters = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) : #NEWLINE# #INDENT# thread_count = common_values [ 'AB_ALU_PIPELINE_DEPTH' ] #NEWLINE# thread_parameters = { #NEWLINE# #INDENT# 'THREAD_COUNT' : thread_count , #NEWLINE# 'THREAD_ADDR_WIDTH' : misc . log2 ( thread_count ) , #NEWLINE# #UNINDENT# } #NEWLINE# parameters_misc . override ( common_values , parameters ) #NEWLINE# return thread_parameters