Hi, Rohan,
As GHS is proprietary compiler provider, you would need to buy license for GHS. And you would need to install Greenhills "eclipse" plugin to use it on S32Design Studio.
Also, please check this link for guide to use GHS plugin
Please let us know if you face any further issue.
Thank you. Kind regards.
- Mehul Patel