In reply to chr_sue:
I had a closer look to your code. The clock generation did im module top did not work. I have fixed this. See