litex.git
9 years agok7ddrphy: decrease CAS latency to account for cmd/data flight time
Sebastien Bourdeauducq [Fri, 22 Aug 2014 10:46:01 +0000 (18:46 +0800)]
k7ddrphy: decrease CAS latency to account for cmd/data flight time

9 years agok7ddrphy: suppress idiotic bitgen warning about ISERDES IOBDELAY parameter
Sebastien Bourdeauducq [Fri, 22 Aug 2014 10:45:25 +0000 (18:45 +0800)]
k7ddrphy: suppress idiotic bitgen warning about ISERDES IOBDELAY parameter

9 years agotargets/kc705: BIOS XIP
Sebastien Bourdeauducq [Fri, 22 Aug 2014 09:13:10 +0000 (17:13 +0800)]
targets/kc705: BIOS XIP

9 years agotargets/ppro: reduce SPI flash clock frequency
Sebastien Bourdeauducq [Fri, 22 Aug 2014 07:24:14 +0000 (15:24 +0800)]
targets/ppro: reduce SPI flash clock frequency

9 years agotargets/ppro: fix BIOS address
Sebastien Bourdeauducq [Fri, 22 Aug 2014 07:24:00 +0000 (15:24 +0800)]
targets/ppro: fix BIOS address

9 years agomake.py: add set_flash_proxy_dir to flash-bios
Florent Kermarrec [Thu, 21 Aug 2014 11:32:32 +0000 (13:32 +0200)]
make.py: add set_flash_proxy_dir to flash-bios

9 years agotargets/ppro: clean up indentation
Sebastien Bourdeauducq [Fri, 22 Aug 2014 06:41:28 +0000 (14:41 +0800)]
targets/ppro: clean up indentation

9 years agok7ddrphy: fix read_latency (CL is 2 sys_clk since we use quarter rate)
Florent Kermarrec [Thu, 14 Aug 2014 14:33:59 +0000 (16:33 +0200)]
k7ddrphy: fix read_latency (CL is 2 sys_clk since we use quarter rate)

9 years agok7ddrphy: set bitslip to 0 on ISERDESE2 (needed at least for sim)
Florent Kermarrec [Thu, 14 Aug 2014 14:32:29 +0000 (16:32 +0200)]
k7ddrphy: set bitslip to 0 on ISERDESE2 (needed at least for sim)

