This block sets the Boolean output y to true, when the Boolean input u shows a rising edge:
y = edge( u );