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. 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
    May 16 '12 at 18:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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