litex.git
11 years agodvisampler: hold PLL in reset when disabled
Sebastien Bourdeauducq [Mon, 18 Nov 2013 19:36:30 +0000 (20:36 +0100)]
dvisampler: hold PLL in reset when disabled

11 years agoframebuffer: expose PLL DRP to CSR
Sebastien Bourdeauducq [Mon, 18 Nov 2013 19:32:33 +0000 (20:32 +0100)]
framebuffer: expose PLL DRP to CSR

11 years agodvisampler: expose PLL DRP to CSR
Sebastien Bourdeauducq [Mon, 18 Nov 2013 19:32:21 +0000 (20:32 +0100)]
dvisampler: expose PLL DRP to CSR

11 years agoframebuffer: unpack memory words in pixel clock domain for better perf
Sebastien Bourdeauducq [Sun, 17 Nov 2013 22:41:18 +0000 (23:41 +0100)]
framebuffer: unpack memory words in pixel clock domain for better perf

11 years agovideomixer: reduce debug output
Sebastien Bourdeauducq [Sun, 17 Nov 2013 22:40:42 +0000 (23:40 +0100)]
videomixer: reduce debug output

11 years agovideomixer: add more video modes
Sebastien Bourdeauducq [Sat, 16 Nov 2013 16:41:03 +0000 (17:41 +0100)]
videomixer: add more video modes

11 years agovideomixer: flush L2 after CPU framebuffer write
Sebastien Bourdeauducq [Sat, 16 Nov 2013 15:27:58 +0000 (16:27 +0100)]
videomixer: flush L2 after CPU framebuffer write

11 years agobios: flushl2 command
Sebastien Bourdeauducq [Sat, 16 Nov 2013 15:27:34 +0000 (16:27 +0100)]
bios: flushl2 command

11 years agoadd L2 cache size in identifier + function to flush L2
Sebastien Bourdeauducq [Sat, 16 Nov 2013 15:27:21 +0000 (16:27 +0100)]
add L2 cache size in identifier + function to flush L2

11 years agovideomixer: fix stray DMA detection
Sebastien Bourdeauducq [Sat, 16 Nov 2013 12:53:38 +0000 (13:53 +0100)]
videomixer: fix stray DMA detection

11 years agodvisampler: pack pixels in pixel clock domain to improve performance
Sebastien Bourdeauducq [Sat, 16 Nov 2013 12:53:26 +0000 (13:53 +0100)]
dvisampler: pack pixels in pixel clock domain to improve performance

11 years agovideomixer: clear framebuffers
Sebastien Bourdeauducq [Fri, 15 Nov 2013 10:25:58 +0000 (11:25 +0100)]
videomixer: clear framebuffers

11 years agoframebuffer: reset VTG
Sebastien Bourdeauducq [Fri, 15 Nov 2013 10:25:07 +0000 (11:25 +0100)]
framebuffer: reset VTG

11 years agovideomixer: check resolution and frame length
Sebastien Bourdeauducq [Wed, 13 Nov 2013 17:57:39 +0000 (18:57 +0100)]
videomixer: check resolution and frame length

11 years agodvisampler: update address CSR at end of DMA
Sebastien Bourdeauducq [Wed, 13 Nov 2013 17:57:10 +0000 (18:57 +0100)]
dvisampler: update address CSR at end of DMA

11 years agovideomixer: filter PLL lock output
Sebastien Bourdeauducq [Wed, 13 Nov 2013 15:50:09 +0000 (16:50 +0100)]
videomixer: filter PLL lock output

11 years agomicroudp: fix udp txlen
Robert Jordens [Mon, 11 Nov 2013 22:45:45 +0000 (15:45 -0700)]
microudp: fix udp txlen

* the preample length 8 is already included in sizeof(struct
ethernet_header)
* the minimum packet size is 64, exluding fcs and including
preample it is 68 (the arp functions are correct)

11 years agovideomixer: support resolution change at runtime
Sebastien Bourdeauducq [Mon, 11 Nov 2013 22:20:21 +0000 (23:20 +0100)]
videomixer: support resolution change at runtime

11 years agovideomixer: add more video modes
Sebastien Bourdeauducq [Mon, 11 Nov 2013 21:16:56 +0000 (22:16 +0100)]
videomixer: add more video modes

11 years agovideomixer: compute best m/d value for pixel clock synthesizer
Sebastien Bourdeauducq [Mon, 11 Nov 2013 20:30:12 +0000 (21:30 +0100)]
videomixer: compute best m/d value for pixel clock synthesizer

