Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
16 years ago

Tcl Script

Please, can someone help me?

I must declare some entity in separate lut (or le).

I don't know the istruction to do it.

Do you know it?

Thank you very much.

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    This declaration maybe is possible with an attribute to the entity out of tcl script but in the declaration of the architecture.

    In Xilinx project this attribute is xc_map.

    There is an analog attribute for altera?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    In altera it's just a location assignment. I'm going from memory here so hopefully my syntax wrong.

    In your Project file or using a TCL script the syntax to constrain to the LAB level would be

    set_location_assignment LAB_X10_Y22 -to reg_a

    or to constrain to the LUT level

    set_location_assignment LC_X10_Y22_N0 -to reg_a

    I've noticed from your other posts that you are trying to do it via the code:

    (* altera, location=LC_X10_Y22_N0 *) reg reg_a;

    Jake