litex.git
10 years agomake build system more generic
Sebastien Bourdeauducq [Sun, 24 Nov 2013 12:37:32 +0000 (13:37 +0100)]
make build system more generic

10 years agomodularize SoC integration
Sebastien Bourdeauducq [Sun, 24 Nov 2013 09:30:02 +0000 (10:30 +0100)]
modularize SoC integration

10 years agouse new lasmibus.Crossbar master API
Sebastien Bourdeauducq [Sat, 23 Nov 2013 16:51:41 +0000 (17:51 +0100)]
use new lasmibus.Crossbar master API

10 years agoupdate pointers
Sebastien Bourdeauducq [Sat, 23 Nov 2013 10:29:20 +0000 (11:29 +0100)]
update pointers

10 years agoframebuffer: fix resynchronization after resolution change
Sebastien Bourdeauducq [Wed, 20 Nov 2013 23:33:22 +0000 (00:33 +0100)]
framebuffer: fix resynchronization after resolution change

10 years agovideomixer: select 1024x768 by default
Sebastien Bourdeauducq [Wed, 20 Nov 2013 23:33:01 +0000 (00:33 +0100)]
videomixer: select 1024x768 by default

10 years agoRevert "framebuffer: reset VTG"
Sebastien Bourdeauducq [Tue, 19 Nov 2013 22:48:00 +0000 (23:48 +0100)]
Revert "framebuffer: reset VTG"

This reverts commit 6cb18f5ce3c9c63250cfbe738b84ec7beb1a9412.

Conflicts:
misoclib/framebuffer/__init__.py
misoclib/framebuffer/format.py

10 years agodvisampler: transfer the last word in frames correctly
Sebastien Bourdeauducq [Tue, 19 Nov 2013 22:38:48 +0000 (23:38 +0100)]
dvisampler: transfer the last word in frames correctly

10 years agovideomixer: stick to 20x PLL configuration as 10x causes traditional spartan6 weirdness
Sebastien Bourdeauducq [Mon, 18 Nov 2013 19:43:30 +0000 (20:43 +0100)]
videomixer: stick to 20x PLL configuration as 10x causes traditional spartan6 weirdness

10 years agovideomixer: reconfigure PLL on resolution change
Sebastien Bourdeauducq [Mon, 18 Nov 2013 19:37:45 +0000 (20:37 +0100)]
videomixer: reconfigure PLL on resolution change

10 years agovideomixer: add PLL dump command
Sebastien Bourdeauducq [Mon, 18 Nov 2013 19:37:27 +0000 (20:37 +0100)]
videomixer: add PLL dump command

10 years agovideomixer: add PLL control code
Sebastien Bourdeauducq [Mon, 18 Nov 2013 19:37:10 +0000 (20:37 +0100)]
videomixer: add PLL control code

10 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

10 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

10 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

10 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

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

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

10 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

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

10 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

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

10 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

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

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

10 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

10 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

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

10 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)

10 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

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

10 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

10 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

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

10 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

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

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

10 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>
10 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>
10 years agocommon.mak: specify python3
Sebastien Bourdeauducq [Sun, 10 Nov 2013 10:29:27 +0000 (11:29 +0100)]
common.mak: specify python3

10 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>
10 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)

10 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>
10 years agotop: set platform ID
Sebastien Bourdeauducq [Sat, 9 Nov 2013 17:34:36 +0000 (18:34 +0100)]
top: set platform ID

10 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

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

10 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