Xilinx UCF File

Xilinx UCF File

2

    Nov 14, 2007#1

    Hi.

    I'm new to UE and I'm still in experiences with it.
    I found great the wordfile stuff for highlight syntax but I don't find one highlight.
    The highlight I was searching is for UCF Constraint file for Xilinx devices.
    Does anyone have this file or know where can I search for it?

    Thank's

    6,604548
    Grand MasterGrand Master
    6,604548

      Nov 18, 2007#2

      There is none on this website. But it is not too difficult to create a syntax highlighting definition. The main problem is to get all keywords. I use normally the manual or help of the application which reads or writes a file to get all keywords.

      I entered syntax highlighting ucf xilinx in Google and amongst others I found this page PSPad editor extension. On this page is a link to a zip archive which contains an INI file which I think contains the list of keywords you need.

      With the UltraEdit help page about Syntax Highlighting, the Template for syntax highlighting language wordfile and my 3 ultimate syntax checking macros you should be able to create the UCF file by yourself. If you need further help, upload in a zip archive the wordfile you have already created and an example file and describe what is not working as you want. I will try to help you to fix that.
      Best regards from an UC/UE/UES for Windows user from Austria

      2

        Nov 19, 2007#3

        Thank's Mofi for the help.

        In my free times I will try to do what you say.
        If I have any problem I will ask for help.

        Chico @ Portugal

        25
        Basic UserBasic User
        25

          Mar 06, 2008#4

          Hi All,

          For you short on time guys, this is the UCF highlighting that I use. It's based on the above PSPad posting.
          There isn't much structure in UCF so, basically, this highlighting only groups keywords across different colours.

          Code: Select all

          /L18"UCF Files" Nocase Line Comment = # String Chars = " DisableMLS Block Comment On Alt = :! File Extensions = UCF
          /Delimiters = #	; ()*+,./:;<=>\
          /Function String = "%:!^([~ ^t^p]+^)[ ^t]++$"
          /C1"UCF Commands"
          AREA_GROUP ASYNC_REG
          BEL BLKNM BUFG
          COLLAPSE COMPGRP CONFIG CONFIG_MODE COOL_CLK
          DATA_GATE DCI_VALUE DISABLE DROP_SPEC
          ENABLE
          FEEDBACK FILE FLOAT FROM
          HBLKNM HU_SET
          IN INREG IOB IOBDELAY IOSTANDARD
          KEEP KEEP_HIERARCHY KEEPER
          LOC LOCATE LOCK_PIN
          MAP MAXDELAY MAXPT MAXSKEW
          NET NODELAY NOREDUCE
          OFFSET OPEN_DREIN OPT_EFFORT OPTIMIZE OUT
          PERIOD PIN PRIORITY PROHIBIT PWR_MODE
          REG RLOC RLOC_ORIGIN RLOC_RANGE
          SCHMITT_TRIGGER SLEW SYSTEM_JITTER
          TEMPERETURE THRU TIG TIMEGRP TIMESPEC TNM TO TPSYNC TPTHRU
          U_SET USE_RLOC USELOWSKEWLINES
          VFEF VOLTAGE
          WIREAND
          XBLKNM
          /C2"UCF Reserved"
          AUTO
          BOTH
          CLK CLOSED
          F FALSE FFG FFS FFY FORCE
          G
          IBUF IFD
          NONE
          OE OPEN
          PADS
          RECONFIG
          SOFT SR
          TRUE
          XORF XORG
          /C3"UCF Keyword"
          COMPRESSION
          DATAPATHONLY
          GROUP
          IMPLEMENT INST
          MODE
          PLACE
          RANGE ROUTE
          TNM_NET
          /C4"Delimiters"
          #
          $
          (
          )
          *
          +
          ,
          .
          // /
          :
          ;
          <
          =
          >
          \
          /C5"UCF Modifiers"
          AFTER
          BEFORE
          DRIVE
          FALLING FAST
          HIGH
          NOT
          PULLDOWN PULLUP
          RISING
          SLOW
          
          Good luck,
          vu

          1
          NewbieNewbie
          1

            Mar 10, 2008#5

            Just tried it, works fine.
            Thanks a lot to share it.

            Greets
            Pieter