From 53fec3191cbd1da859120c8c8fca4fa61a6d9eb5 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Fri, 22 Jun 2012 15:01:25 +0200 Subject: [PATCH] framebuffer: control.For -> misc.IntSequence --- milkymist/framebuffer/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/milkymist/framebuffer/__init__.py b/milkymist/framebuffer/__init__.py index d86585b86..0fe5cd850 100644 --- a/milkymist/framebuffer/__init__.py +++ b/milkymist/framebuffer/__init__.py @@ -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))