#NEWLINE# def elaborate_logic( s ) : #NEWLINE# #INDENT# s . temp = [ Wire ( 16 ) for x in xrange ( 2 ) ] #NEWLINE# @ s . combinational #NEWLINE# def comb_logic( ) : #NEWLINE# #INDENT# s . temp [ 0 ] . value = ( s . in_ & 65535 ) #NEWLINE# s . temp [ 1 ] . value = ( s . temp [ 0 ] & 65535 ) #NEWLINE# #UNINDENT# s . connect ( s . out , s . temp [ 1 ] )