litex.git
11 years agosoftware/videomixer: connect crossfade and blackout pots
Sebastien Bourdeauducq [Mon, 13 May 2013 13:45:28 +0000 (15:45 +0200)]
software/videomixer: connect crossfade and blackout pots

11 years agotop: integrate ADC for pots
Sebastien Bourdeauducq [Mon, 13 May 2013 13:45:06 +0000 (15:45 +0200)]
top: integrate ADC for pots

11 years agoMerge pull request #1 from fallen/makefile-001
Sébastien Bourdeauducq [Mon, 13 May 2013 07:38:26 +0000 (00:38 -0700)]
Merge pull request #1 from fallen/makefile-001

Some Makefile love

11 years agosoftware/videomixer: framebuffer enable/disable
Sebastien Bourdeauducq [Sun, 12 May 2013 19:46:16 +0000 (21:46 +0200)]
software/videomixer: framebuffer enable/disable

11 years agoFirst video mixing working (hacky)
Sebastien Bourdeauducq [Sun, 12 May 2013 13:58:08 +0000 (15:58 +0200)]
First video mixing working (hacky)

11 years agoSome Makefile love
Yann Sionneau [Fri, 10 May 2013 20:30:28 +0000 (23:30 +0300)]
Some Makefile love

11 years agocleanup
Sebastien Bourdeauducq [Sat, 11 May 2013 10:45:30 +0000 (12:45 +0200)]
cleanup

11 years agoframebuffer: fix alpha blending
Sebastien Bourdeauducq [Sat, 11 May 2013 07:21:12 +0000 (09:21 +0200)]
framebuffer: fix alpha blending

11 years agoFramebuffer mixing
Sebastien Bourdeauducq [Fri, 10 May 2013 19:03:55 +0000 (21:03 +0200)]
Framebuffer mixing

11 years agoframebuffer: reorganize in preparation for mixer
Sebastien Bourdeauducq [Thu, 9 May 2013 17:23:22 +0000 (19:23 +0200)]
framebuffer: reorganize in preparation for mixer

11 years agosoftware/dvisampler: periodically reset PLL until locked + recalibrate IO every second
Sebastien Bourdeauducq [Thu, 9 May 2013 12:11:08 +0000 (14:11 +0200)]
software/dvisampler: periodically reset PLL until locked + recalibrate IO every second

11 years agosoftware/dvimixer: support two channels
Sebastien Bourdeauducq [Thu, 9 May 2013 11:41:21 +0000 (13:41 +0200)]
software/dvimixer: support two channels

11 years agodvisampler/dma: better 8:8:8 -> 10:10:10 conversion
Sebastien Bourdeauducq [Thu, 9 May 2013 09:27:24 +0000 (11:27 +0200)]
dvisampler/dma: better 8:8:8 -> 10:10:10 conversion

11 years agosoftware/videomixer: interrupt-driven video passthrough
Sebastien Bourdeauducq [Thu, 9 May 2013 08:52:43 +0000 (10:52 +0200)]
software/videomixer: interrupt-driven video passthrough

11 years agodvisampler/dma: reverse slot allocation order
Sebastien Bourdeauducq [Thu, 9 May 2013 08:51:50 +0000 (10:51 +0200)]
dvisampler/dma: reverse slot allocation order

11 years agodvisampler/dma: fix interrupt generation
Sebastien Bourdeauducq [Thu, 9 May 2013 08:51:34 +0000 (10:51 +0200)]
dvisampler/dma: fix interrupt generation

11 years agodvisampler/dma: bugfixes
Sebastien Bourdeauducq [Wed, 8 May 2013 20:50:40 +0000 (22:50 +0200)]
dvisampler/dma: bugfixes

11 years agotop: connect dvisampler DMA IRQs
Sebastien Bourdeauducq [Wed, 8 May 2013 20:31:42 +0000 (22:31 +0200)]
top: connect dvisampler DMA IRQs

11 years agosoftware/videomixer: use new DMA engine
Sebastien Bourdeauducq [Wed, 8 May 2013 20:31:18 +0000 (22:31 +0200)]
software/videomixer: use new DMA engine

11 years agodvisampler: new DMA engine (buggy)
Sebastien Bourdeauducq [Wed, 8 May 2013 20:31:01 +0000 (22:31 +0200)]
dvisampler: new DMA engine (buggy)

11 years agocif: do not generate write function for CSRStatus
Sebastien Bourdeauducq [Wed, 8 May 2013 18:58:27 +0000 (20:58 +0200)]
cif: do not generate write function for CSRStatus

