Causality

This branch has code for clock si and downstream generation.