litex.git
9 years agoremove verilog and move mxcrg.v to misoclib/mxcrg
Florent Kermarrec [Mon, 16 Feb 2015 09:22:17 +0000 (10:22 +0100)]
remove verilog and move mxcrg.v to misoclib/mxcrg

9 years agomove lm32/mor1kx submodules to extcores
Florent Kermarrec [Mon, 16 Feb 2015 09:05:04 +0000 (10:05 +0100)]
move lm32/mor1kx submodules to extcores

9 years agogensoc: call do_exit after SoC is built
Florent Kermarrec [Sun, 15 Feb 2015 18:20:48 +0000 (19:20 +0100)]
gensoc: call do_exit after SoC is built

9 years agogensoc: add csr_data_width and csr_address_width as parameters In some case we want...
Florent Kermarrec [Thu, 12 Feb 2015 22:43:25 +0000 (23:43 +0100)]
gensoc: add csr_data_width and csr_address_width as parameters In some case we want to have mode than 32 CSR or and csr_data_width != 8

9 years agoadd setup.py
Florent Kermarrec [Sat, 14 Feb 2015 10:43:53 +0000 (02:43 -0800)]
add setup.py

9 years agoethmac: improve testbenchs
Florent Kermarrec [Wed, 17 Dec 2014 08:19:37 +0000 (09:19 +0100)]
ethmac: improve testbenchs

9 years agofix cf92821 merge issue
Florent Kermarrec [Fri, 19 Dec 2014 13:29:49 +0000 (14:29 +0100)]
fix cf92821 merge issue

10 years agogensoc: support user-defined CSR regions
Sebastien Bourdeauducq [Sun, 30 Nov 2014 14:29:26 +0000 (22:29 +0800)]
gensoc: support user-defined CSR regions

10 years agogensoc: simplify WB address decoding
Sebastien Bourdeauducq [Sun, 30 Nov 2014 14:05:51 +0000 (22:05 +0800)]
gensoc: simplify WB address decoding

10 years agominicon: small simplifications
Sebastien Bourdeauducq [Fri, 28 Nov 2014 00:28:39 +0000 (08:28 +0800)]
minicon: small simplifications

10 years agospiflash: BB write support
Yann Sionneau [Thu, 27 Nov 2014 15:10:24 +0000 (23:10 +0800)]
spiflash: BB write support

10 years agogensoc: fix align
Sebastien Bourdeauducq [Thu, 27 Nov 2014 15:05:36 +0000 (23:05 +0800)]
gensoc: fix align

10 years agominicon: fix use of phy phases
Sebastien Bourdeauducq [Thu, 27 Nov 2014 14:13:17 +0000 (22:13 +0800)]
minicon: fix use of phy phases

10 years agominicon: remove unused signals and fix indent
Sebastien Bourdeauducq [Thu, 27 Nov 2014 14:12:05 +0000 (22:12 +0800)]
minicon: remove unused signals and fix indent

10 years agoRefactor directory hierarchy of sdram phys and controllers
Yann Sionneau [Wed, 26 Nov 2014 09:37:50 +0000 (10:37 +0100)]
Refactor directory hierarchy of sdram phys and controllers

10 years agoMinicon: small SDRAM controller
Yann Sionneau [Fri, 31 Oct 2014 22:36:06 +0000 (23:36 +0100)]
Minicon: small SDRAM controller

10 years agoethmac/last_be: remove fake signal (fixed in Migen)
Florent Kermarrec [Fri, 21 Nov 2014 12:07:04 +0000 (13:07 +0100)]
ethmac/last_be: remove fake signal (fixed in Migen)

10 years agoethmac: use new EndpointDescription API
Sebastien Bourdeauducq [Fri, 21 Nov 2014 06:32:32 +0000 (22:32 -0800)]
ethmac: use new EndpointDescription API

10 years agoethmac: style/renaming
Sebastien Bourdeauducq [Fri, 21 Nov 2014 02:01:48 +0000 (18:01 -0800)]
ethmac: style/renaming

10 years agotargets/kc705: avoid ddrphy/ethphy address conflict
Sebastien Bourdeauducq [Fri, 21 Nov 2014 01:11:57 +0000 (17:11 -0800)]
targets/kc705: avoid ddrphy/ethphy address conflict

10 years agonew Ethernet MAC
Florent Kermarec [Fri, 21 Nov 2014 00:47:11 +0000 (16:47 -0800)]
new Ethernet MAC

10 years agoREADME: remove compiler-rt download instructions
Sebastien Bourdeauducq [Fri, 7 Nov 2014 02:02:02 +0000 (18:02 -0800)]
README: remove compiler-rt download instructions

10 years agosoftware: make compiler-rt a submodule
Sebastien Bourdeauducq [Fri, 7 Nov 2014 02:00:28 +0000 (18:00 -0800)]
software: make compiler-rt a submodule

10 years agouse new direct access on endpoints
Florent Kermarrec [Mon, 20 Oct 2014 15:13:33 +0000 (23:13 +0800)]
use new direct access on endpoints

10 years agoremove trailing whitespaces
Florent Kermarrec [Fri, 17 Oct 2014 09:14:35 +0000 (17:14 +0800)]
remove trailing whitespaces

10 years agomor1kx: sync
Sebastien Bourdeauducq [Fri, 10 Oct 2014 07:38:05 +0000 (15:38 +0800)]
mor1kx: sync

