Xilinx V2.1 ds = 2k 2i = 2k +, N s = ds × ws = k 2k +, Block Parameters Dialog Box, Xilinx Blocks

Models: V2.1

1 148
Download 148 pages 48.7 Kb
Page 125
Image 125
ds = (2k )(2i ) = 2k + i

Xilinx Blocks

The Next State Matrix and the Output Array are composed in the following way:

Figure 3-90: Construction of Next State and Output matrices

The rows of the matrices correspond to the current state. The next state matrix has one columns for each input value. The output array has only one column since the input value does not affect the output of the state machine.

Block Parameters Dialog Box

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

Figure 3-91: Registered Moore State Machine block parameters dialog box

The next state logic, state register, is implemented using the Xilinx Block RAM LogiCORE. A separate Block RAM LogiCORE is used to implement the output logic and output register.

The number of bits used to implement the state logic and state register is given by the equations:

ds = (2k )(2i ) = 2k + i

ws = k

N s = ds × ws = (k )(2k + i )

State Machine

125

Page 125
Image 125
Xilinx V2.1 manual ds = 2k 2i = 2k +, N s = ds × ws = k 2k +, Block Parameters Dialog Box, Xilinx Blocks, State Machine