Sign In

Don't have a Xilinx account yet?

  • Choose to receive important news and product information
  • Gain access to special content
  • Personalize your web experience on Xilinx.com

Create Account

Username

Password

Forgot your password?
XClose Panel
Xilinx Home
Reply
Visitor
kirancshet
Posts: 10
Registered: ‎03-20-2011
0

Using Cordic 4.0 Block

Hi,

I am trying to calculate the square root of the input using the Cordic 4.0 Block in Simulink.

 

Here is the Block I developed in Simulink : 

 

simulink.jpg

 

But, When I run the Simulation, I get the following error: 

 

 

BlockDescImpl::addclkCEPair: Tried to set clock rate for ("clk", "ce") as "-1"; rate must be a positive integer or Inf
Error occurred during "HDL Netlist Configuration".

Error occurred during "Simulation Initialization".

 

 

Here is the configuration Settings :

 

Cordic 4.0.1 Block : 

Page2 -> Data Format -> Unsigned Fraction,

Page2 -> Output Width -> 16

 

Gatewayin: 

Number of Inputs : 16

Binary Point : 15

 

Please let me know, If my cofiguration settings is proper or if my model is proper for calculating the square root of a real number.

 

Thanks

Kiran

 

Xilinx Employee
Xilinx Employee
ywu
Posts: 2,861
Registered: ‎11-28-2007
0

Re: Using Cordic 4.0 Block

Please attach the actual model file (.mdl) so other people can try it. It's hard to reproduce the problem with a snapshot.

 

 


kirancshet wrote:

Hi,

I am trying to calculate the square root of the input using the Cordic 4.0 Block in Simulink.

 

Here is the Block I developed in Simulink : 

 

simulink.jpg

 

But, When I run the Simulation, I get the following error: 

 

 

BlockDescImpl::addclkCEPair: Tried to set clock rate for ("clk", "ce") as "-1"; rate must be a positive integer or Inf
Error occurred during "HDL Netlist Configuration".

Error occurred during "Simulation Initialization".

 

 

Here is the configuration Settings :

 

Cordic 4.0.1 Block : 

Page2 -> Data Format -> Unsigned Fraction,

Page2 -> Output Width -> 16

 

Gatewayin: 

Number of Inputs : 16

Binary Point : 15

 

Please let me know, If my cofiguration settings is proper or if my model is proper for calculating the square root of a real number.

 

Thanks

Kiran

 


 

Cheers,
Jim