Primitive v.s. Macro

FPGA projects on this site, or abroad

Primitive v.s. Macro

Postby eleleesp » Sat Aug 12, 2006 10:37 am

Hi,
I am a user of Xilinx Spartan-3, I am confused about "primitive" and "macro".
For example in the schematic library, DCM (Digital Clock Manager) is considered as "Primitive", while M2_1 (2-to-1 Multiplexer) is a "Macro". Can anyone explain?
Or does my question make sense at all?
eleleesp
 
Posts: 1
Joined: Sun May 28, 2006 6:50 pm

Postby Kristallo » Sat Aug 12, 2006 5:29 pm

There is not a significant difference.

A primitive is a building block that can't be divided up into smaller parts. A macro consists of several primitives and possibly some other information.
Kristallo
 
Posts: 203
Joined: Mon Sep 20, 2004 3:25 am

Postby tkbits » Wed Aug 16, 2006 11:27 pm

I have not found a way to use the macros in VHDL or Verilog code.

If I use schematic entry, each schematic file is translated into VHDL or Verilog code, determined by "design flow". For every schematic that uses a macro, that macro will produce definition code for a VHDL entity or a Verilog module.
tkbits
 
Posts: 114
Joined: Mon Aug 02, 2004 10:36 pm


Return to General projects