Fix some array issues with HDL generation.
Merge branch 'master' of github.com:joewing/ScalaPipe