Xilinx V2.1 Counter, Block Parameters Dialog Box, Xilinx System Generator v2.1 Reference Guide

Models: V2.1

1 148
Download 148 pages 48.7 Kb
Page 32
Image 32
Figure 3-7: Convert block parameters dialog box

Xilinx System Generator v2.1 Reference Guide

Block Parameters Dialog Box

The block parameters dialog box can be invoked by double-clicking the icon in your Simulink model.

Figure 3-7: Convert block parameters dialog box

All the parameters of the Convert block are parameters common to other blocks. Please refer to the Common Parameters section in the previous chapter for details.

Parameters defining the desired output type are:

Output Arithmetic Type

Number of Bits

Binary Point

Parameters defining the quantization effect and the overflow effect are:

Quantization Behavior

Overflow Behavior

The Convert block does not use a Xilinx LogiCORE.

Counter

The Xilinx Counter block implements an up or down counter. It can be configured to step between the starting and ending values, provided the increment evenly divides the difference between the starting and ending values. The counter output and increment values can be fixed point numbers in addition to integers.

The output for an up counter is calculated as follows:

The down counter calculation replaces addition by subtraction.

32

Xilinx Development System

Page 32
Image 32
Xilinx V2.1 Counter, Block Parameters Dialog Box, Xilinx System Generator v2.1 Reference Guide, Xilinx Development System