11 years agotimer, uart: EventSourceLevel -> EventSourceProcess
Sebastien Bourdeauducq [Wed, 8 May 2013 16:11:42 +0000 (18:11 +0200)]
timer, uart: EventSourceLevel -> EventSourceProcess

11 years agodvisampler: mostly working, very basic and slightly buggy DMA
Sebastien Bourdeauducq [Mon, 6 May 2013 07:58:12 +0000 (09:58 +0200)]
dvisampler: mostly working, very basic and slightly buggy DMA

11 years agosoftware/videomixer: send to framebuffer
Sebastien Bourdeauducq [Mon, 6 May 2013 07:56:49 +0000 (09:56 +0200)]
software/videomixer: send to framebuffer

11 years agoanother attempt at fixing clock routing issues
Sebastien Bourdeauducq [Mon, 6 May 2013 07:56:10 +0000 (09:56 +0200)]
another attempt at fixing clock routing issues

11 years agobuild.py: LOC clock generator components to limit breakage of the ISE shitware
Sebastien Bourdeauducq [Sun, 5 May 2013 21:07:15 +0000 (23:07 +0200)]
build.py: LOC clock generator components to limit breakage of the ISE shitware

11 years agobuild.py: support single DVI sampler
Sebastien Bourdeauducq [Sun, 5 May 2013 18:56:58 +0000 (20:56 +0200)]
build.py: support single DVI sampler

11 years agochansync: bugfix
Sebastien Bourdeauducq [Sun, 5 May 2013 13:07:57 +0000 (15:07 +0200)]
chansync: bugfix

11 years agotb: add chansync
Sebastien Bourdeauducq [Sun, 5 May 2013 13:07:36 +0000 (15:07 +0200)]
tb: add chansync

11 years agodvisampler: connect sync polarity detection
Sebastien Bourdeauducq [Sun, 5 May 2013 10:58:53 +0000 (12:58 +0200)]
dvisampler: connect sync polarity detection

11 years agodvisampler/chansync: fix FIFO width
Sebastien Bourdeauducq [Sun, 5 May 2013 10:58:24 +0000 (12:58 +0200)]
dvisampler/chansync: fix FIFO width

11 years agosoftware/videomixer: use new resdetection regs
Sebastien Bourdeauducq [Sun, 5 May 2013 09:58:43 +0000 (11:58 +0200)]
software/videomixer: use new resdetection regs

11 years agodvisampler/resdetection: use DE instead of hsync
Sebastien Bourdeauducq [Sun, 5 May 2013 09:54:36 +0000 (11:54 +0200)]
dvisampler/resdetection: use DE instead of hsync

11 years agodvisampler: add sync polarity detection module (thanks Lars for suggestions)
Sebastien Bourdeauducq [Sun, 5 May 2013 09:53:38 +0000 (11:53 +0200)]
dvisampler: add sync polarity detection module (thanks Lars for suggestions)

11 years agodvisampler/decoding: hold C when DE=1
Sebastien Bourdeauducq [Sun, 5 May 2013 09:51:48 +0000 (11:51 +0200)]
dvisampler/decoding: hold C when DE=1

11 years agodvisampler: add RawDVISampler
Sebastien Bourdeauducq [Sat, 4 May 2013 18:40:21 +0000 (20:40 +0200)]
dvisampler: add RawDVISampler

11 years agodvisampler/datacapture: swap bit pairs
Sebastien Bourdeauducq [Sat, 4 May 2013 18:38:50 +0000 (20:38 +0200)]
dvisampler/datacapture: swap bit pairs

11 years agobuild: only add UCF constraints for the cores that are present
Sebastien Bourdeauducq [Thu, 2 May 2013 21:56:09 +0000 (23:56 +0200)]
build: only add UCF constraints for the cores that are present

11 years agoRemove unneeded file
Sebastien Bourdeauducq [Wed, 1 May 2013 15:13:40 +0000 (17:13 +0200)]
Remove unneeded file

11 years agosoftware: put network code in a library
Sebastien Bourdeauducq [Tue, 30 Apr 2013 22:12:13 +0000 (00:12 +0200)]
software: put network code in a library

11 years agoframebuffer: use DMA controller from Migen
Sebastien Bourdeauducq [Tue, 30 Apr 2013 16:55:35 +0000 (18:55 +0200)]
framebuffer: use DMA controller from Migen

11 years agoRemove undriven reset signals
Sebastien Bourdeauducq [Thu, 25 Apr 2013 18:19:49 +0000 (20:19 +0200)]
Remove undriven reset signals