10 years agouart: minor cleanup and fix
Sebastien Bourdeauducq [Fri, 10 Oct 2014 07:33:27 +0000 (15:33 +0800)]
uart: minor cleanup and fix

10 years agouart: split it and use dataflow
Florent Kermarrec [Wed, 24 Sep 2014 19:30:25 +0000 (21:30 +0200)]
uart: split it and use dataflow

This make the code easier to understand and allow the reuse of UARTRX & UARTTX
on designs without CPU (e.g miscope).

10 years agoupdate README with new Kintex-7 support
Florent Kermarrec [Sat, 20 Sep 2014 19:51:37 +0000 (21:51 +0200)]
update README with new Kintex-7 support

10 years agotargets: add simple design (vendor agnostic and usable on all platforms with UART...
Florent Kermarrec [Sat, 20 Sep 2014 20:48:53 +0000 (22:48 +0200)]
targets: add simple design (vendor agnostic and usable on all platforms with UART pins).

Designing a SoC with Migen is easy, but we have to provide a very simple design that can
be used on all boards with only 1 clock and 2 UARTs pins defined. This will encourage the
newcomer to invest time in Migen/MiSoC and see its real potential.

10 years agosoftware: remove setjmp
Sebastien Bourdeauducq [Tue, 23 Sep 2014 13:57:05 +0000 (21:57 +0800)]
software: remove setjmp

10 years agolibbase: use __builtin_setjmp and __builtin_longjmp
Sebastien Bourdeauducq [Sun, 21 Sep 2014 09:43:17 +0000 (17:43 +0800)]
libbase: use __builtin_setjmp and __builtin_longjmp

10 years agomor1kx: sync
Sebastien Bourdeauducq [Fri, 12 Sep 2014 08:00:32 +0000 (16:00 +0800)]
mor1kx: sync

10 years agospi_flash: simplify usage by removing cmd, cmd_width, addr_width parameters
Florent Kermarrec [Wed, 3 Sep 2014 16:37:04 +0000 (18:37 +0200)]
spi_flash: simplify usage by removing cmd, cmd_width, addr_width parameters

10 years agosdram: merge DFII_PIX_RDDATA_SIZE and DFII_PIX_WRDATA_SIZE
Sebastien Bourdeauducq [Wed, 3 Sep 2014 07:02:38 +0000 (15:02 +0800)]
sdram: merge DFII_PIX_RDDATA_SIZE and DFII_PIX_WRDATA_SIZE

10 years agobios: support DDR3 write leveling and read calibration. This makes the full DDR3...
Sebastien Bourdeauducq [Wed, 3 Sep 2014 06:25:26 +0000 (14:25 +0800)]
bios: support DDR3 write leveling and read calibration. This makes the full DDR3 SODIMM work on the KC705.

10 years agosdramphy/initsequence: cleanup and expose DDR3 MR1 value
Sebastien Bourdeauducq [Wed, 3 Sep 2014 06:21:30 +0000 (14:21 +0800)]
sdramphy/initsequence: cleanup and expose DDR3 MR1 value

10 years agosdramphy/initsequence: clean up mr1/mr2 computation on DDR3 and enable Dynamic ODT
Florent Kermarrec [Mon, 1 Sep 2014 21:11:15 +0000 (23:11 +0200)]
sdramphy/initsequence: clean up mr1/mr2 computation on DDR3 and enable Dynamic ODT

10 years agok7ddrphy: add bitslip control for incoming DQ
Sebastien Bourdeauducq [Mon, 1 Sep 2014 11:54:39 +0000 (19:54 +0800)]
k7ddrphy: add bitslip control for incoming DQ

10 years agotargets/kc705: add ddrphy to CSR map
Sebastien Bourdeauducq [Mon, 1 Sep 2014 08:40:10 +0000 (16:40 +0800)]
targets/kc705: add ddrphy to CSR map

10 years agobios: add sdrrderr
Sebastien Bourdeauducq [Mon, 1 Sep 2014 07:23:37 +0000 (15:23 +0800)]
bios: add sdrrderr

10 years agobios: add DQ filtering to sdrrd, add sdrrdbuf command
Sebastien Bourdeauducq [Mon, 1 Sep 2014 06:58:58 +0000 (14:58 +0800)]
bios: add DQ filtering to sdrrd, add sdrrdbuf command

10 years agok7ddrphy: write leveling and read calibration support
Sebastien Bourdeauducq [Sun, 31 Aug 2014 13:54:28 +0000 (21:54 +0800)]
k7ddrphy: write leveling and read calibration support

10 years agok7ddrphy: do not register T at SERDES (fixes timing problem)
Sebastien Bourdeauducq [Sun, 31 Aug 2014 13:53:35 +0000 (21:53 +0800)]
k7ddrphy: do not register T at SERDES (fixes timing problem)

10 years agolibcompiler-rt: add moddi3
Sebastien Bourdeauducq [Thu, 28 Aug 2014 08:54:12 +0000 (16:54 +0800)]
libcompiler-rt: add moddi3

10 years agok7ddrphy: update comment
Sebastien Bourdeauducq [Fri, 22 Aug 2014 11:02:57 +0000 (19:02 +0800)]
k7ddrphy: update comment

10 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

10 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

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

10 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

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

10 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

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

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

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

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

10 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

10 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

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

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

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

10 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

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

10 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

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

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

10 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

10 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

10 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

10 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

10 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

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

10 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

10 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

10 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

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

10 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

10 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

10 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

10 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

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

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

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

10 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

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

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

10 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

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

10 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