Project

General

Profile

IP documentation » History » Version 8

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

1 2 Jean-Christophe Pellion
{{child_pages}}
2
3
{{collapse(View details...)
4
This is a block of text that is collapsed by default.
5
It can be expanded by clicking a link.
6
}}
7
8
----
9
10 1 Jean-Christophe Pellion
h1. IP documentation
11
12
h2. General Purpose
13
14
----
15
16
h3. Synchronizer
17
18 8 Jean-Christophe Pellion
19 1 Jean-Christophe Pellion
{{collapse(SyncFF)
20 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.
21
You can configure the FF number (default 2). This number is depending of the MTBF(Mean Time Between Failure).
22
23
p=. !{width: 25%}SYNC_FF.png! <pre><code class="vhdl">
24
  COMPONENT SYNC_FF_LPP_JCP
25
    GENERIC (
26
      NB_FF_OF_SYNC : INTEGER);
27
    PORT (
28
      clk    : IN  STD_LOGIC;
29
      rstn   : IN  STD_LOGIC;
30
      A      : IN  STD_LOGIC;
31
      A_sync : OUT STD_LOGIC);
32
  END COMPONENT;
33
</code></pre>
34
35
36
|_.Parameter   |_.Type         |_.Size  |_.Description         |_.Default   |
37
|NB_FF_OF_SYNC |Integer        |        |Number of FF          |2            |
38
|\5.|
39
|_.Signal      |_.Direction    |_.Size  |_.Function            |_. Active   |
40 7 Jean-Christophe Pellion
|clk           |input          |1       |clock                 |rising edge |
41
|rstn          |input          |1       |reset                 |low         |
42 6 Jean-Christophe Pellion
|A             |input          |1       |data in               |            |
43 3 Jean-Christophe Pellion
|A_sync        |ouput          |1       |data out synchronized |            |
44 2 Jean-Christophe Pellion
45
}}