From 59289cfa3b3e11312b45dfcc0c0c0a167ad2e3fc Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sun, 1 Jul 2012 22:30:07 +0200 Subject: [PATCH] framebuffer: indentation --- milkymist/framebuffer/__init__.py | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/milkymist/framebuffer/__init__.py b/milkymist/framebuffer/__init__.py index cc02c4c2..89e74a86 100644 --- a/milkymist/framebuffer/__init__.py +++ b/milkymist/framebuffer/__init__.py @@ -187,19 +187,20 @@ class FIFO(Actor): ], clkport="clk_write") t = self.token("dac") - return Fragment([ - asfifo.ins["read_en"].eq(1), - - self.endpoints["dac"].ack.eq(~asfifo.outs["full"]), - asfifo.ins["write_en"].eq(self.endpoints["dac"].stb), - asfifo.ins["data_in"].eq(Cat(~t.hsync, ~t.vsync, t.r, t.g, t.b)), - - self.busy.eq(0), - asfifo.ins["rst"].eq(0) - ], [ - Cat(self.vga_hsync_n, self.vga_vsync_n, self.vga_r, self.vga_g, self.vga_b).eq(asfifo.outs["data_out"]) - ], - instances=[asfifo]) + return Fragment( + [ + asfifo.ins["read_en"].eq(1), + + self.endpoints["dac"].ack.eq(~asfifo.outs["full"]), + asfifo.ins["write_en"].eq(self.endpoints["dac"].stb), + asfifo.ins["data_in"].eq(Cat(~t.hsync, ~t.vsync, t.r, t.g, t.b)), + + self.busy.eq(0), + asfifo.ins["rst"].eq(0) + ], [ + Cat(self.vga_hsync_n, self.vga_vsync_n, self.vga_r, self.vga_g, self.vga_b).eq(asfifo.outs["data_out"]) + ], + instances=[asfifo]) class FakeDMA(Actor): def __init__(self, port): -- 2.30.2