# HG changeset patch # User Paul Boddie # Date 1466550251 -7200 # Node ID 0f424c197e9279d42c8a461fcfc483ac878d0142 # Parent 2a568a84bbafa3cf3df9522f1dc20f2db1f190ea Moved pixel generation to after the state update in the negative edge handler. diff -r 2a568a84bbaf -r 0f424c197e92 ula.py --- a/ula.py Wed Jun 22 00:51:54 2016 +0200 +++ b/ula.py Wed Jun 22 01:04:11 2016 +0200 @@ -336,7 +336,6 @@ "Update the state of the ULA for each clock cycle." self.posedge_ram() - self.posedge_pixel() def posedge_ram(self): @@ -411,7 +410,7 @@ self.ram.column_select(self.ram_address) - def posedge_pixel(self): + def negedge_pixel(self): "Pixel production." @@ -439,6 +438,7 @@ self.negedge_video() self.negedge_ram() + self.negedge_pixel() def negedge_video(self):