litex.git
10 years agosoftware: factorize exception_handler
Sebastien Bourdeauducq [Wed, 14 May 2014 13:01:38 +0000 (15:01 +0200)]
software: factorize exception_handler

10 years agobios: fix boot for or1k
Sebastien Bourdeauducq [Wed, 14 May 2014 13:01:02 +0000 (15:01 +0200)]
bios: fix boot for or1k

10 years agoInitial mor1kx (OpenRISC) support
Sebastien Bourdeauducq [Wed, 14 May 2014 08:24:56 +0000 (10:24 +0200)]
Initial mor1kx (OpenRISC) support
Based on milkymist-ng-mor1kx by Stefan Kristiansson

10 years agofix minimac bases addresses
Florent Kermarrec [Mon, 12 May 2014 17:28:27 +0000 (19:28 +0200)]
fix minimac bases addresses

10 years agogensdrphy: clean up and implement data mask
Florent Kermarrec [Wed, 30 Apr 2014 22:29:18 +0000 (00:29 +0200)]
gensdrphy: clean up and implement data mask

10 years agomake.py: add missing --csr_csv argument
Florent Kermarrec [Thu, 24 Apr 2014 20:08:33 +0000 (22:08 +0200)]
make.py: add missing --csr_csv argument

10 years agogensdrphy: use 'dm' not 'dqm' (follow s6ddrphy and majority of platforms)
Robert Jordens [Fri, 25 Apr 2014 00:29:36 +0000 (18:29 -0600)]
gensdrphy: use 'dm' not 'dqm' (follow s6ddrphy and majority of platforms)

10 years agoRefactor CRC tools
Sebastien Bourdeauducq [Fri, 18 Apr 2014 22:01:29 +0000 (00:01 +0200)]
Refactor CRC tools

10 years agotools: replace mkmscimg with mkmscimg.py (mkmscimg.c was platform dependent)
Florent Kermarrec [Fri, 18 Apr 2014 11:56:18 +0000 (13:56 +0200)]
tools: replace mkmscimg with mkmscimg.py (mkmscimg.c was platform dependent)

