litex.git
9 years agoliteusb: begin refactoring and simplification (wip)
Florent Kermarrec [Mon, 27 Apr 2015 13:19:54 +0000 (15:19 +0200)]
liteusb: begin refactoring and simplification (wip)

9 years agoliteeth: use new Migen modules from actorlib (avoid duplications between cores)
Florent Kermarrec [Mon, 27 Apr 2015 13:06:37 +0000 (15:06 +0200)]
liteeth: use new Migen modules from actorlib (avoid duplications between cores)

9 years agolitepcie: use new Migen modules from actorlib (avoid duplications between cores)
Florent Kermarrec [Mon, 27 Apr 2015 12:59:29 +0000 (14:59 +0200)]
litepcie: use new Migen modules from actorlib (avoid duplications between cores)

9 years agolitesata: split hdd model (phy, link, transport, command & hdd) and update simulations
Florent Kermarrec [Mon, 27 Apr 2015 12:50:43 +0000 (14:50 +0200)]
litesata: split hdd model (phy, link, transport, command & hdd) and update simulations

9 years agolitesata: use new Migen modules from actorlib/packet.py (avoid duplications between...
Florent Kermarrec [Mon, 27 Apr 2015 12:48:14 +0000 (14:48 +0200)]
litesata: use new Migen modules from actorlib/packet.py (avoid duplications between cores)

9 years agolitesata: remove icarus_workaround.patch (obsolete)
Florent Kermarrec [Mon, 27 Apr 2015 12:44:54 +0000 (14:44 +0200)]
litesata: remove icarus_workaround.patch (obsolete)

9 years agoliteeth: do MII/GMII detection in gateware for gmii_mii phy
Florent Kermarrec [Sun, 26 Apr 2015 15:32:25 +0000 (17:32 +0200)]
liteeth: do MII/GMII detection in gateware for gmii_mii phy

9 years agoliteeth/phy/gmii: add default value for pads_register
Florent Kermarrec [Sun, 26 Apr 2015 12:52:05 +0000 (14:52 +0200)]
liteeth/phy/gmii: add default value for pads_register

9 years agoliteeth: fix and improve 10/100/1000Mbps speed auto detection
Florent Kermarrec [Sun, 26 Apr 2015 12:13:09 +0000 (14:13 +0200)]
liteeth: fix and improve 10/100/1000Mbps speed auto detection

9 years agoliteeth/core/ip: simplify ip rx checksum control
Florent Kermarrec [Fri, 24 Apr 2015 09:31:10 +0000 (11:31 +0200)]
liteeth/core/ip: simplify ip rx checksum control

9 years agoliteeth: finish with_preamble_crc vs with_hw_preamble_crc renaming
Florent Kermarrec [Fri, 24 Apr 2015 09:30:35 +0000 (11:30 +0200)]
liteeth: finish with_preamble_crc vs with_hw_preamble_crc renaming

9 years agoliteeth/mac/core: simplify and fix padding
Florent Kermarrec [Fri, 24 Apr 2015 07:06:26 +0000 (09:06 +0200)]
liteeth/mac/core: simplify and fix padding

9 years agolitescope: fix read in reg.py
Florent Kermarrec [Mon, 20 Apr 2015 06:16:31 +0000 (08:16 +0200)]
litescope: fix read in reg.py

9 years agolitescope: remove repeat mode on drivers (not useful) and cleanup
Florent Kermarrec [Sat, 18 Apr 2015 13:37:38 +0000 (15:37 +0200)]
litescope: remove repeat mode on drivers (not useful) and cleanup

9 years agolite* cores: changes permissions (+x) on make.py files and on litepcie init.sh file
Florent Kermarrec [Sat, 18 Apr 2015 12:51:59 +0000 (08:51 -0400)]
lite* cores: changes permissions (+x) on make.py files and on litepcie init.sh file

9 years agolitescope: add PCIe driver (mmap/Sysfs) and use it on litepcie example design
Florent Kermarrec [Sat, 18 Apr 2015 11:53:14 +0000 (13:53 +0200)]
litescope: add PCIe driver (mmap/Sysfs) and use it on litepcie example design

9 years agolitepcie: fix asciiart in make.py
Florent Kermarrec [Fri, 17 Apr 2015 12:10:32 +0000 (14:10 +0200)]
litepcie: fix asciiart in make.py

9 years agolitepcie: add litepcie_phy_wrappers to extcores
Florent Kermarrec [Fri, 17 Apr 2015 11:52:21 +0000 (13:52 +0200)]
litepcie: add litepcie_phy_wrappers to extcores

9 years agolitepcie: add linux driver + utilities (sysfs + dma)
Florent Kermarrec [Fri, 17 Apr 2015 11:48:34 +0000 (13:48 +0200)]
litepcie: add linux driver + utilities (sysfs + dma)

9 years agoadd litepcie core
Florent Kermarrec [Fri, 17 Apr 2015 11:45:01 +0000 (13:45 +0200)]
add litepcie core

9 years agosoc: add shadow_address parameter
Florent Kermarrec [Fri, 17 Apr 2015 11:33:07 +0000 (13:33 +0200)]
soc: add shadow_address parameter

When don't necessary want to have shadow memories and be able to start CSR at address 0x00000000(for example with an X86 CPU)

9 years agosoc/cpuif: add with_access_functions parameter
Florent Kermarrec [Fri, 17 Apr 2015 11:26:38 +0000 (13:26 +0200)]
soc/cpuif: add with_access_functions parameter

When don't necessary need access functions in our csr.h (for example with an X86 CPU)

9 years agolitesata/test: fix PYTHONPATH
Sebastien Bourdeauducq [Thu, 16 Apr 2015 11:49:46 +0000 (19:49 +0800)]
litesata/test: fix PYTHONPATH

9 years agoCONTRIBUTING: minor fixes
Sebastien Bourdeauducq [Tue, 14 Apr 2015 15:01:06 +0000 (23:01 +0800)]
CONTRIBUTING: minor fixes

9 years agoAdding outgoing directory to .gitignore
Tim 'mithro' Ansell [Mon, 13 Apr 2015 07:32:10 +0000 (17:32 +1000)]
Adding outgoing directory to .gitignore

The outgoing directory is specified in the CONTRIBUTING.md instructions and the
git-send-email example given at http://git-scm.com/docs/git-send-email#EXAMPLE

9 years agoAdding a call to action and link to CONTRIBUTING.md file.
Tim 'mithro' Ansell [Mon, 13 Apr 2015 07:32:08 +0000 (17:32 +1000)]
Adding a call to action and link to CONTRIBUTING.md file.

9 years agoAdding CONTRIBUTING file to help guide new contributions.
Tim 'mithro' Ansell [Mon, 13 Apr 2015 07:32:07 +0000 (17:32 +1000)]
Adding CONTRIBUTING file to help guide new contributions.

GitHub highlights the CONTRIBUTING file when people send pull requests or
open issues, see https://github.com/blog/1184-contributing-guidelines

This file includes a start of guidelines for sending patches.

Fixes issue #7 - https://github.com/m-labs/misoc/issues/7

9 years agoglobal: more pep8
Florent Kermarrec [Mon, 13 Apr 2015 15:56:51 +0000 (17:56 +0200)]
global: more pep8

we will have to continue the work... volunteers are welcome :)