11 years agoTell the Xilinx crapware that DCM_CLKGEN does not phase align, as some (but not all...
Sebastien Bourdeauducq [Thu, 25 Apr 2013 18:18:45 +0000 (20:18 +0200)]
Tell the Xilinx crapware that DCM_CLKGEN does not phase align, as some (but not all) of the ISE tools remark.

11 years agoUse the Migen asynchronous FIFO
Sebastien Bourdeauducq [Thu, 25 Apr 2013 17:43:26 +0000 (19:43 +0200)]
Use the Migen asynchronous FIFO

11 years agominimac3: move psync
Sebastien Bourdeauducq [Thu, 25 Apr 2013 16:36:45 +0000 (18:36 +0200)]
minimac3: move psync

11 years agoadc: double-register asynchronous inputs
Sebastien Bourdeauducq [Fri, 19 Apr 2013 10:32:12 +0000 (12:32 +0200)]
adc: double-register asynchronous inputs

11 years agomilkymist/adc/__init__.py: CounterADC - simple counter-based ADC
Werner Almesberger [Thu, 18 Apr 2013 16:33:25 +0000 (13:33 -0300)]
milkymist/adc/__init__.py: CounterADC - simple counter-based ADC

This is a revised version of the counter-based ADC.

11 years agodvisampler/chansync: set synced to 0 when control tokens do not arrive at the same...
Sebastien Bourdeauducq [Tue, 16 Apr 2013 20:21:03 +0000 (22:21 +0200)]
dvisampler/chansync: set synced to 0 when control tokens do not arrive at the same time

11 years agotftp.h, tftp.c: add tftp_put
Werner Almesberger [Tue, 16 Apr 2013 16:55:28 +0000 (13:55 -0300)]
tftp.h, tftp.c: add tftp_put

11 years agotftp.c: use symbolic constant for block size
Werner Almesberger [Tue, 16 Apr 2013 16:55:27 +0000 (13:55 -0300)]
tftp.c: use symbolic constant for block size

11 years agotftp.c (format_request): pass opcode as argument
Werner Almesberger [Tue, 16 Apr 2013 16:55:26 +0000 (13:55 -0300)]
tftp.c (format_request): pass opcode as argument

11 years agotftp.c: use uintNN_t instead of "unsigned short", etc.
Werner Almesberger [Tue, 16 Apr 2013 16:55:25 +0000 (13:55 -0300)]
tftp.c: use uintNN_t instead of "unsigned short", etc.

11 years agotftp.h, tftp.c (tftp_get): make "buffer" void and use unsigned char internally
Werner Almesberger [Tue, 16 Apr 2013 16:55:24 +0000 (13:55 -0300)]
tftp.h, tftp.c (tftp_get): make "buffer" void and use unsigned char internally

11 years agotftp.c: make "packet_data" unsigned and optimize strcpy+strlen
Werner Almesberger [Tue, 16 Apr 2013 16:55:23 +0000 (13:55 -0300)]
tftp.c: make "packet_data" unsigned and optimize strcpy+strlen

11 years agotftp.c (rx_callback): simplify expressions containing unnecessary casts
Werner Almesberger [Tue, 16 Apr 2013 16:55:22 +0000 (13:55 -0300)]
tftp.c (rx_callback): simplify expressions containing unnecessary casts

11 years agotftp.c: use symbolic constants for protocol opcodes
Werner Almesberger [Tue, 16 Apr 2013 16:55:21 +0000 (13:55 -0300)]
tftp.c: use symbolic constants for protocol opcodes

11 years agomicroudp.c: avoid redundant accesses into multi-level structures
Werner Almesberger [Tue, 16 Apr 2013 16:55:20 +0000 (13:55 -0300)]
microudp.c: avoid redundant accesses into multi-level structures

11 years agodvisampler/chansync: use Record.raw_bits()
Sebastien Bourdeauducq [Sun, 14 Apr 2013 15:06:29 +0000 (17:06 +0200)]
dvisampler/chansync: use Record.raw_bits()

11 years agodvisampler/clocking: insert DCM_CLKGEN before PLL
Sebastien Bourdeauducq [Sun, 14 Apr 2013 14:53:19 +0000 (16:53 +0200)]
dvisampler/clocking: insert DCM_CLKGEN before PLL

11 years agosoftware/videomixer: use new csr.h
Sebastien Bourdeauducq [Sun, 14 Apr 2013 14:33:00 +0000 (16:33 +0200)]
software/videomixer: use new csr.h

11 years agoedid.py: sample SCL only every 64 clock cycles, to avoid bouncing
Werner Almesberger [Fri, 12 Apr 2013 20:38:31 +0000 (17:38 -0300)]
edid.py: sample SCL only every 64 clock cycles, to avoid bouncing

Possibly due to SCL rising fairly slowly (in the 0.5-1 us range),
bouncing has been observed while crossing the "forbidden" region
between Vil(max) and Vih(min).

By lowering the sample rate from once per system clock to once
every 64 clock cycles, we make sure we sample at most once during
the bounce interval and thus never see a false edge. (Although we
may see a rising edge one sample time late, which is perfectly
harmless.)

11 years agoframebuffer: use new flow API
Sebastien Bourdeauducq [Wed, 10 Apr 2013 19:34:15 +0000 (21:34 +0200)]
framebuffer: use new flow API

11 years agodfii: adapt to new Record API
Sebastien Bourdeauducq [Mon, 1 Apr 2013 22:15:42 +0000 (00:15 +0200)]
dfii: adapt to new Record API

11 years agoConvert to new CSR API
Sebastien Bourdeauducq [Sat, 30 Mar 2013 16:28:15 +0000 (17:28 +0100)]
Convert to new CSR API

11 years agoframebuffer: larger counters
Sebastien Bourdeauducq [Fri, 29 Mar 2013 16:15:11 +0000 (17:15 +0100)]
framebuffer: larger counters

11 years agom1crg: reset VGA clock generator
Sebastien Bourdeauducq [Fri, 29 Mar 2013 16:14:48 +0000 (17:14 +0100)]
m1crg: reset VGA clock generator

11 years agoframebuffer: process two pixels per system clock cycle
Sebastien Bourdeauducq [Thu, 28 Mar 2013 19:46:16 +0000 (20:46 +0100)]
framebuffer: process two pixels per system clock cycle

11 years agotop: allocate one more ASMI port to framebuffer
Sebastien Bourdeauducq [Thu, 28 Mar 2013 19:46:00 +0000 (20:46 +0100)]
top: allocate one more ASMI port to framebuffer

11 years agom1crg: allow up to 150MHz pixel clock
Sebastien Bourdeauducq [Thu, 28 Mar 2013 19:45:42 +0000 (20:45 +0100)]
m1crg: allow up to 150MHz pixel clock

11 years agocrg: support VGA pixel clock reprogramming
Sebastien Bourdeauducq [Thu, 28 Mar 2013 18:07:17 +0000 (19:07 +0100)]
crg: support VGA pixel clock reprogramming

11 years agoUse new Mibuild generic_platform API
Sebastien Bourdeauducq [Tue, 26 Mar 2013 16:57:17 +0000 (17:57 +0100)]
Use new Mibuild generic_platform API

11 years agoframebuffer: RGBA -> ARGB
Sebastien Bourdeauducq [Mon, 25 Mar 2013 17:32:25 +0000 (18:32 +0100)]
framebuffer: RGBA -> ARGB

11 years agofb: better ordering of pixels within ASMI words
Sebastien Bourdeauducq [Mon, 25 Mar 2013 14:56:54 +0000 (15:56 +0100)]
fb: better ordering of pixels within ASMI words

11 years agoAutomatically build CSR access functions
Sebastien Bourdeauducq [Mon, 25 Mar 2013 13:42:48 +0000 (14:42 +0100)]
Automatically build CSR access functions

11 years agosoftware/include/base: C++ compatibility
Sebastien Bourdeauducq [Mon, 25 Mar 2013 13:38:58 +0000 (14:38 +0100)]
software/include/base: C++ compatibility

11 years agosoftware/common.mak: add C++ definitions
Sebastien Bourdeauducq [Sun, 24 Mar 2013 15:11:53 +0000 (16:11 +0100)]
software/common.mak: add C++ definitions

11 years agosoftware/videomixer: report char position + detected resolution, detect phase at...
Sebastien Bourdeauducq [Sat, 23 Mar 2013 23:46:23 +0000 (00:46 +0100)]
software/videomixer: report char position + detected resolution, detect phase at beginning

11 years agodvisampler: add resolution detection
Sebastien Bourdeauducq [Sat, 23 Mar 2013 23:45:29 +0000 (00:45 +0100)]
dvisampler: add resolution detection

11 years agodvisampler/charsync: report position
Sebastien Bourdeauducq [Sat, 23 Mar 2013 23:44:50 +0000 (00:44 +0100)]
dvisampler/charsync: report position

11 years agodvisampler/decoding: set C to 0 during data
Sebastien Bourdeauducq [Sat, 23 Mar 2013 23:44:19 +0000 (00:44 +0100)]
dvisampler/decoding: set C to 0 during data

11 years agodvisampler/charsync: fix found_control signal
Sebastien Bourdeauducq [Sat, 23 Mar 2013 23:43:22 +0000 (00:43 +0100)]
dvisampler/charsync: fix found_control signal

11 years agosoftware/stddef.h: c++ compat for NULL
Sebastien Bourdeauducq [Sat, 23 Mar 2013 23:17:42 +0000 (00:17 +0100)]
software/stddef.h: c++ compat for NULL

11 years agodvisampler: clean up EDID data
Sebastien Bourdeauducq [Sat, 23 Mar 2013 12:48:40 +0000 (13:48 +0100)]
dvisampler: clean up EDID data

11 years agodvisampler: decode before channel sync
Sebastien Bourdeauducq [Fri, 22 Mar 2013 22:49:25 +0000 (23:49 +0100)]
dvisampler: decode before channel sync

11 years agodvisampler: decoding
Sebastien Bourdeauducq [Fri, 22 Mar 2013 20:28:17 +0000 (21:28 +0100)]
dvisampler: decoding

11 years agodvisampler: channel synchronization
Sebastien Bourdeauducq [Fri, 22 Mar 2013 17:37:10 +0000 (18:37 +0100)]
dvisampler: channel synchronization

11 years agodvisampler: character synchronization
Sebastien Bourdeauducq [Thu, 21 Mar 2013 21:56:13 +0000 (22:56 +0100)]
dvisampler: character synchronization

11 years agodvisampler/datacapture: deserialize to 10 bits
Sebastien Bourdeauducq [Thu, 21 Mar 2013 18:06:15 +0000 (19:06 +0100)]
dvisampler/datacapture: deserialize to 10 bits

11 years agodvisampler/clocking: generate pix reset
Sebastien Bourdeauducq [Thu, 21 Mar 2013 18:02:04 +0000 (19:02 +0100)]
dvisampler/clocking: generate pix reset

11 years agosoftware/videomixer: quick hack for phase detection
Sebastien Bourdeauducq [Thu, 21 Mar 2013 14:32:26 +0000 (15:32 +0100)]
software/videomixer: quick hack for phase detection

11 years agosoftware: add videomixer base files
Sebastien Bourdeauducq [Thu, 21 Mar 2013 09:42:31 +0000 (10:42 +0100)]
software: add videomixer base files

11 years agosoftware/bios: change boot order
Sebastien Bourdeauducq [Thu, 21 Mar 2013 09:41:56 +0000 (10:41 +0100)]
software/bios: change boot order

11 years agodvisampler: software controlled phase detector
Sebastien Bourdeauducq [Wed, 20 Mar 2013 23:46:29 +0000 (00:46 +0100)]
dvisampler: software controlled phase detector

11 years agodvisampler/clocking: proper pix5x reset synchronization
Sebastien Bourdeauducq [Mon, 18 Mar 2013 19:31:59 +0000 (20:31 +0100)]
dvisampler/clocking: proper pix5x reset synchronization

11 years agodvisampler: use pix5x as IODELAY clock
Sebastien Bourdeauducq [Mon, 18 Mar 2013 18:03:17 +0000 (19:03 +0100)]
dvisampler: use pix5x as IODELAY clock

11 years agoUse Instance.Input(..., ClockSignal/ResetSignal) instead of Instance.ClockPort/ResetPort
Sebastien Bourdeauducq [Mon, 18 Mar 2013 16:44:01 +0000 (17:44 +0100)]
Use Instance.Input(..., ClockSignal/ResetSignal) instead of Instance.ClockPort/ResetPort

11 years agom1crg: set CLKIN_PERIOD for vga_clock_gen
Sebastien Bourdeauducq [Sun, 17 Mar 2013 19:16:58 +0000 (20:16 +0100)]
m1crg: set CLKIN_PERIOD for vga_clock_gen

11 years agodvisampler/datacapture: connect IODELAY IOCLK0
Sebastien Bourdeauducq [Sun, 17 Mar 2013 16:42:22 +0000 (17:42 +0100)]
dvisampler/datacapture: connect IODELAY IOCLK0

11 years agodvisampler/datacapture: fix tap counter reg
Sebastien Bourdeauducq [Sun, 17 Mar 2013 16:36:49 +0000 (17:36 +0100)]
dvisampler/datacapture: fix tap counter reg

11 years agodvisampler: fixes
Sebastien Bourdeauducq [Sun, 17 Mar 2013 14:41:50 +0000 (15:41 +0100)]
dvisampler: fixes