In an FPGA code, if I have something like the following:

(* LOC="M18" *)   output reg      lcd_e;

where lcd_e is an input/output port.

  1. Does this mean that I do not need to create a UCF file pointing lcd_e to M18?
  2. What does "(*" and "*)" indicate?

1 Answer 1

  1. Yes, this is another way to lock pins.
  2. It's a vendor-specific (Xilinx) way to lock pins. (* *) aren't standard
  • \$\begingroup\$ So, if a UCF file exists, which one overrides the other? \$\endgroup\$
    – Neel Mehta
    Commented May 16, 2012 at 18:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.