Problem Conversion float to integer

Status
Not open for further replies.

Deka87

Newbie level 6
Joined
Jan 12, 2013
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,390
Good Morning at all,
I've a problem with the ADE L in cadence 6.

I've needed to convert a variable in Design Variable from float to integer. But during the simulation, Spectre returns an error. I've used a a function round(N), where N is my float number. Spectre returns me Function 'round ' is undefined.

I hope there is a anyone can help me.

Thanks in advanced.

Francesco
 

I've used a a function round(N), where N is my float number. Spectre returns me Function 'round ' is undefined.

Did you try to redefine the variable N to its same name? Like: N=round(N) ?

If so, try and define a new name, like: roundedN=round(N) .
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…