Project

General

Profile

IP documentation » History » Version 11

Jean-Christophe Pellion, 27/02/2014 04:03 PM

1 10 Jean-Christophe Pellion
{{>toc}}
2 1 Jean-Christophe Pellion
3 11 Jean-Christophe Pellion
h1. IP Documentation
4 1 Jean-Christophe Pellion
5 11 Jean-Christophe Pellion
h2. General Purpose
6
7 1 Jean-Christophe Pellion
----
8 10 Jean-Christophe Pellion
9 11 Jean-Christophe Pellion
h1. Synchronizer
10 8 Jean-Christophe Pellion
11 1 Jean-Christophe Pellion
{{collapse(SyncFF)
12 8 Jean-Christophe Pellion
Sync_FF permit to synchronize a signal A in the clock domain clk. Normally, the A signal must be the output of a FF cloked in an other domain. You shouldtn't have "logic" between the 2 domain.
13
You can configure the FF number (default 2). This number is depending of the MTBF(Mean Time Between Failure).
14
15
p=. !{width: 25%}SYNC_FF.png! <pre><code class="vhdl">
16
  COMPONENT SYNC_FF_LPP_JCP
17
    GENERIC (
18
      NB_FF_OF_SYNC : INTEGER);
19
    PORT (
20
      clk    : IN  STD_LOGIC;
21
      rstn   : IN  STD_LOGIC;
22
      A      : IN  STD_LOGIC;
23
      A_sync : OUT STD_LOGIC);
24
  END COMPONENT;
25
</code></pre>
26
27
28
|_.Parameter   |_.Type         |_.Size  |_.Description         |_.Default   |
29
|NB_FF_OF_SYNC |Integer        |        |Number of FF          |2            |
30
|\5.|
31
|_.Signal      |_.Direction    |_.Size  |_.Function            |_. Active   |
32 7 Jean-Christophe Pellion
|clk           |input          |1       |clock                 |rising edge |
33
|rstn          |input          |1       |reset                 |low         |
34 6 Jean-Christophe Pellion
|A             |input          |1       |data in               |            |
35 3 Jean-Christophe Pellion
|A_sync        |ouput          |1       |data out synchronized |            |
36 2 Jean-Christophe Pellion
37
}}