Hi rajuparammal,
As far as i know NXP does not have a simulator for the S32K14x product families capable to simulate the core and peripherals.
Nonetheless, if you wish to test some generic C code on an ARM core similar with the one used by S32K14x controllers then i would suggest to look at IAR Workbench IDE. They support various ARM core simulators and depending on the code size of your project you might be able to use it for free.
Hope it helps!
Daniel