9 years agoglobal: pep8 (E261, E271)
Florent Kermarrec [Mon, 13 Apr 2015 15:16:12 +0000 (17:16 +0200)]
global: pep8 (E261, E271)

9 years agoglobal: pep8 (W262)
Florent Kermarrec [Mon, 13 Apr 2015 15:02:59 +0000 (17:02 +0200)]
global: pep8 (W262)

9 years agoglobal: pep8 (E225)
Florent Kermarrec [Mon, 13 Apr 2015 15:01:05 +0000 (17:01 +0200)]
global: pep8 (E225)

9 years agoglobal: pep8 (E222)
Florent Kermarrec [Mon, 13 Apr 2015 14:58:04 +0000 (16:58 +0200)]
global: pep8 (E222)

9 years agoglobal: pep8 (E401)
Florent Kermarrec [Mon, 13 Apr 2015 14:56:25 +0000 (16:56 +0200)]
global: pep8 (E401)

9 years agoglobal: pep8 (E203)
Florent Kermarrec [Mon, 13 Apr 2015 14:53:07 +0000 (16:53 +0200)]
global: pep8 (E203)

9 years agoglobal: pep8 (E231)
Florent Kermarrec [Mon, 13 Apr 2015 14:51:00 +0000 (16:51 +0200)]
global: pep8 (E231)

9 years agoglobal: pep8 (E201)
Florent Kermarrec [Mon, 13 Apr 2015 14:48:51 +0000 (16:48 +0200)]
global: pep8 (E201)

9 years agoglobal: pep8 (E302)
Florent Kermarrec [Mon, 13 Apr 2015 14:47:22 +0000 (16:47 +0200)]
global: pep8 (E302)

9 years agoglobal: pep8 (replace tabs with spaces)
Florent Kermarrec [Mon, 13 Apr 2015 14:19:55 +0000 (16:19 +0200)]
global: pep8 (replace tabs with spaces)

