rewrite control.vhd etc..