litex.git
10 years agonorflash: add support for writes
Sebastien Bourdeauducq [Sat, 30 Nov 2013 19:37:56 +0000 (20:37 +0100)]
norflash: add support for writes

11 years agotargets/simple: map SPI flash
Sebastien Bourdeauducq [Mon, 25 Nov 2013 14:08:53 +0000 (15:08 +0100)]
targets/simple: map SPI flash

11 years agospiflash: add read-only variable data width spi flash
Robert Jordens [Fri, 8 Nov 2013 07:56:17 +0000 (00:56 -0700)]
spiflash: add read-only variable data width spi flash

Signed-off-by: Robert Jordens <jordens@gmail.com>
11 years agotargets/simple: add GPIO LED
Sebastien Bourdeauducq [Mon, 25 Nov 2013 11:16:20 +0000 (12:16 +0100)]
targets/simple: add GPIO LED

11 years agoset LM32 reset address
Sebastien Bourdeauducq [Mon, 25 Nov 2013 11:09:16 +0000 (12:09 +0100)]
set LM32 reset address

11 years agoIntegratedBIOS: read only
Sebastien Bourdeauducq [Mon, 25 Nov 2013 09:25:05 +0000 (10:25 +0100)]
IntegratedBIOS: read only

11 years agomove integrated BIOS code to gensoc
Sebastien Bourdeauducq [Mon, 25 Nov 2013 09:22:14 +0000 (10:22 +0100)]
move integrated BIOS code to gensoc

11 years agotargets: add simple SoC
Sebastien Bourdeauducq [Sun, 24 Nov 2013 22:52:05 +0000 (23:52 +0100)]
targets: add simple SoC

11 years agosupport for bitstream loading on Papilio Pro
Sebastien Bourdeauducq [Sun, 24 Nov 2013 22:51:51 +0000 (23:51 +0100)]
support for bitstream loading on Papilio Pro

11 years agodo not attempt to build SDRAM PHY header when SDRAM is not present
Sebastien Bourdeauducq [Sun, 24 Nov 2013 22:51:29 +0000 (23:51 +0100)]
do not attempt to build SDRAM PHY header when SDRAM is not present

11 years agogensoc: add Papilio Pro ID
Sebastien Bourdeauducq [Sun, 24 Nov 2013 22:50:33 +0000 (23:50 +0100)]
gensoc: add Papilio Pro ID

11 years agosoftware: do not attempt to build network/sdram drivers when cores are not present
Sebastien Bourdeauducq [Sun, 24 Nov 2013 22:50:09 +0000 (23:50 +0100)]
software: do not attempt to build network/sdram drivers when cores are not present

11 years agosoftware/bios: infer flash start from linker
Sebastien Bourdeauducq [Sun, 24 Nov 2013 22:45:03 +0000 (23:45 +0100)]
software/bios: infer flash start from linker

11 years agoallow BIOS data to be passed to design
Sebastien Bourdeauducq [Sun, 24 Nov 2013 21:14:46 +0000 (22:14 +0100)]
allow BIOS data to be passed to design

11 years agorename create_sdram_modules and add register_rom
Sebastien Bourdeauducq [Sun, 24 Nov 2013 19:16:19 +0000 (20:16 +0100)]
rename create_sdram_modules and add register_rom

11 years agogenerate linker memory map, move all generated files into the same folder
Sebastien Bourdeauducq [Sun, 24 Nov 2013 18:50:17 +0000 (19:50 +0100)]
generate linker memory map, move all generated files into the same folder

11 years agoadd support for external platforms and targets
Sebastien Bourdeauducq [Sun, 24 Nov 2013 15:55:33 +0000 (16:55 +0100)]
add support for external platforms and targets

11 years agomemtest: flush caches, display total error count, use ifdef instead of comment
Sebastien Bourdeauducq [Sun, 24 Nov 2013 12:59:45 +0000 (13:59 +0100)]
memtest: flush caches, display total error count, use ifdef instead of comment

11 years agomake.py: support extra SoC options
Sebastien Bourdeauducq [Sun, 24 Nov 2013 12:59:15 +0000 (13:59 +0100)]
make.py: support extra SoC options

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

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

11 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

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

11 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

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

11 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

11 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

11 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

11 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

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

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

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