9 years agolitesata: more pep8 (when convenient), should be almost OK
Florent Kermarrec [Mon, 13 Apr 2015 14:09:04 +0000 (16:09 +0200)]
litesata: more pep8 (when convenient), should be almost OK

9 years agolitesata: pep8 (E265)
Florent Kermarrec [Mon, 13 Apr 2015 13:55:22 +0000 (15:55 +0200)]
litesata: pep8 (E265)

9 years agolitesata: pep8 (E261, E271)
Florent Kermarrec [Mon, 13 Apr 2015 13:51:17 +0000 (15:51 +0200)]
litesata: pep8 (E261, E271)

9 years agolitesata: pep8 (W292)
Florent Kermarrec [Mon, 13 Apr 2015 13:44:52 +0000 (15:44 +0200)]
litesata: pep8 (W292)

9 years agolitesata: pep8 (E225)
Florent Kermarrec [Mon, 13 Apr 2015 13:44:04 +0000 (15:44 +0200)]
litesata: pep8 (E225)

9 years agolitesata: pep8 (E222)
Florent Kermarrec [Mon, 13 Apr 2015 13:29:34 +0000 (15:29 +0200)]
litesata: pep8 (E222)

9 years agolitesata: pep8 (E401)
Florent Kermarrec [Mon, 13 Apr 2015 13:27:36 +0000 (15:27 +0200)]
litesata: pep8 (E401)

9 years agolitesata: pep8 (E203)
Florent Kermarrec [Mon, 13 Apr 2015 13:25:40 +0000 (15:25 +0200)]
litesata: pep8 (E203)

9 years agolitesata: pep8 (E231)
Florent Kermarrec [Mon, 13 Apr 2015 13:19:34 +0000 (15:19 +0200)]
litesata: pep8 (E231)

9 years agolitesata: pep8 (E302)
Florent Kermarrec [Mon, 13 Apr 2015 13:12:39 +0000 (15:12 +0200)]
litesata: pep8 (E302)

9 years agolitesata: pep8 (replace tabs with spaces)
Florent Kermarrec [Mon, 13 Apr 2015 12:55:26 +0000 (14:55 +0200)]
litesata: pep8 (replace tabs with spaces)

9 years agolitescope/examples_designs: add build directory
Florent Kermarrec [Mon, 13 Apr 2015 12:53:17 +0000 (14:53 +0200)]
litescope/examples_designs: add build directory

9 years agoliteusb: more pep8 (when convenient), should be almost OK
Florent Kermarrec [Mon, 13 Apr 2015 12:47:44 +0000 (14:47 +0200)]
liteusb: more pep8 (when convenient), should be almost OK

9 years agoliteusb: pep8 (E265)
Florent Kermarrec [Mon, 13 Apr 2015 12:37:39 +0000 (14:37 +0200)]
liteusb: pep8 (E265)

9 years agoliteusb: pep8 (E225)
Florent Kermarrec [Mon, 13 Apr 2015 12:34:36 +0000 (14:34 +0200)]
liteusb: pep8 (E225)

9 years agoliteusb: pep8 (E222)
Florent Kermarrec [Mon, 13 Apr 2015 12:32:51 +0000 (14:32 +0200)]
liteusb: pep8 (E222)

9 years agoliteusb: pep8 (E231)
Florent Kermarrec [Mon, 13 Apr 2015 12:30:48 +0000 (14:30 +0200)]
liteusb: pep8 (E231)

9 years agoliteusb: pep8 (E201)
Florent Kermarrec [Mon, 13 Apr 2015 12:29:44 +0000 (14:29 +0200)]
liteusb: pep8 (E201)

9 years agoliteusb: pep8 (E302)
Florent Kermarrec [Mon, 13 Apr 2015 12:27:31 +0000 (14:27 +0200)]
liteusb: pep8 (E302)

9 years agoliteusb: pep8 (replace tabs with spaces)
Florent Kermarrec [Mon, 13 Apr 2015 12:09:58 +0000 (14:09 +0200)]
liteusb: pep8 (replace tabs with spaces)

9 years agolitescope: more pep8 (when convenient), should be almost OK
Florent Kermarrec [Mon, 13 Apr 2015 11:56:24 +0000 (13:56 +0200)]
litescope: more pep8 (when convenient), should be almost OK

9 years agolitescope: pep8 (E265)
Florent Kermarrec [Mon, 13 Apr 2015 11:46:06 +0000 (13:46 +0200)]
litescope: pep8 (E265)