9 years agok7ddrphy: add ODELAYE2 on dm path to match dq path (ODELAYE2 even configure with...
Florent Kermarrec [Thu, 14 Aug 2014 13:58:58 +0000 (15:58 +0200)]
k7ddrphy: add ODELAYE2 on dm path to match dq path (ODELAYE2 even configure with a delay of 0 generates a delay)

9 years agok7ddrphy: fix write_latency and take care of OSERDESE2 latency on oe
Florent Kermarrec [Thu, 14 Aug 2014 13:57:25 +0000 (15:57 +0200)]
k7ddrphy: fix write_latency and take care of OSERDESE2 latency on oe

9 years agosdramphy/initsequence: fix and add format_mr0 function
Florent Kermarrec [Wed, 13 Aug 2014 14:44:20 +0000 (16:44 +0200)]
sdramphy/initsequence: fix and add format_mr0 function

9 years agok7ddrphy: add SERDES reset
Florent Kermarrec [Thu, 14 Aug 2014 06:16:38 +0000 (14:16 +0800)]
k7ddrphy: add SERDES reset

9 years agolasmicon: fix reset_n level
Florent Kermarrec [Thu, 14 Aug 2014 06:15:38 +0000 (14:15 +0800)]
lasmicon: fix reset_n level

9 years agoflash_extra: use new programmer
Sebastien Bourdeauducq [Sat, 9 Aug 2014 06:39:38 +0000 (14:39 +0800)]
flash_extra: use new programmer

9 years agomake.py: do not use prog.needs_flash_proxy
Sebastien Bourdeauducq [Sat, 9 Aug 2014 06:38:56 +0000 (14:38 +0800)]
make.py: do not use prog.needs_flash_proxy

9 years agomor1kx: sync
Sebastien Bourdeauducq [Sat, 9 Aug 2014 06:32:57 +0000 (14:32 +0800)]
mor1kx: sync

9 years agok7ddrphy: send rddata_valid on all phases
Sebastien Bourdeauducq [Sat, 9 Aug 2014 03:00:13 +0000 (11:00 +0800)]
k7ddrphy: send rddata_valid on all phases

9 years agotargets/kc705: integrate DDR3
Sebastien Bourdeauducq [Fri, 8 Aug 2014 13:58:41 +0000 (21:58 +0800)]
targets/kc705: integrate DDR3

9 years agobios/sdram: cleanup
Sebastien Bourdeauducq [Fri, 8 Aug 2014 13:57:58 +0000 (21:57 +0800)]
bios/sdram: cleanup

9 years agobios/sdram: set ODT and RESET_N through DFII
Sebastien Bourdeauducq [Fri, 8 Aug 2014 13:57:42 +0000 (21:57 +0800)]
bios/sdram: set ODT and RESET_N through DFII

9 years agodfii: drive ODT and RESET_N
Sebastien Bourdeauducq [Fri, 8 Aug 2014 13:56:35 +0000 (21:56 +0800)]
dfii: drive ODT and RESET_N

9 years agolasmicon: drive ODT and RESET_N
Sebastien Bourdeauducq [Fri, 8 Aug 2014 13:55:34 +0000 (21:55 +0800)]
lasmicon: drive ODT and RESET_N

9 years agolasmicon: add CWL to PHY settings
Sebastien Bourdeauducq [Fri, 8 Aug 2014 13:55:12 +0000 (21:55 +0800)]
lasmicon: add CWL to PHY settings

9 years agosdramphy/gensdrphy: fix rddata_en generation
Sebastien Bourdeauducq [Fri, 8 Aug 2014 13:41:07 +0000 (21:41 +0800)]
sdramphy/gensdrphy: fix rddata_en generation

9 years agosdramphy: initial K7 DDR3 support
Sebastien Bourdeauducq [Fri, 8 Aug 2014 13:28:26 +0000 (21:28 +0800)]
sdramphy: initial K7 DDR3 support

9 years agosdramphy/bios: make sdrrd/sdrwr generic
Florent Kermarrec [Fri, 8 Aug 2014 11:23:57 +0000 (19:23 +0800)]
sdramphy/bios: make sdrrd/sdrwr generic

9 years agosdramphy/initsequence: rewrite DDR3 initialization sequence
Sebastien Bourdeauducq [Fri, 8 Aug 2014 11:15:05 +0000 (19:15 +0800)]
sdramphy/initsequence: rewrite DDR3 initialization sequence

9 years agos6ddrphy: fix DFI interface data width computation
Sebastien Bourdeauducq [Fri, 8 Aug 2014 11:14:15 +0000 (19:14 +0800)]
s6ddrphy: fix DFI interface data width computation

9 years agogensoc: add id for KC705
Sebastien Bourdeauducq [Wed, 6 Aug 2014 15:53:51 +0000 (23:53 +0800)]
gensoc: add id for KC705

9 years agoplatforms/kc705: generate clocks for SDRAM
Sebastien Bourdeauducq [Wed, 6 Aug 2014 15:53:26 +0000 (23:53 +0800)]
platforms/kc705: generate clocks for SDRAM

9 years agotargets/ppro: use migen reset synchronizer
Sebastien Bourdeauducq [Wed, 6 Aug 2014 11:38:11 +0000 (19:38 +0800)]
targets/ppro: use migen reset synchronizer

9 years agogensoc/cpuif: do not generate access functions for registers > 64 bits
Florent Kermarrec [Sat, 2 Aug 2014 14:42:26 +0000 (16:42 +0200)]
gensoc/cpuif: do not generate access functions for registers > 64 bits

9 years agotargets/kc705: use PLL for clocking
Sebastien Bourdeauducq [Sun, 3 Aug 2014 13:42:39 +0000 (21:42 +0800)]
targets/kc705: use PLL for clocking

9 years agomor1kx: sync
Sebastien Bourdeauducq [Sun, 3 Aug 2014 07:57:55 +0000 (15:57 +0800)]
mor1kx: sync

9 years agoREADME: update
Sebastien Bourdeauducq [Sun, 3 Aug 2014 07:48:55 +0000 (15:48 +0800)]
README: update

9 years agotargets: add basic KC705
Sebastien Bourdeauducq [Sun, 3 Aug 2014 07:48:30 +0000 (15:48 +0800)]
targets: add basic KC705

9 years agoKeep only basic SoC designs in MiSoC
Sebastien Bourdeauducq [Sun, 3 Aug 2014 04:30:15 +0000 (12:30 +0800)]
Keep only basic SoC designs in MiSoC

9 years agoremove stale programmer.py
Sebastien Bourdeauducq [Fri, 1 Aug 2014 04:34:38 +0000 (12:34 +0800)]
remove stale programmer.py

9 years agomove programmer to mibuild
Florent Kermarrec [Thu, 31 Jul 2014 16:17:32 +0000 (18:17 +0200)]
move programmer to mibuild

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

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

10 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

10 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

10 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