I am using the the CORDIC ATAN block to calculate the Phase Difference. When I use it as independent block, it works fine.
But when the model is put in the library and used in another model, I am getting the following error:
Error in 'Phase Difference/CORDIC ATAN/CORDIC Fine Angle PE/CORDIC PE1': Initialization commands cannot be evaluated.
Here is the part of the model which might be interesting for you :
Please let me know if I am my model is proper or If I have to do some configuration changes which I might be missing
This is probaby because when you changed parameters the block didn't regenerate correctly.
This is one of the refernce designs. You might want to just try to use the CORDIC IP Block in System Generator for DSP.