From: Sebastien Bourdeauducq Date: Sun, 1 Jul 2012 20:30:07 +0000 (+0200) Subject: framebuffer: indentation X-Git-Tag: 24jan2021_ls180~3115 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=59289cfa3b3e11312b45dfcc0c0c0a167ad2e3fc;p=litex.git framebuffer: indentation --- 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):