Seperated rtl and cpld implementation.