9 years agolitescope: pep8 (E261, E271)
Florent Kermarrec [Mon, 13 Apr 2015 11:40:30 +0000 (13:40 +0200)]
litescope: pep8 (E261, E271)

9 years agolitescope: pep8 (W292)
Florent Kermarrec [Mon, 13 Apr 2015 11:38:35 +0000 (13:38 +0200)]
litescope: pep8 (W292)

9 years agolitescope: pep8 (E225)
Florent Kermarrec [Mon, 13 Apr 2015 11:37:46 +0000 (13:37 +0200)]
litescope: pep8 (E225)

9 years agolitescope: pep8 (E222)
Florent Kermarrec [Mon, 13 Apr 2015 11:29:41 +0000 (13:29 +0200)]
litescope: pep8 (E222)

9 years agolitescope: pep8 (E401)
Florent Kermarrec [Mon, 13 Apr 2015 11:28:47 +0000 (13:28 +0200)]
litescope: pep8 (E401)

9 years agolitescope: pep8 (E203)
Florent Kermarrec [Mon, 13 Apr 2015 11:25:27 +0000 (13:25 +0200)]
litescope: pep8 (E203)

9 years agolitescope: pep8 (E231)
Florent Kermarrec [Mon, 13 Apr 2015 11:23:48 +0000 (13:23 +0200)]
litescope: pep8 (E231)

9 years agolitescope: pep8 (E201)
Florent Kermarrec [Mon, 13 Apr 2015 11:20:13 +0000 (13:20 +0200)]
litescope: pep8 (E201)

9 years agolitescope: pep8 (E302)
Florent Kermarrec [Mon, 13 Apr 2015 11:18:21 +0000 (13:18 +0200)]
litescope: pep8 (E302)

9 years agolitescope: pep8 (replace tabs with spaces)
Florent Kermarrec [Mon, 13 Apr 2015 11:09:44 +0000 (13:09 +0200)]
litescope: pep8 (replace tabs with spaces)

9 years agoliteeth: more pep8 (when convenient), should be almost OK
Florent Kermarrec [Mon, 13 Apr 2015 11:02:04 +0000 (13:02 +0200)]
liteeth: more pep8 (when convenient), should be almost OK

9 years agoliteeth: pep8 (E265)
Florent Kermarrec [Mon, 13 Apr 2015 09:23:27 +0000 (11:23 +0200)]
liteeth: pep8 (E265)

9 years agoliteeth: pep8 (E261, E271)
Florent Kermarrec [Mon, 13 Apr 2015 09:07:50 +0000 (11:07 +0200)]
liteeth: pep8 (E261, E271)

9 years agoliteeth: pep8 (W292)
Florent Kermarrec [Mon, 13 Apr 2015 08:58:45 +0000 (10:58 +0200)]
liteeth: pep8 (W292)

9 years agoliteeth: pep8 (E225)
Florent Kermarrec [Mon, 13 Apr 2015 08:56:18 +0000 (10:56 +0200)]
liteeth: pep8 (E225)

9 years agoliteeth: pep8 (E222)
Florent Kermarrec [Mon, 13 Apr 2015 08:48:59 +0000 (10:48 +0200)]
liteeth: pep8 (E222)

9 years agoliteeth: pep8 (E401)
Florent Kermarrec [Mon, 13 Apr 2015 08:45:09 +0000 (10:45 +0200)]
liteeth: pep8 (E401)

9 years agoliteeth: pep8 (E203)
Florent Kermarrec [Mon, 13 Apr 2015 08:39:46 +0000 (10:39 +0200)]
liteeth: pep8 (E203)

9 years agoliteeth: pep8 (E231)
Florent Kermarrec [Mon, 13 Apr 2015 08:31:18 +0000 (10:31 +0200)]
liteeth: pep8 (E231)

9 years agoliteeth: pep8 (E201)
Florent Kermarrec [Mon, 13 Apr 2015 08:23:33 +0000 (10:23 +0200)]
liteeth: pep8 (E201)

9 years agoliteeth: pep8 (E302)
Florent Kermarrec [Mon, 13 Apr 2015 08:20:02 +0000 (10:20 +0200)]
liteeth: pep8 (E302)

9 years agoliteeth: pep8 (replace tabs with spaces)
Florent Kermarrec [Mon, 13 Apr 2015 07:53:43 +0000 (09:53 +0200)]
liteeth: pep8 (replace tabs with spaces)

9 years agoliteeth/phy/gmii: fix clock generation for mii mode (clock_pads.tx is an input)
Florent Kermarrec [Sun, 12 Apr 2015 20:09:46 +0000 (22:09 +0200)]
liteeth/phy/gmii: fix clock generation for mii mode (clock_pads.tx is an input)