11 years agovideomixer: set established timing bits in EDID
Sebastien Bourdeauducq [Mon, 11 Nov 2013 17:56:13 +0000 (18:56 +0100)]
videomixer: set established timing bits in EDID

11 years agovideomixer: generate EDID
Sebastien Bourdeauducq [Mon, 11 Nov 2013 16:52:07 +0000 (17:52 +0100)]
videomixer: generate EDID

11 years agocpuif: add memories to csr.h
Sebastien Bourdeauducq [Mon, 11 Nov 2013 15:53:00 +0000 (16:53 +0100)]
cpuif: add memories to csr.h

11 years agovideomixer: add EDID manipulation routines
Sebastien Bourdeauducq [Sun, 10 Nov 2013 22:50:18 +0000 (23:50 +0100)]
videomixer: add EDID manipulation routines

11 years agocosmetic changes
Sebastien Bourdeauducq [Sun, 10 Nov 2013 15:12:24 +0000 (16:12 +0100)]
cosmetic changes

11 years agocommon.mak: drop the echo from the version tag finding, did not work here, use python -c
Robert Jordens [Sun, 10 Nov 2013 11:25:08 +0000 (04:25 -0700)]
common.mak: drop the echo from the version tag finding, did not work here, use python -c

Signed-off-by: Robert Jordens <jordens@gmail.com>
11 years agos6ddrphy: use shorter Instance argument notation
Robert Jordens [Fri, 8 Nov 2013 07:35:47 +0000 (00:35 -0700)]
s6ddrphy: use shorter Instance argument notation

Signed-off-by: Robert Jordens <jordens@gmail.com>
11 years agocommon.mak: specify python3
Sebastien Bourdeauducq [Sun, 10 Nov 2013 10:29:27 +0000 (11:29 +0100)]
common.mak: specify python3

11 years agos6ddrphy: drop unused outputs, shortens verilog and produces more readable warnings
Robert Jordens [Fri, 8 Nov 2013 07:28:50 +0000 (00:28 -0700)]
s6ddrphy: drop unused outputs, shortens verilog and produces more readable warnings

Signed-off-by: Robert Jordens <jordens@gmail.com>
11 years agocommon.mak: -Os instead of -O3, smaller bios (<32k)
Robert Jordens [Sun, 10 Nov 2013 09:50:41 +0000 (10:50 +0100)]
common.mak: -Os instead of -O3, smaller bios (<32k)

11 years agocpuif.py: add _ADDR and _SIZE defines for each register
Robert Jordens [Fri, 8 Nov 2013 07:25:38 +0000 (00:25 -0700)]
cpuif.py: add _ADDR and _SIZE defines for each register

Signed-off-by: Robert Jordens <jordens@gmail.com>
11 years agotop: set platform ID
Sebastien Bourdeauducq [Sat, 9 Nov 2013 17:34:36 +0000 (18:34 +0100)]
top: set platform ID

11 years agouse git commit id as version
Sebastien Bourdeauducq [Sat, 9 Nov 2013 15:38:44 +0000 (16:38 +0100)]
use git commit id as version

11 years agorename milkymist-ng to MiSoC
Sebastien Bourdeauducq [Sat, 9 Nov 2013 14:27:32 +0000 (15:27 +0100)]
rename milkymist-ng to MiSoC

11 years agos6ddrphy: improve genericity by adding wr_bitslip and dqs_ddr_alignment parameters...
Florent Kermarrec [Wed, 6 Nov 2013 14:56:53 +0000 (15:56 +0100)]
s6ddrphy: improve genericity by adding wr_bitslip and dqs_ddr_alignment parameters bitslip parameter is renamed to rd_bitslip

11 years agouart_isr: fix interrupts clear
Florent Kermarrec [Tue, 22 Oct 2013 17:44:58 +0000 (19:44 +0200)]
uart_isr: fix interrupts clear

11 years agoadd CSV CSR map output
Sebastien Bourdeauducq [Sun, 20 Oct 2013 22:04:26 +0000 (00:04 +0200)]
add CSV CSR map output

11 years agoframebuffer/dvi: minor fixes
Sebastien Bourdeauducq [Wed, 18 Sep 2013 15:14:11 +0000 (17:14 +0200)]
framebuffer/dvi: minor fixes

11 years agoadd DVI output
Sebastien Bourdeauducq [Wed, 18 Sep 2013 14:56:07 +0000 (16:56 +0200)]
add DVI output

