What is a macro in HDL?

Status
Not open for further replies.

koppolu1981

Junior Member level 3
Joined
Apr 20, 2006
Messages
29
Helped
2
Reputation
4
Reaction score
1
Trophy points
1,283
Activity points
1,529
Hi,
Can anyone explain ,what is a macro in HDL? How to use it?
Difference between macros in programming languages and HDLs?
Thanks in advance,
Ram
 

A macro is nothing but a predefined HDL component available in HDL library.

AND, OR, XOR, etc. are available in library. Like that multiplier, squareroot, and other application specific components are called macros.
 

Macros are intermediate cells
i.e they are not either the leaf level cells like AND, OR etc or top level cells like ALU, CPU etc

they are the intermediate cells combining of leaf level cells like mulitiplexers, decoders,encoders etc
The library containig the macro cell is called GTECH library
 

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