litex.git
9 years agosdramphy: add init sequence for DDR3
Florent Kermarrec [Wed, 30 Jul 2014 10:20:40 +0000 (12:20 +0200)]
sdramphy: add init sequence for DDR3

9 years agoBetter UART baudrate generator, and testbench
Yann Sionneau [Thu, 31 Jul 2014 02:23:59 +0000 (10:23 +0800)]
Better UART baudrate generator, and testbench

This enables high speed (tested to 4Mbps) operation.

9 years agomor1kx: sync
Sebastien Bourdeauducq [Tue, 29 Jul 2014 03:36:00 +0000 (21:36 -0600)]
mor1kx: sync

9 years agostyle
Sebastien Bourdeauducq [Sat, 5 Jul 2014 16:56:20 +0000 (18:56 +0200)]
style

9 years agocrt-or1k: trim useless exception vectors
Sebastien Bourdeauducq [Sat, 5 Jul 2014 16:53:23 +0000 (18:53 +0200)]
crt-or1k: trim useless exception vectors

9 years agoMerge branch 'master' of github.com:m-labs/misoc
Sebastien Bourdeauducq [Fri, 4 Jul 2014 08:29:53 +0000 (10:29 +0200)]
Merge branch 'master' of github.com:m-labs/misoc

9 years agoUpgrade mor1kx. This fixes the UART bug that was due to IRQ 0 and 1 being non-maskable.
Sebastien Bourdeauducq [Fri, 4 Jul 2014 08:29:42 +0000 (10:29 +0200)]
Upgrade mor1kx. This fixes the UART bug that was due to IRQ 0 and 1 being non-maskable.

10 years agocpuif: remove limitations on csr data_width
Florent Kermarrec [Thu, 26 Jun 2014 08:44:26 +0000 (10:44 +0200)]
cpuif: remove limitations on csr data_width

10 years agomake.py: add platform-option
Sebastien Bourdeauducq [Sat, 7 Jun 2014 11:43:23 +0000 (13:43 +0200)]
make.py: add platform-option

10 years agolibbase: remove crt during make clean
Sebastien Bourdeauducq [Sun, 1 Jun 2014 21:17:43 +0000 (23:17 +0200)]
libbase: remove crt during make clean

10 years agotargets/simple: pass kwargs
Sebastien Bourdeauducq [Sat, 24 May 2014 09:29:03 +0000 (11:29 +0200)]
targets/simple: pass kwargs

10 years agocrt0: remove macadress for or1k as well
Sebastien Bourdeauducq [Sat, 24 May 2014 08:43:50 +0000 (10:43 +0200)]
crt0: remove macadress for or1k as well

10 years agobios/crt0.S: remove unused macaddr, add syscall handler stub
Robert Jordens [Fri, 23 May 2014 23:37:05 +0000 (17:37 -0600)]
bios/crt0.S: remove unused macaddr, add syscall handler stub

10 years agospiflash: redundant slice
Robert Jordens [Fri, 23 May 2014 23:37:08 +0000 (17:37 -0600)]
spiflash: redundant slice

10 years agoprogrammer: make xc3sprog verbose
Robert Jordens [Fri, 23 May 2014 23:37:07 +0000 (17:37 -0600)]
programmer: make xc3sprog verbose

10 years agocrt: add umoddi3
Robert Jordens [Fri, 23 May 2014 23:37:06 +0000 (17:37 -0600)]
crt: add umoddi3

10 years agobios: remove references to 'DDR' SDRAM, as we also support SDR SDRAM
Sebastien Bourdeauducq [Fri, 23 May 2014 19:31:26 +0000 (21:31 +0200)]
bios: remove references to 'DDR' SDRAM, as we also support SDR SDRAM

10 years agoUse SDRAM on the Papilio Pro
Sebastien Bourdeauducq [Fri, 23 May 2014 19:26:09 +0000 (21:26 +0200)]
Use SDRAM on the Papilio Pro

Based on code by Robert Jordens

10 years agomake.py: init bios memory in build-bitstream action otherwise it is not possible...
Florent Kermarrec [Mon, 19 May 2014 17:49:32 +0000 (19:49 +0200)]
make.py: init bios memory in build-bitstream action otherwise it is not possible to run clean or build-csr-csv or build-headers without build-bios

10 years agogensdrphy: fix dm generation
Florent Kermarrec [Mon, 19 May 2014 15:45:13 +0000 (17:45 +0200)]
gensdrphy: fix dm generation

10 years agogensdrphy: fix memtype and change phase shift in comments.
Florent Kermarrec [Fri, 16 May 2014 09:46:33 +0000 (11:46 +0200)]
gensdrphy: fix memtype and change phase shift in comments.

10 years agosdramphy: remove fixed parameters
Sebastien Bourdeauducq [Wed, 14 May 2014 14:08:40 +0000 (16:08 +0200)]
sdramphy: remove fixed parameters

10 years agobios: fill delay slot in boot_helper
Sebastien Bourdeauducq [Wed, 14 May 2014 14:08:25 +0000 (16:08 +0200)]
bios: fill delay slot in boot_helper

10 years agotargets/mlabs_video: pass with_memtest as kwargs
Sebastien Bourdeauducq [Wed, 14 May 2014 13:02:07 +0000 (15:02 +0200)]
targets/mlabs_video: pass with_memtest as kwargs

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

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

10 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>
10 years agotargets/simple: add GPIO LED
Sebastien Bourdeauducq [Mon, 25 Nov 2013 11:16:20 +0000 (12:16 +0100)]
targets/simple: add GPIO LED

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

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

10 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

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

10 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

10 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

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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

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