11 years agoframebuffer/phy: fix DVI clocking
Sebastien Bourdeauducq [Tue, 17 Sep 2013 17:28:18 +0000 (19:28 +0200)]
framebuffer/phy: fix DVI clocking

11 years agoframebuffer: prepare for DVI out
Sebastien Bourdeauducq [Tue, 17 Sep 2013 16:15:22 +0000 (18:15 +0200)]
framebuffer: prepare for DVI out

11 years agoframebuffer/dvi: TMDS encoder test bench
Sebastien Bourdeauducq [Mon, 16 Sep 2013 22:25:07 +0000 (00:25 +0200)]
framebuffer/dvi: TMDS encoder test bench

11 years agoframebuffer/dvi: add TMDS encoder (untested)
Sebastien Bourdeauducq [Mon, 16 Sep 2013 21:51:37 +0000 (23:51 +0200)]
framebuffer/dvi: add TMDS encoder (untested)

11 years agodvisampler: do more deserialization with the ISERDES
Sebastien Bourdeauducq [Sat, 14 Sep 2013 18:50:27 +0000 (20:50 +0200)]
dvisampler: do more deserialization with the ISERDES

11 years agodvisampler: use hard differential phase detector
Sebastien Bourdeauducq [Sat, 14 Sep 2013 15:14:20 +0000 (17:14 +0200)]
dvisampler: use hard differential phase detector

11 years agodvisampler: disable EDID when HPD_EN is low
Sebastien Bourdeauducq [Fri, 13 Sep 2013 21:43:28 +0000 (23:43 +0200)]
dvisampler: disable EDID when HPD_EN is low

11 years agotop: DVI samplers and 2-channel FB on Mixxeo only
Sebastien Bourdeauducq [Fri, 13 Sep 2013 21:07:46 +0000 (23:07 +0200)]
top: DVI samplers and 2-channel FB on Mixxeo only

11 years agosoftware/videomixer: 1024x768 by default
Sebastien Bourdeauducq [Fri, 13 Sep 2013 16:32:23 +0000 (18:32 +0200)]
software/videomixer: 1024x768 by default

11 years agosoftware/videomixer: support test mode without pots
Sebastien Bourdeauducq [Fri, 13 Sep 2013 16:32:01 +0000 (18:32 +0200)]
software/videomixer: support test mode without pots

11 years agolasmicon/multiplexer: fix rdcmdphase/wrcmdphase inversion
Florent Kermarrec [Sun, 8 Sep 2013 10:48:35 +0000 (12:48 +0200)]
lasmicon/multiplexer: fix rdcmdphase/wrcmdphase inversion

11 years agodvisampler: reset PLL at startup
Sebastien Bourdeauducq [Sun, 8 Sep 2013 10:55:26 +0000 (12:55 +0200)]
dvisampler: reset PLL at startup

11 years agovideomixer: handle HPD
Sebastien Bourdeauducq [Sun, 8 Sep 2013 10:54:48 +0000 (12:54 +0200)]
videomixer: handle HPD

11 years agodvisampler: add HPD registers
Sebastien Bourdeauducq [Sat, 7 Sep 2013 20:40:03 +0000 (22:40 +0200)]
dvisampler: add HPD registers

11 years agolasmicon/multiplexer/steerer_sel: replace STEER_ with string
Sebastien Bourdeauducq [Mon, 26 Aug 2013 19:21:00 +0000 (21:21 +0200)]
lasmicon/multiplexer/steerer_sel: replace STEER_ with string

11 years agolasmicon: remove limitations on the number of phases
Florent Kermarrec [Mon, 26 Aug 2013 13:01:48 +0000 (15:01 +0200)]
lasmicon: remove limitations on the number of phases

11 years agotb/lasmicon: update simu
Florent Kermarrec [Mon, 26 Aug 2013 12:33:45 +0000 (14:33 +0200)]
tb/lasmicon: update simu

11 years agos6ddrphy: drive ODT (if it exists)
Florent Kermarrec [Thu, 22 Aug 2013 20:55:36 +0000 (22:55 +0200)]
s6ddrphy: drive ODT (if it exists)

11 years agoUpdate LM32 submodule
Sebastien Bourdeauducq [Wed, 14 Aug 2013 17:16:44 +0000 (19:16 +0200)]
Update LM32 submodule

11 years agom1nor-ng
Sebastien Bourdeauducq [Wed, 31 Jul 2013 21:29:26 +0000 (23:29 +0200)]
m1nor-ng

