litex.git
11 years agodvisampler/dma: buffer full memory words
Sebastien Bourdeauducq [Tue, 11 Jun 2013 16:15:16 +0000 (18:15 +0200)]
dvisampler/dma: buffer full memory words

11 years agos6ddrphy: fix read latency
Sebastien Bourdeauducq [Tue, 11 Jun 2013 14:02:34 +0000 (16:02 +0200)]
s6ddrphy: fix read latency

11 years agolasmicon: fix computation of interface latencies
Sebastien Bourdeauducq [Tue, 11 Jun 2013 13:27:05 +0000 (15:27 +0200)]
lasmicon: fix computation of interface latencies

11 years agolasmi: reduce latencies by 1 cycle
Sebastien Bourdeauducq [Tue, 11 Jun 2013 13:26:47 +0000 (15:26 +0200)]
lasmi: reduce latencies by 1 cycle

11 years agoSwitch to LASMI, bug pandemonium
Sebastien Bourdeauducq [Tue, 11 Jun 2013 12:18:16 +0000 (14:18 +0200)]
Switch to LASMI, bug pandemonium

11 years agomicroudp: fix compilation warning
Sebastien Bourdeauducq [Tue, 11 Jun 2013 12:03:39 +0000 (14:03 +0200)]
microudp: fix compilation warning

11 years agoNew simplified flash layout + build flashable images for SoC and videomixer
Sebastien Bourdeauducq [Sat, 1 Jun 2013 15:20:40 +0000 (17:20 +0200)]
New simplified flash layout + build flashable images for SoC and videomixer

11 years agosoftware/stdlib: fix atoi
Sebastien Bourdeauducq [Fri, 31 May 2013 12:44:52 +0000 (14:44 +0200)]
software/stdlib: fix atoi

11 years agosoftware/videomixer: improve phase calibration
Sebastien Bourdeauducq [Thu, 30 May 2013 19:40:16 +0000 (21:40 +0200)]
software/videomixer: improve phase calibration

11 years agosoftware/videomixer: remove unneeded DCM resets
Sebastien Bourdeauducq [Thu, 30 May 2013 19:39:56 +0000 (21:39 +0200)]
software/videomixer: remove unneeded DCM resets

11 years agodvisampler/clocking: remove DCM_CLKGEN
Sebastien Bourdeauducq [Thu, 30 May 2013 19:38:45 +0000 (21:38 +0200)]
dvisampler/clocking: remove DCM_CLKGEN

11 years agocif: move to milkymist folder
Sebastien Bourdeauducq [Thu, 30 May 2013 19:38:21 +0000 (21:38 +0200)]
cif: move to milkymist folder

11 years agobios: remove rescue
Sebastien Bourdeauducq [Tue, 28 May 2013 14:15:30 +0000 (16:15 +0200)]
bios: remove rescue

11 years agobios/linker.ld: flash -> rom
Sebastien Bourdeauducq [Tue, 28 May 2013 14:15:17 +0000 (16:15 +0200)]
bios/linker.ld: flash -> rom

11 years agodvisampler: increase frequency of reports to avoid missing WER values
Sebastien Bourdeauducq [Tue, 28 May 2013 14:15:00 +0000 (16:15 +0200)]
dvisampler: increase frequency of reports to avoid missing WER values

11 years agoUse new memory port API
Sebastien Bourdeauducq [Tue, 28 May 2013 13:56:14 +0000 (15:56 +0200)]
Use new memory port API

11 years agoUse migen.fhdl.std
Sebastien Bourdeauducq [Wed, 22 May 2013 15:10:13 +0000 (17:10 +0200)]
Use migen.fhdl.std

11 years agoSimplify system ID
Sebastien Bourdeauducq [Sun, 19 May 2013 17:44:00 +0000 (19:44 +0200)]
Simplify system ID

11 years agosoftware: add nofloat libbase for size-optimized binaries
Sebastien Bourdeauducq [Sun, 19 May 2013 10:41:40 +0000 (12:41 +0200)]
software: add nofloat libbase for size-optimized binaries

11 years agodvisampler: report the word error rate
Sebastien Bourdeauducq [Thu, 16 May 2013 20:38:55 +0000 (22:38 +0200)]
dvisampler: report the word error rate

11 years agoframebuffer: saturate instead of overflow
Sebastien Bourdeauducq [Thu, 16 May 2013 15:45:21 +0000 (17:45 +0200)]
framebuffer: saturate instead of overflow

11 years agosoftware/videomixer: support additive blending (enable with SW1, status on LED)
Sebastien Bourdeauducq [Thu, 16 May 2013 15:44:49 +0000 (17:44 +0200)]
software/videomixer: support additive blending (enable with SW1, status on LED)

11 years agosoftware/videomixer: better pot calibration
Sebastien Bourdeauducq [Thu, 16 May 2013 15:43:56 +0000 (17:43 +0200)]
software/videomixer: better pot calibration

11 years agoAdd GPIO buttons and LEDs
Sebastien Bourdeauducq [Thu, 16 May 2013 15:43:20 +0000 (17:43 +0200)]
Add GPIO buttons and LEDs

11 years agotimer: atomic reads
Sebastien Bourdeauducq [Mon, 13 May 2013 15:18:30 +0000 (17:18 +0200)]
timer: atomic reads

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