<s> def ctrl_thread ( ) : <EOL> print ( "<STR_LIT>" ) <EOL> ram = CoramMemory ( <NUM_LIT:0> , <NUM_LIT:32> , <NUM_LIT> ) <EOL> channel = CoramChannel ( <NUM_LIT:0> , <NUM_LIT:32> ) <EOL> addr = <NUM_LIT> <EOL> sum = <NUM_LIT:0> <EOL> for i in range ( <NUM_LIT:4> ) : <EOL> ram . write ( <NUM_LIT:0> , addr , <NUM_LIT> ) <EOL> channel . write ( addr ) <EOL> sum = channel . read ( ) <EOL> addr += <NUM_LIT> <EOL> print ( '<STR_LIT>' , sum ) <EOL> ctrl_thread ( ) </s>