11 years agotypo
Sebastien Bourdeauducq [Wed, 31 Jul 2013 21:22:06 +0000 (23:22 +0200)]
typo

11 years agoChange license to BSD
Sebastien Bourdeauducq [Wed, 31 Jul 2013 21:20:32 +0000 (23:20 +0200)]
Change license to BSD

11 years agoUse RenameClockDomains decorator instead of add_submodule
Sebastien Bourdeauducq [Fri, 26 Jul 2013 13:42:44 +0000 (15:42 +0200)]
Use RenameClockDomains decorator instead of add_submodule

11 years agomemtest/LFSR: use module decorators
Sebastien Bourdeauducq [Thu, 25 Jul 2013 15:57:17 +0000 (17:57 +0200)]
memtest/LFSR: use module decorators

11 years agocif: fix ddr2 configuration
Florent Kermarrec [Thu, 18 Jul 2013 21:10:15 +0000 (23:10 +0200)]
cif: fix ddr2 configuration

11 years agos6ddrphy: add support for differential dqs and optional cs_n
Florent Kermarrec [Thu, 18 Jul 2013 17:52:09 +0000 (19:52 +0200)]
s6ddrphy: add support for differential dqs and optional cs_n

11 years agos6ddrphy: cleanup
Sebastien Bourdeauducq [Wed, 17 Jul 2013 11:58:58 +0000 (13:58 +0200)]
s6ddrphy: cleanup

11 years agocif: fix indentation
Sebastien Bourdeauducq [Wed, 17 Jul 2013 11:54:05 +0000 (13:54 +0200)]
cif: fix indentation

11 years agos6ddrphy: revert CAS LATENCY 3 (configurable CAS Latency was buggy)
Florent Kermarrec [Tue, 16 Jul 2013 08:43:15 +0000 (10:43 +0200)]
s6ddrphy: revert CAS LATENCY 3 (configurable CAS Latency was buggy)

11 years agosoftware/memtest: fix bandwidth computation
Sebastien Bourdeauducq [Wed, 17 Jul 2013 11:08:40 +0000 (13:08 +0200)]
software/memtest: fix bandwidth computation

11 years agoframebuffer: remove workaround for asyncfifo bug
Sebastien Bourdeauducq [Tue, 16 Jul 2013 16:49:35 +0000 (18:49 +0200)]
framebuffer: remove workaround for asyncfifo bug

11 years agotb/lasmicon: add DF test
Sebastien Bourdeauducq [Mon, 15 Jul 2013 19:34:53 +0000 (21:34 +0200)]
tb/lasmicon: add DF test

11 years agomemtest: use actual values in TB
Sebastien Bourdeauducq [Mon, 15 Jul 2013 19:34:14 +0000 (21:34 +0200)]
memtest: use actual values in TB

11 years agolasmicon/bankmachine: remove stale import
Sebastien Bourdeauducq [Mon, 15 Jul 2013 15:46:18 +0000 (17:46 +0200)]
lasmicon/bankmachine: remove stale import

11 years agolasmicon: update test benches
Sebastien Bourdeauducq [Mon, 15 Jul 2013 15:45:55 +0000 (17:45 +0200)]
lasmicon: update test benches

11 years agolasmicon: fix FSM reset state with delayed_enter
Sebastien Bourdeauducq [Sun, 14 Jul 2013 22:57:37 +0000 (00:57 +0200)]
lasmicon: fix FSM reset state with delayed_enter

11 years agosoftware/videomixer: fix overflow in memory bandwidth computation
Sebastien Bourdeauducq [Sun, 14 Jul 2013 18:05:18 +0000 (20:05 +0200)]
software/videomixer: fix overflow in memory bandwidth computation

11 years agosoftware/memtest: basic test
Sebastien Bourdeauducq [Sat, 13 Jul 2013 15:31:46 +0000 (17:31 +0200)]
software/memtest: basic test

11 years agomemtest/MemtestWriter: fix 'busy status stuck' bug
Sebastien Bourdeauducq [Sat, 13 Jul 2013 15:11:23 +0000 (17:11 +0200)]
memtest/MemtestWriter: fix 'busy status stuck' bug

11 years agocif : fix 2x autorefresh in get_sdram_phy_header
Florent Kermarrec [Fri, 12 Jul 2013 13:18:29 +0000 (15:18 +0200)]
cif : fix 2x autorefresh in get_sdram_phy_header

