Merge pull request #1 from hanw/master

Add preliminary support for Altera FPGAs