XC3000 | XC4000E | XC4000X | XC5200 | XC9000 | Spartan | SpartanXL | Spartan2 | Virtex |
---|---|---|---|---|---|---|---|---|
N/A | N/A | N/A | N/A | N/A | N/A | N/A | Primitive | N/A |
CAPTURE_SPARTAN2 provides user control over when to capture register (flip-flop and latch) information for readback. Spartan2 devices provide the readback function through dedicated configuration port instructions, instead of with a READBACK component as in other FPGA architectures. The CAPTURE_SPARTAN2 symbol is optional. Without it readback is still performed, but the asynchronous capture function it provides for register states is not available.
Note: Spartan2 only allows for capturing register (flip-flop and latch) states. Although LUT RAM, SRL, and block RAM states are read back, they cannot be captured.
An asserted High CAP signal indicates that the registers in the device are to be captured at the next Low-to-High clock transition. The Low-to-High clock transition triggers the capture clock (CLK) which clocks out the readback data.
By default, data is captured after every trigger (transition on CLK while CAP is asserted). To limit the readback operation to a single data capture, you can add the ONESHOT attribute to CAPTURE_SPARTAN2. Refer to the ONESHOT section of the Attributes, Constraints, and Carry Logic chapter for information on the ONESHOT attribute.
For details on the Spartan2 readback functions, refer to the Xilinx web site, http://support.xilinx.com.