11 years agosoftware: add memtest
Sebastien Bourdeauducq [Thu, 11 Jul 2013 17:03:45 +0000 (19:03 +0200)]
software: add memtest

11 years agosoftware: move time.c to libbase
Sebastien Bourdeauducq [Thu, 11 Jul 2013 17:00:48 +0000 (19:00 +0200)]
software: move time.c to libbase

11 years agosoftware: share SDRAM linker script
Sebastien Bourdeauducq [Thu, 11 Jul 2013 16:49:42 +0000 (18:49 +0200)]
software: share SDRAM linker script

11 years agosoftware: share crt0
Sebastien Bourdeauducq [Thu, 11 Jul 2013 16:36:26 +0000 (18:36 +0200)]
software: share crt0

11 years agomake: add option to include memtest cores
Sebastien Bourdeauducq [Thu, 11 Jul 2013 16:32:05 +0000 (18:32 +0200)]
make: add option to include memtest cores

11 years agotop: integrate memtest cores
Sebastien Bourdeauducq [Thu, 11 Jul 2013 16:31:51 +0000 (18:31 +0200)]
top: integrate memtest cores

11 years agomemtest: add DMA cores
Sebastien Bourdeauducq [Thu, 11 Jul 2013 16:31:38 +0000 (18:31 +0200)]
memtest: add DMA cores

11 years agomemtest/LFSR: test bench
Sebastien Bourdeauducq [Thu, 11 Jul 2013 14:23:05 +0000 (16:23 +0200)]
memtest/LFSR: test bench

11 years agocif.py: use format instead of % in get_sdram_phy_header
Florent Kermarrec [Thu, 11 Jul 2013 07:46:56 +0000 (09:46 +0200)]
cif.py: use format instead of % in get_sdram_phy_header

11 years agomemtest: LFSR
Sebastien Bourdeauducq [Wed, 10 Jul 2013 19:08:57 +0000 (21:08 +0200)]
memtest: LFSR

11 years agos6ddrphy: style and other minor fixes
Sebastien Bourdeauducq [Wed, 10 Jul 2013 18:39:53 +0000 (20:39 +0200)]
s6ddrphy: style and other minor fixes

11 years agouse Migen s6ddrphy, generate sdram init_sequence in cif.py
Florent Kermarrec [Tue, 9 Jul 2013 17:41:28 +0000 (19:41 +0200)]
use Migen s6ddrphy, generate sdram init_sequence in cif.py

11 years agodvisampler: report FIFO overflow
Sebastien Bourdeauducq [Wed, 10 Jul 2013 17:55:36 +0000 (19:55 +0200)]
dvisampler: report FIFO overflow

11 years agomake: fix byteswap invocation
Sebastien Bourdeauducq [Sun, 7 Jul 2013 12:55:06 +0000 (14:55 +0200)]
make: fix byteswap invocation

11 years agoMixxeo support
Sebastien Bourdeauducq [Thu, 4 Jul 2013 17:19:39 +0000 (19:19 +0200)]
Mixxeo support

11 years agodvisampler: support differential input
Sebastien Bourdeauducq [Thu, 4 Jul 2013 17:18:24 +0000 (19:18 +0200)]
dvisampler: support differential input

11 years agosoftware/videomixer: increase framebuffer size
Sebastien Bourdeauducq [Tue, 25 Jun 2013 20:48:25 +0000 (22:48 +0200)]
software/videomixer: increase framebuffer size

11 years agodvisampler/edid: add nonstandard 1024x768 @ 30Hz mode
Sebastien Bourdeauducq [Tue, 25 Jun 2013 20:47:54 +0000 (22:47 +0200)]
dvisampler/edid: add nonstandard 1024x768 @ 30Hz mode

11 years agoUse new FSM API
Sebastien Bourdeauducq [Tue, 25 Jun 2013 20:25:10 +0000 (22:25 +0200)]
Use new FSM API

11 years agoRevert "dvisampler/dma: buffer full memory words"
Sebastien Bourdeauducq [Tue, 25 Jun 2013 17:14:13 +0000 (19:14 +0200)]
Revert "dvisampler/dma: buffer full memory words"

This reverts commit 1c8ef0fe3e5a799ce811b0052a073481e26181a4.

11 years agolasmicon: use namedtuple
Sebastien Bourdeauducq [Mon, 24 Jun 2013 14:55:59 +0000 (16:55 +0200)]
lasmicon: use namedtuple