2
2
from migen .genlib .io import DifferentialInput , DifferentialOutput
3
3
4
4
5
- class QuartusDifferentialInputImpl (Module ):
5
+ class AlteraDifferentialInputImpl (Module ):
6
6
def __init__ (self , i_p , i_n , o ):
7
7
self .specials += Instance ("ALT_INBUF_DIFF" ,
8
8
name = "ibuf_diff" ,
@@ -11,13 +11,13 @@ def __init__(self, i_p, i_n, o):
11
11
o_o = o )
12
12
13
13
14
- class QuartusDifferentialInput :
14
+ class AlteraDifferentialInput :
15
15
@staticmethod
16
16
def lower (dr ):
17
- return QuartusDifferentialInputImpl (dr .i_p , dr .i_n , dr .o )
17
+ return AlteraDifferentialInputImpl (dr .i_p , dr .i_n , dr .o )
18
18
19
19
20
- class QuartusDifferentialOutputImpl (Module ):
20
+ class AlteraDifferentialOutputImpl (Module ):
21
21
def __init__ (self , i , o_p , o_n ):
22
22
self .specials += Instance ("ALT_OUTBUF_DIFF" ,
23
23
name = "obuf_diff" ,
@@ -26,13 +26,13 @@ def __init__(self, i, o_p, o_n):
26
26
o_obar = o_n )
27
27
28
28
29
- class QuartusDifferentialOutput :
29
+ class AlteraDifferentialOutput :
30
30
@staticmethod
31
31
def lower (dr ):
32
- return QuartusDifferentialOutputImpl (dr .i , dr .o_p , dr .o_n )
32
+ return AlteraDifferentialOutputImpl (dr .i , dr .o_p , dr .o_n )
33
33
34
34
35
35
altera_special_overrides = {
36
- DifferentialInput : QuartusDifferentialInput ,
37
- DifferentialOutput : QuartusDifferentialOutput
36
+ DifferentialInput : AlteraDifferentialInput ,
37
+ DifferentialOutput : AlteraDifferentialOutput
38
38
}
0 commit comments