framebuffer: control.For -> misc.IntSequence
authorSebastien Bourdeauducq <sebastien@milkymist.org>
Fri, 22 Jun 2012 13:01:25 +0000 (15:01 +0200)
committerSebastien Bourdeauducq <sebastien@milkymist.org>
Fri, 22 Jun 2012 13:01:25 +0000 (15:01 +0200)
milkymist/framebuffer/__init__.py

index d86585b86e160045c76abcb274e17fb9b07c9941..0fe5cd85027213cb0bd88a8a1c56a73784333cfd 100644 (file)
@@ -2,7 +2,7 @@ from migen.fhdl.structure import *
 from migen.flow.actor import *
 from migen.flow.network import *
 from migen.flow import ala, plumbing
-from migen.actorlib import control, dma_asmi
+from migen.actorlib import misc, dma_asmi
 from migen.bank.description import *
 from migen.bank import csrgen
 
@@ -73,7 +73,7 @@ class Framebuffer:
                length_bits = _hbits + _vbits + 2 - alignment_bits
                
                fi = ActorNode(_FrameInitiator(asmi_bits, length_bits, alignment_bits))
-               adrloop = ActorNode(control.For(length_bits))
+               adrloop = ActorNode(misc.IntSequence(length_bits))
                adrbase = ActorNode(ala.Add(BV(asmi_bits)))
                adrbuffer = ActorNode(plumbing.Buffer)
                dma = ActorNode(dma_asmi.SequentialReader(asmiport))