- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I an trying to find and understand how the "+" Operator works in VHDL. I understand the logic and operation of "+" but wanted to know where I can find the library that defines the operator as a function and what kind of binary addition method does "+" make use of as an operator. Thanks alot in advance :o:o:o Kind regards,Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can find it in many places, as it is defined for several types.
In numeric_std, it is defined for unsigned and signed types. In std.standard it is defined for integers. In VHDL 2008, it is defined in the fixed_pkg for ufixed and sfixed types, and in numeric_std_signed/unsigned it is defined for std_logic_vector type. But that wont really tell you how it is implemented. Arithmatic is usually treated as an abstracted function, so it wont map directly to the hardware that is implemented. The best example is multiply where the user has several options on how it is implemented (logic, dsp etc).
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page