Fix break in switch statement, fix VHDL compilation errors