sim: subscribe to ttl pulses
allow subscribing to ttl pulses for inter-device interaction during simulation
this commit replaces 6dda52ca in which universal subscribing with decorators was introduced. while that solutions is more elegant and universal, the artiq compiler can not handle the additional decorator and wrapper. hence, the current solution is more simplistic and does compile fine.