This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class SdiXyzEncoder(Module): | |
def __init__(self): | |
self.i_timing_flags = Record(SDI_TIMING_FLAGS) | |
self.o_data = Signal(SDI_ELEMENTARY_STREAM_DATA_WIDTH) | |
### | |
protection_bits = Signal(4) | |
self.comb += [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
from litex.build.generic_platform import * | |
from litex.build.xilinx import XilinxPlatform | |
_io = [ | |
("clk25", 0, Pins("C18"), IOStandard("LVCMOS18")), | |
("user_led", 0, Pins("E21"), IOStandard("LVCMOS18")), | |
("user_led", 1, Pins("E22"), IOStandard("LVCMOS18")), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=== modified file 'common/draw_panel.cpp' | |
--- common/draw_panel.cpp 2015-03-03 12:41:43 +0000 | |
+++ common/draw_panel.cpp 2015-03-06 17:28:10 +0000 | |
@@ -936,7 +936,7 @@ | |
// This is a zoom in or out command | |
if( event.GetWheelRotation() > 0 ) | |
{ | |
- if( event.ShiftDown() && !event.ControlDown() ) | |
+ if( !event.ShiftDown() && !event.ControlDown() ) | |
{ |