VHDL: com_spm corrected.