Hello sameer,
I don't recommend you use the directly porting, because there always some error need to configuration.
You can create a new project on KDS, then copy the the function files from CW to KDS project , build ,
even there is error , it easy to find and fix.
It seems you just want use KDS to develop K70, so I recommend you can create Processor Expert project
on KDS, there is also example , they can directly run on KDS :
- When create project ,please choose "Processor Expert" :

- For example , you want configuration a GPIO, just double click "GPIO_LDD" , it will add to your project :

- Then click "help on component " -> Typical Usage :


Hope it helps
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------