UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Visitor kirancshet
Visitor
4,075 Views
Registered: ‎03-20-2011

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

 

Tags (3)
0 Kudos
1 Reply
Xilinx Employee
Xilinx Employee
4,056 Views
Registered: ‎11-28-2007

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
0 Kudos