#NEWLINE# def __init__( s , nbits = 1 ) : #NEWLINE# #INDENT# s . in_ = InPort ( nbits ) #NEWLINE# s . out = OutPort ( nbits ) #NEWLINE# @ s . combinational #NEWLINE# def comb_logic( ) : #NEWLINE# #INDENT# s . out . value = ( ( ~ s . in_ ) + 1 )