29.11.2014 Views

Fast Models Reference Manual - ARM Information Center

Fast Models Reference Manual - ARM Information Center

Fast Models Reference Manual - ARM Information Center

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Peripheral and Interface Components<br />

Library dependencies<br />

The OrGate component has no dependencies on external libraries.<br />

5.4.37 ICS307 component<br />

The ICS307 component implements a programmer's view model of an ICS307 clock divider. It<br />

can be used to convert the rate of one ClockSignal to another ClockSignal by application of<br />

configurable multiplier, divider and scale values.<br />

The Divider ratio can be set by startup parameters or at runtime by a configuration port. Changes<br />

to the input ClockSignal rate and divider ratio are reflected immediately by the output<br />

ClockSignal ports.<br />

The divisor ratio is determined by three values:<br />

• vdw<br />

• rdw<br />

• od.<br />

To calculate the divisor ratio, use:<br />

Divisor = ((rdw+2) * scale) / (2 * (vdw+8))<br />

where scale is derived from a table indexed by od, shown in Table 5-104:<br />

Table 5-104 od to scale conversion<br />

od<br />

scale<br />

0 10<br />

1 2<br />

2 8<br />

3 4<br />

4 5<br />

5 7<br />

6 3<br />

7 6<br />

The default values of vdw, rdw and od are 4, 6 and 3 to give a default divisor rate of:<br />

((6+2) * 4) / (2 * (4+8)) = 4/3<br />

Figure 5-57 shows a view of the component in System Canvas.<br />

This component is written in LISA+.<br />

Figure 5-57 ICS307 in System Canvas<br />

<strong>ARM</strong> DUI 0423J Copyright © 2008-2011 <strong>ARM</strong>. All rights reserved. 5-130<br />

ID051811<br />

Non-Confidential

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!