Example #1
0
 def __init__(self):
     Special.__init__(self)
     self.init = list()
     self.imm = list()
     self.conc = list()
     self.glob = list()
     self.sync = dict()
Example #2
0
	def __init__(self, i, idomain, o, odomain, n=2):
		Special.__init__(self)
		self.i = i
		self.idomain = idomain
		self.o = o
		self.odomain = odomain
		self.n = n
Example #3
0
File: io.py Project: zoobab/litex
 def __init__(self, i, o, clk=ClockSignal()):
     assert len(i) == len(o) == 1
     Special.__init__(self)
     self.i            = wrap(i)
     self.o            = wrap(o)
     self.clk          = wrap(clk)
     self.clk_domain   = None if not hasattr(clk, "cd") else clk.cd
Example #4
0
File: cdc.py Project: m-labs/migen
 def __init__(self, i, o, odomain="sys", n=2, reset=0):
     Special.__init__(self)
     self.i = wrap(i)
     self.o = wrap(o)
     self.odomain = odomain
     self.n = n
     self.reset = reset
Example #5
0
File: cdc.py Project: bunnie/migen
 def __init__(self, i, o, odomain="sys", n=2, reset=0):
     Special.__init__(self)
     self.i = wrap(i)
     self.o = wrap(o)
     self.odomain = odomain
     self.n = n
     self.reset = reset
Example #6
0
File: io.py Project: zoobab/litex
 def __init__(self, io, o, oe, i, clk=ClockSignal()):
     assert len(i) == len(o) == len(oe)
     Special.__init__(self)
     self.io           = wrap(io)
     self.o            = wrap(o)
     self.oe           = wrap(oe)
     self.i            = wrap(i)
     self.clk          = wrap(clk)
Example #7
0
 def __init__(self, io, o1, o2, oe1, oe2, i1, i2, clk=ClockSignal()):
     Special.__init__(self)
     self.io = io
     self.o1 = o1
     self.o2 = o2
     self.oe1 = oe1
     self.oe2 = oe2
     self.i1 = i1
     self.i2 = i2
     self.clk = clk
Example #8
0
File: cdc.py Project: jix/migen
	def __init__(self, i, o, odomain="sys", n=2):
		Special.__init__(self)
		self.i = i
		self.o = o
		self.odomain = odomain
		self.n = n
Example #9
0
File: cdc.py Project: jix/migen
	def __init__(self, reg):
		Special.__init__(self)
		self.reg = reg
Example #10
0
	def __init__(self, cd, async_reset):
		Special.__init__(self)
		self.cd = cd
		self.async_reset = async_reset
Example #11
0
 def __init__(self, cd, async_reset):
     Special.__init__(self)
     self.cd = cd
     self.async_reset = wrap(async_reset)
Example #12
0
File: io.py Project: zoobab/litex
 def __init__(self, i1, i2, o, clk=ClockSignal()):
     Special.__init__(self)
     self.i1  = i1
     self.i2  = i2
     self.o   = o
     self.clk = clk
Example #13
0
File: io.py Project: zoobab/litex
 def __init__(self, i, o_p, o_n):
     Special.__init__(self)
     self.i   = wrap(i)
     self.o_p = wrap(o_p)
     self.o_n = wrap(o_n)
Example #14
0
 def __init__(self, i, o_p, o_n):
     Special.__init__(self)
     self.i = wrap(i)
     self.o_p = wrap(o_p)
     self.o_n = wrap(o_n)
Example #15
0
File: io.py Project: fallen/migen
 def __init__(self, i, o1, o2, clk=ClockSignal()):
     Special.__init__(self)
     self.i = i
     self.o1 = o1
     self.o2 = o2
     self.clk = clk
Example #16
0
File: io.py Project: fallen/migen
 def __init__(self, i, o_p, o_n):
     Special.__init__(self)
     self.i = i
     self.o_p = o_p
     self.o_n = o_n
Example #17
0
 def __init__(self, i_p, i_n, o):
     Special.__init__(self)
     self.i_p = wrap(i_p)
     self.i_n = wrap(i_n)
     self.o = wrap(o)
Example #18
0
 def __init__(self, i, o1, o2, clk=ClockSignal()):
     Special.__init__(self)
     self.i = wrap(i)
     self.o1 = wrap(o1)
     self.o2 = wrap(o2)
     self.clk = wrap(clk)
Example #19
0
File: io.py Project: fallen/migen
 def __init__(self, i_p, i_n, o):
     Special.__init__(self)
     self.i_p = i_p
     self.i_n = i_n
     self.o = o
Example #20
0
File: io.py Project: zoobab/litex
 def __init__(self, i, o1, o2, clk=ClockSignal()):
     Special.__init__(self)
     self.i   = wrap(i)
     self.o1  = wrap(o1)
     self.o2  = wrap(o2)
     self.clk = wrap(clk)
Example #21
0
File: io.py Project: fallen/migen
 def __init__(self, i1, i2, o, clk=ClockSignal()):
     Special.__init__(self)
     self.i1 = i1
     self.i2 = i2
     self.o = o
     self.clk = clk
Example #22
0
File: io.py Project: zoobab/litex
 def __init__(self, i_p, i_n, o):
     Special.__init__(self)
     self.i_p = wrap(i_p)
     self.i_n = wrap(i_n)
     self.o   = wrap(o)