![]() |
|
|
|||||||
![]() |
VHDL - overloading 'operators in VHDL |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
Hello,
I know that it is possible to overload operators like 'and', 'or', '+',... by using a function with the name "and", "or", "+",... . Is it also possible to overload the attribute operators like: 'high, 'left, 'low, ..? Is it possible to create your own attributes? best regards, Karel Dolphin |
|
|
|
|
#2 |
|
Posts: n/a
|
On Sep 13, 4:05 am, Dolphin <Karel.Dep...@gemidis.be> wrote:
> Hello, > > I know that it is possible to overload operators like 'and', 'or', > '+',... by using a function with the name "and", "or", "+",... . > Is it also possible to overload the attribute operators like: 'high, > 'left, 'low, ..? Is it possible to create your own attributes? > > best regards, > Karel Yes, you can create your own attributes. No, you cannot overload the definition of existing attributes. I seem to recall that user-defined attributes are not passed with the argument that owns them into subprograms. Andy Andy |
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to execute an external software from VHDL? And how to interface VHDL with JAVA? | becool_nikks | Software | 0 | 03-06-2009 07:08 PM |
| Help on auto conversion from Matlab to vhdl on filter design | hardheart | Hardware | 0 | 12-07-2007 09:19 AM |
| VHDL RAM help!:) | lastval | Hardware | 0 | 11-09-2007 01:40 PM |
| ARRAY(n DOWNTO 0) OF STD_LOGIC_VECTOR(m DOWNTO 0) - VHDL | freitass | Hardware | 0 | 11-01-2007 03:44 PM |
| DVD Verdict reviews: MADLAX: REALITY (VOLUME 7), STARSHIP OPERATORS: MEMORIES (VOLUME 2), and more! | DVD Verdict | DVD Video | 0 | 04-20-2006 09:36 AM |