9 years agomicroudp.c: add #ifdef on ethmode (bios generation for gmii or mii was broken)
Florent Kermarrec [Sun, 12 Apr 2015 18:58:23 +0000 (20:58 +0200)]
microudp.c: add #ifdef on ethmode (bios generation for gmii or mii was broken)

9 years agoliteeth/phy/gmii_mii: add pads registers in RX
Florent Kermarrec [Sun, 12 Apr 2015 18:19:32 +0000 (20:19 +0200)]
liteeth/phy/gmii_mii: add pads registers in RX

9 years agoliteeth/phy/gmii_mii: avoid doubling pads register on TX
Florent Kermarrec [Sun, 12 Apr 2015 18:11:08 +0000 (20:11 +0200)]
liteeth/phy/gmii_mii: avoid doubling pads register on TX

9 years agoliteeth/phy/__init__.py: add more comments
Florent Kermarrec [Sun, 12 Apr 2015 16:56:46 +0000 (18:56 +0200)]
liteeth/phy/__init__.py: add more comments

9 years agomicroudp: fix if (
Florent Kermarrec [Sun, 12 Apr 2015 16:52:35 +0000 (18:52 +0200)]
microudp: fix if (

9 years agoliteeth/phy/gmii_mii: add clock counter and use it in bios to select mode
Florent Kermarrec [Sun, 12 Apr 2015 15:33:38 +0000 (17:33 +0200)]
liteeth/phy/gmii_mii: add clock counter and use it in bios to select mode

9 years agoliteeth/phy: add GMII/MII phy
Florent Kermarrec [Sun, 12 Apr 2015 14:49:39 +0000 (16:49 +0200)]
liteeth/phy: add GMII/MII phy
for now swicth is manual, we will need a clk counter to allow software or logic to automatically switch between GMII and MII

9 years agoliteeth/phy/mii: simplify LiteEthPHYMIIRX using Converter
Florent Kermarrec [Sun, 12 Apr 2015 13:50:20 +0000 (15:50 +0200)]
liteeth/phy/mii: simplify LiteEthPHYMIIRX using Converter

9 years agoliteeth/phy/mii: simplify LiteEthPHYMIITX using Converter
Florent Kermarrec [Sun, 12 Apr 2015 13:21:58 +0000 (15:21 +0200)]
liteeth/phy/mii: simplify LiteEthPHYMIITX using Converter

9 years agoliteeth/phy/mii: assign tx_er only if exists (as it's done on GMII)
Florent Kermarrec [Sun, 12 Apr 2015 12:43:35 +0000 (14:43 +0200)]
liteeth/phy/mii: assign tx_er only if exists (as it's done on GMII)

9 years agoliteeth/phy/mii: allow use of MII phy on GMII/MII chips that do not have phy clock...
Florent Kermarrec [Sun, 12 Apr 2015 12:27:29 +0000 (14:27 +0200)]
liteeth/phy/mii: allow use of MII phy on GMII/MII chips that do not have phy clock provided by the FPGA (tested on KC705)

9 years agotimer: revert prescaler (we will in fact use a software prescaler for uIP)
Florent Kermarrec [Fri, 10 Apr 2015 16:57:06 +0000 (18:57 +0200)]
timer: revert prescaler (we will in fact use a software prescaler for uIP)

9 years agotimer: add prescaler
Florent Kermarrec [Fri, 10 Apr 2015 11:58:44 +0000 (13:58 +0200)]
timer: add prescaler

9 years agos6ddrphy: redo phase_sel, get rid of CLOCK_DEDICATED_ROUTE
Robert Jordens [Fri, 10 Apr 2015 01:17:02 +0000 (19:17 -0600)]
s6ddrphy: redo phase_sel, get rid of CLOCK_DEDICATED_ROUTE

9 years agoliteeth: adapt to new ModuleTransformer
Sebastien Bourdeauducq [Fri, 10 Apr 2015 03:42:25 +0000 (11:42 +0800)]
liteeth: adapt to new ModuleTransformer

9 years agolitesata: update build core target generation
Florent Kermarrec [Wed, 8 Apr 2015 22:00:25 +0000 (00:00 +0200)]
litesata: update build core target generation

9 years agolite*: finish ModuleTransformer adaptations (need to be tested on board)
Florent Kermarrec [Wed, 8 Apr 2015 21:27:22 +0000 (23:27 +0200)]
lite*: finish ModuleTransformer adaptations (need to be tested on board)