10 years agodefine platform.soc_ext_path when --external argument is used (to use it to include...
Florent Kermarrec [Fri, 18 Apr 2014 11:51:56 +0000 (13:51 +0200)]
define platform.soc_ext_path when --external argument is used (to use it to include verilog files in the external target)

10 years agosimple: create PowerOnRst and use it (remove vendor-dependent code)
Florent Kermarrec [Mon, 14 Apr 2014 15:44:12 +0000 (17:44 +0200)]
simple: create PowerOnRst and use it (remove vendor-dependent code)

10 years agosdramphy: move and clean up s6ddrphy, add generic SDRAM PHY
Florent Kermarrec [Thu, 17 Apr 2014 17:38:13 +0000 (19:38 +0200)]
sdramphy: move and clean up s6ddrphy, add generic SDRAM PHY

10 years agoprogrammer: add USBBlaster and use platform.bitstream_ext in make
Florent Kermarrec [Mon, 14 Apr 2014 15:23:04 +0000 (17:23 +0200)]
programmer: add USBBlaster and use platform.bitstream_ext in make

10 years agomake: add clean action
Florent Kermarrec [Mon, 14 Apr 2014 15:21:34 +0000 (17:21 +0200)]
make: add clean action

10 years agosimplesoc: free LED
Sebastien Bourdeauducq [Sun, 13 Apr 2014 22:23:41 +0000 (00:23 +0200)]
simplesoc: free LED

10 years agoREADME: rewrap
Sebastien Bourdeauducq [Tue, 8 Apr 2014 15:22:44 +0000 (17:22 +0200)]
README: rewrap

10 years agoupdate README
Sebastien Bourdeauducq [Tue, 8 Apr 2014 15:11:27 +0000 (17:11 +0200)]
update README

10 years agosoftware/libcompiler-rt: adapt to new upstream directory organization
Sebastien Bourdeauducq [Tue, 8 Apr 2014 13:29:23 +0000 (15:29 +0200)]
software/libcompiler-rt: adapt to new upstream directory organization

10 years agotargets/simple: add dummy SDRAM + flash boot address
Sebastien Bourdeauducq [Tue, 8 Apr 2014 13:25:49 +0000 (15:25 +0200)]
targets/simple: add dummy SDRAM + flash boot address

10 years agoAdd Python flasher
Sebastien Bourdeauducq [Fri, 28 Feb 2014 17:40:49 +0000 (09:40 -0800)]
Add Python flasher

10 years agoGenerate mem.h from SoC description
Sebastien Bourdeauducq [Fri, 21 Feb 2014 16:55:05 +0000 (17:55 +0100)]
Generate mem.h from SoC description

10 years agoSimplify use of external targets/platforms/cores + add default platform in targets
Sebastien Bourdeauducq [Sun, 16 Feb 2014 13:51:52 +0000 (14:51 +0100)]
Simplify use of external targets/platforms/cores + add default platform in targets

10 years agomake.py: support setting flash proxy directory
Sebastien Bourdeauducq [Sat, 15 Feb 2014 13:13:25 +0000 (14:13 +0100)]
make.py: support setting flash proxy directory

10 years agobios: update banner
Sebastien Bourdeauducq [Sat, 15 Feb 2014 13:02:09 +0000 (14:02 +0100)]
bios: update banner

10 years agonew action syntax for make.py + support xc3sprog
Sebastien Bourdeauducq [Sat, 15 Feb 2014 13:01:50 +0000 (14:01 +0100)]
new action syntax for make.py + support xc3sprog

10 years agotargets/simple: use XIP from SPI flash
Sebastien Bourdeauducq [Fri, 14 Feb 2014 14:48:15 +0000 (15:48 +0100)]
targets/simple: use XIP from SPI flash

10 years agodvisampler: replace parity with sof
Sebastien Bourdeauducq [Thu, 13 Feb 2014 21:45:27 +0000 (22:45 +0100)]
dvisampler: replace parity with sof

10 years agotargets/mlabs_video: use outer video inputs
Sebastien Bourdeauducq [Thu, 13 Feb 2014 21:07:23 +0000 (22:07 +0100)]
targets/mlabs_video: use outer video inputs

10 years agovideostream: add downscaler core + test
Sebastien Bourdeauducq [Sun, 9 Feb 2014 23:12:57 +0000 (00:12 +0100)]
videostream: add downscaler core + test

10 years agovideostream: add single chopper
Sebastien Bourdeauducq [Sat, 8 Feb 2014 23:53:30 +0000 (00:53 +0100)]
videostream: add single chopper

10 years agovideostream: add compacter and packer
Sebastien Bourdeauducq [Sat, 8 Feb 2014 17:39:01 +0000 (18:39 +0100)]
videostream: add compacter and packer

10 years agoRefresh testbenches and convert to new API
Sebastien Bourdeauducq [Tue, 28 Jan 2014 12:50:01 +0000 (13:50 +0100)]
Refresh testbenches and convert to new API

10 years agodownscaler: add chopper module
Sebastien Bourdeauducq [Tue, 21 Jan 2014 14:56:51 +0000 (15:56 +0100)]
downscaler: add chopper module

10 years agogensoc: support for user-defined UART and add default values for SRAM and L2 sizes
Sebastien Bourdeauducq [Mon, 6 Jan 2014 21:12:42 +0000 (22:12 +0100)]
gensoc: support for user-defined UART and add default values for SRAM and L2 sizes

10 years agogensoc: use add_verilog_include_path
Sebastien Bourdeauducq [Thu, 12 Dec 2013 22:17:16 +0000 (23:17 +0100)]
gensoc: use add_verilog_include_path

10 years agomake.py: update description
Sebastien Bourdeauducq [Thu, 12 Dec 2013 22:16:59 +0000 (23:16 +0100)]
make.py: update description

10 years agomake: add decorator option
Sebastien Bourdeauducq [Thu, 12 Dec 2013 16:37:46 +0000 (17:37 +0100)]
make: add decorator option

10 years agogitmodules: use https and m-labs
Sebastien Bourdeauducq [Thu, 12 Dec 2013 14:56:06 +0000 (15:56 +0100)]
gitmodules: use https and m-labs

10 years agoupdate submodule
Sebastien Bourdeauducq [Thu, 5 Dec 2013 23:07:05 +0000 (00:07 +0100)]
update submodule

10 years agogpio: add InOut
Sebastien Bourdeauducq [Thu, 5 Dec 2013 23:06:53 +0000 (00:06 +0100)]
gpio: add InOut

10 years agotargets/mlabs_video: use new Cat syntax
Sebastien Bourdeauducq [Thu, 5 Dec 2013 22:55:14 +0000 (23:55 +0100)]
targets/mlabs_video: use new Cat syntax

10 years agomake/_misoc_import: force external path search
Sebastien Bourdeauducq [Tue, 3 Dec 2013 20:36:58 +0000 (21:36 +0100)]
make/_misoc_import: force external path search

10 years agomake: support build options
Sebastien Bourdeauducq [Sun, 1 Dec 2013 17:19:51 +0000 (18:19 +0100)]
make: support build options

10 years agovideomixer: config system + store video resolution in flash
Sebastien Bourdeauducq [Sat, 30 Nov 2013 22:07:19 +0000 (23:07 +0100)]
videomixer: config system + store video resolution in flash

10 years agonorflash16: fix LSB
Sebastien Bourdeauducq [Sat, 30 Nov 2013 22:06:51 +0000 (23:06 +0100)]
norflash16: fix LSB

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