Previous

Reading NCD Files with NCDRead

An NCD (Circuit Description) file contains a physical description of your design in terms of the components in the target architecture. NCDRead enables you to quickly generate an ASCII (text) file based on the data found in one or more NCD files.

To start NCDRead from the UNIX or DOS command line, type the following.

ncdread [-o outfile_name] filename0.ncd {filename1.ncd ...}


NOTE

Standard output goes only to your screen if you do not use the -o option to write the output to a file.


Following is an example of an output file from NCDRead. The example gives information on three of the 335 components in the design. An actual file includes information on all the components.

 Loading design for application ncdread from file fpga1.ncd.
       "hdp6q160" is an NCD, version 2.27, device xc4006e, package pq160, speed -4
    Loading device for application ncdread from file '4006e.nph' in environment
    /xilinx/x1_5.15.
    NC_DESIGN <hdp6q160> - version 2.27
      vendor = Xilinx, package = pq160, speed = -4
      335 comps
        NC_COMP:0 - <TIMOUT0> site = CLB_R4C1
                Config String: <CLKX:CLK ECX:#OFF CLKY:CLK DY:G XMUX:#OFF
                YMUX:#OFF G3MUX:#OFF G2MUX:COUT0 F4MUX:#OFF CARRY:INC XQMUX:QX
                YQMUX:QY ECY:#OFF DX:F H1:#OFF DIN:#OFF SR:C3 EC:#OFF
                FCARRY:CARRY H:#OFF: H0:#OFF H2:#OFF RAMCLK:#OFF RAM:#OFF
                GCARRY:CARRY G:#LUT:G=G2@G4 F:#LUT:F=~(F1) CINMUX:1 SETX:SR
                SETY:SR SRX:RESET SRY:RESET>
            19 pins - 
              pin 2 - C3: <$6N244>
              pin 5 - F1: <TIMOUT0>
              pin 12 - G4: <TIMOUT1>
              pin 13 - K: <$6N228>
              pin 14 - COUT: <$6I223/C2>
              pin 16 - XQ: <TIMOUT0>
              pin 18 - YQ: <TIMOUT1>
        NC_COMP:1 - <TIMOUT2> site = CLB_R3C1
                Config String: <CLKX:CLK ECX:#OFF CLKY:CLK DY:G XMUX:#OFF
                YMUX:#OFF G3MUX:#OFF G2MUX:COUT0 F4MUX:CIN CARRY:INC XQMUX:QX
                YQMUX:QY ECY:#OFF DX:F H1:#OFF DIN:#OFF SR:C3 EC:#OFF
                FCARRY:CARRY H:#OFF: H0:#OFF H2:#OFF RAMCLK:#OFF RAM:#OFF
                GCARRY:CARRY G:#LUT:G=G4@G2 F:#LUT:F=F1@F4 CINMUX:CIN SETX:SR
                SETY:SR SRX:RESET SRY:RESET>
            19 pins - 
              pin 2 - C3: <$6N244>
              pin 4 - CIN: <$6I223/C2>
              pin 5 - F1: <TIMOUT2>
              pin 12 - G4: <TIMOUT3>
              pin 13 - K: <$6N228>
              pin 14 - COUT: <$6I223/C4>
              pin 16 - XQ: <TIMOUT2>
              pin 18 - YQ: <TIMOUT3>
        NC_COMP:2 - <TIMOUT4> site = CLB_R2C1
                Config String: <CLKX:CLK ECX:#OFF CLKY:CLK DY:G XMUX:#OFF
                YMUX:#OFF G3MUX:#OFF G2MUX:COUT0 F4MUX:CIN CARRY:INC XQMUX:QX
                YQMUX:QY ECY:#OFF DX:F H1:#OFF DIN:#OFF SR:C3 EC:#OFF
                FCARRY:CARRY H:#OFF: H0:#OFF H2:#OFF RAMCLK:#OFF RAM:#OFF
                GCARRY:CARRY G:#LUT:G=G4@G2 F:#LUT:F=F1@F4 CINMUX:CIN SETX:SR
                SETY:SR SRX:RESET SRY:RESET>
            19 pins - 
              pin 2 - C3: <$6N244>
              pin 4 - CIN: <$6I223/C4>
              pin 5 - F1: <TIMOUT4>
              pin 12 - G4: <TIMOUT5>
              pin 13 - K: <$6N228>
              pin 14 - COUT: <$6I223/C6>
              pin 16 - XQ: <TIMOUT4>
              pin 18 - YQ: <TIMOUT5>  
Next