Xilinx V2.1 User Manual

Page 34

Advertising
background image

34

Xilinx Development System

Xilinx System Generator v2.1 Reference Guide

Block Parameters Dialog Box

The Counter block parameters dialog box is invoked by double-clicking the block
icon.

Figure 3-8: Counter block parameters dialog box

Parameters specific to the block are:

Number of Bits

: specifies the number of bits in the counter.

Binary Point Position

: specifies the location of the binary point.

Arithmetic Type

: specifies the block ouput to be either Signed or Unsigned.

Start Count at

: specifies the starting and reset value. The default is zero.

Count to Value

: specifies the ending value, the number at which the counter

resets. A value of

Inf

denotes the largest representable output in the specified

precision. This cannot be the same as the start count.

Count By Value

: specifies the increment, which must evenly divide the

difference between the extreme values.

Count Direction

: specifies the direction of the count (Up or Down).

Provide Reset Pin

: when checked, the block operates as a free running

counter with explicit reset port. In this case, there is no

Count to Value

setting.

Provide Load Pin

: when checked, the block operates as a free running load

counter with explicit load and din port. The load capability is available only for
free running counter.

Other parameters used by this block are described in the Common Parameters section
of the previous chapter.

Advertising