The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl Design Languages >> VHDL-AMS >> Complex free quantity ? https://designers-guide.org/forum/YaBB.pl?num=1191847311 Message started by microsys on Oct 8th, 2007, 5:41am |
Title: Complex free quantity ? Post by microsys on Oct 8th, 2007, 5:41am Hello designer's community! I have a question about using free quantities types. The sytax rule for a free quantity declaration specify that the type must be either a floating-point type or a composite type whose scalar elements are all floating point types. Complex type is defined in IEEE.MATH_COMPLEX package as: type COMPLEX is record RE, IM: real; end record; Can I deduce that using of free quantities of complex type is allowed? Thanks in advance for your answers. |
Title: Re: Complex free quantity ? Post by Sameer Kher on Oct 9th, 2007, 12:44pm You are correct. As you have already pointed out, quantities can be of a composite type whose scalar sub-elements are floating point types. You are also able to define composite branch quantities. |
The Designer's Guide Community Forum » Powered by YaBB 2.2.2! YaBB © 2000-2008. All Rights Reserved. |