Pin Mapping

There are three ways to describe the pin mapping of the XJLink connector:

  1. Provide the name of a Pin Mapping File (.xjpm) that describes the mapping.

    // User-defined pin map in separate file
    JTAG CHAIN
        CONNECTOR "JTAG Header"
            TDI := CN12.5;
            TDO := CN12.6;
    
            PINMAP "custom.xjpm";
        END;
    END;
    
  2. Use a standard pin mapping (one of BYTEBLASTER, MULTIICE, XILINX or XJTAG).

    // Built-in standard pin map.
    JTAG CHAIN
        CONNECTOR "JTAG Header"
            TDI := CN12.1;
            TDO := CN12.2;
    
            MAPPING
                XJTAG;
                POWER := ON;
            END;
        END;
    END;
        
  3. Specify a custom pin mapping, using the same syntax as a pin mapping file, e.g. by pasting the contents of the *.xjpm file into the preamble file.

    // User-defined pin map inline
    JTAG CHAIN
        CONNECTOR "JTAG Header"
            TDI := CN12.7;
            TDO := CN12.8;
    
            MAPPING
                TDI := 1 HI;
                TDO := 3;
                TMS := 5 HI;
                TCK := 6 HI;
                LOW := 7 HI;
    
                TRST := 8;
            END;
        END;
    END;