remove tri in design. add /*synthesis keep*/ for some signals.