C-004 A Hardware/Software Co-design Method with Reconfigurable Functions