Skip to content

Commit

Permalink
framebuffer: control.For -> misc.IntSequence
Browse files Browse the repository at this point in the history
Sebastien Bourdeauducq committed Jun 22, 2012
1 parent ef13dc1 commit 53fec31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions milkymist/framebuffer/__init__.py
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
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 @@ def __init__(self, address, asmiport):
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))

0 comments on commit 53fec31

Please sign in to comment.