A Practical Guide to Verilog-A by Slobodan Mijalković

A Practical Guide to Verilog-A by Slobodan Mijalković

Author:Slobodan Mijalković
Language: eng
Format: mobi, epub
ISBN: 9781484263518
Publisher: Apress
Published: 2022-09-16T06:09:32.018000+00:00


Arguments to the trigonometric functions (sin(), cos(), tan()) and return values of the inverse trigonometric functions (asin(), acos(), atan(), atan2()) are in radians. Input values outside of the valid range for the operator shall report an error.

The function atan2(x,y) is defined as the angle in the Euclidean plane, given in radians, between the positive y axis and the ray from the origin to the point (x, y). For y>0, atan2(x,y) = atan(x/y). However, for y>0 the single-argument arc-tangent function atan(x/y) cannot distinguish between diametrically opposite directions. In addition, an attempt to find the angle between the y axis and the vectors (x, 0), x ≠ 0 requires evaluation of arctan(x/0), which fails on division by zero. The atan2() function calculates one unique arc-tangent value from two variables x and y, where the signs of both arguments are used to determine the quadrant of the result, thereby selecting the desired branch of the arc-tangent of x/y.

Hyperbolic Functions

The hyperbolic functions supported by Verilog-A are shown in Table 10-3. They are all available in both traditional Verilog-A and system function styles.

Table 10-3 Hyperbolic functions in Verilog-A



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.