litex.git
5 years agosoftware: use "unsigned long" for address values, also 8-byte alignment
Gabriel L. Somlo [Mon, 29 Apr 2019 18:49:29 +0000 (14:49 -0400)]
software: use "unsigned long" for address values, also 8-byte alignment

Enable future support for 64-bit CPU models.

5 years agotest/test_targets: comment bad variant tests for now
Florent Kermarrec [Mon, 29 Apr 2019 15:11:42 +0000 (17:11 +0200)]
test/test_targets: comment bad variant tests for now

5 years agosoc/interconnect/axi: add burst support to AXI2Wishbone
Florent Kermarrec [Mon, 29 Apr 2019 14:48:42 +0000 (16:48 +0200)]
soc/interconnect/axi: add burst support to AXI2Wishbone

5 years agosoc/interconnect/axi: add capabilities to AXIBurst2Beat and simplify/optimize
Florent Kermarrec [Mon, 29 Apr 2019 11:11:48 +0000 (13:11 +0200)]
soc/interconnect/axi: add capabilities to AXIBurst2Beat and simplify/optimize

5 years agointegration/soc_core: use cpu name as cpu-type for all cpus (mor1kx was instanciated...
Florent Kermarrec [Mon, 29 Apr 2019 08:14:30 +0000 (10:14 +0200)]
integration/soc_core: use cpu name as cpu-type for all cpus (mor1kx was instanciated with or1k)

Keep or1k retro-compatibility for now but add a warning

5 years agobuild/tools: add deprecated_warning
Florent Kermarrec [Mon, 29 Apr 2019 08:12:54 +0000 (10:12 +0200)]
build/tools: add deprecated_warning

5 years agocpu_interface: default to gcc for all cpus unless told otherwise (mor1kx default...
Florent Kermarrec [Mon, 29 Apr 2019 08:00:04 +0000 (10:00 +0200)]
cpu_interface: default to gcc for all cpus unless told otherwise (mor1kx default was clang)

5 years agocpu: use property methods to return name, endianness, gcc triple/flags, linker output...
Florent Kermarrec [Mon, 29 Apr 2019 07:58:51 +0000 (09:58 +0200)]
cpu: use property methods to return name, endianness, gcc triple/flags, linker output format

5 years agocpu: integrate nmigen version of Minerva, add submodule
Florent Kermarrec [Sun, 28 Apr 2019 21:38:31 +0000 (23:38 +0200)]
cpu: integrate nmigen version of Minerva, add submodule

5 years agoUpdating documents from LiteX BuildEnv Wiki
Florent Kermarrec [Sun, 28 Apr 2019 09:41:33 +0000 (11:41 +0200)]
Updating documents from LiteX BuildEnv Wiki

5 years agofix vexriscv build
Kurt Kiefer [Sat, 27 Apr 2019 21:57:35 +0000 (14:57 -0700)]
fix vexriscv build

5 years agoMerge pull request #175 from mithro/cpu-docs
enjoy-digital [Sat, 27 Apr 2019 19:24:06 +0000 (21:24 +0200)]
Merge pull request #175 from mithro/cpu-docs

Standardizing `cpu_variants` and adding lots of documentation

5 years agoAdding testing of cpu variants.
Tim 'mithro' Ansell [Fri, 26 Apr 2019 22:13:28 +0000 (17:13 -0500)]
Adding testing of cpu variants.

5 years agoWork with no `cpu_variant` provided.
Tim 'mithro' Ansell [Fri, 26 Apr 2019 22:08:07 +0000 (17:08 -0500)]
Work with no `cpu_variant` provided.

5 years agoUpdating documents from LiteX BuildEnv Wiki
Tim 'mithro' Ansell [Fri, 26 Apr 2019 22:00:52 +0000 (17:00 -0500)]
Updating documents from LiteX BuildEnv Wiki

5 years agoUpdating documents from LiteX BuildEnv Wiki
Tim 'mithro' Ansell [Fri, 26 Apr 2019 20:29:32 +0000 (15:29 -0500)]
Updating documents from LiteX BuildEnv Wiki

5 years agoStandardize the `cpu_variant` strings.
Tim 'mithro' Ansell [Fri, 26 Apr 2019 21:20:21 +0000 (16:20 -0500)]
Standardize the `cpu_variant` strings.

Current valid `cpu_variant` values;
 * minimal  (alias: min)
 * lite     (alias: light, zephyr, nuttx)
 * standard (alias: std) - Default
 * full     (alias: everything)
 * linux

Fully documented in the [docs/Soft-CPU.md](docs/Soft-CPU.md) file
mirrored from the
[LiteX-BuildEnv Wiki](https://github.com/timvideos/litex-buildenv/wiki).

Also support "extensions" which are added to the `cpu_variant` with a
`+`. Currently only the `debug` extension is supported. In future hope
to add `mmu` and `hmul` extensions.

5 years ago.gitmodules: use our VexRiscv-verilog
Florent Kermarrec [Fri, 26 Apr 2019 21:49:06 +0000 (23:49 +0200)]
.gitmodules: use our VexRiscv-verilog

5 years agodocs: Adding script to pull useful docs from LiteX BuildEnv's wiki.
Tim 'mithro' Ansell [Fri, 26 Apr 2019 19:28:20 +0000 (14:28 -0500)]
docs: Adding script to pull useful docs from LiteX BuildEnv's wiki.

5 years agosoc/integration/soc_core: fix get_mem_data when not file is not multiple of 4 bytes
Florent Kermarrec [Thu, 25 Apr 2019 21:43:10 +0000 (23:43 +0200)]
soc/integration/soc_core: fix get_mem_data when not file is not multiple of 4 bytes

5 years agosoc/integration/soc_core: fix get_mem_data for json files
Florent Kermarrec [Thu, 25 Apr 2019 16:36:47 +0000 (18:36 +0200)]
soc/integration/soc_core: fix get_mem_data for json files

5 years agosoc/integration/soc_core: add integrated_sram_init
Florent Kermarrec [Thu, 25 Apr 2019 15:30:03 +0000 (17:30 +0200)]
soc/integration/soc_core: add integrated_sram_init

5 years agosoc/integration/cpu_interface: fix banner in get_mem_header
Florent Kermarrec [Wed, 24 Apr 2019 20:44:37 +0000 (22:44 +0200)]
soc/integration/cpu_interface: fix banner in get_mem_header

5 years agoMerge pull request #173 from gsomlo/gls-git-revision
enjoy-digital [Wed, 24 Apr 2019 20:42:36 +0000 (22:42 +0200)]
Merge pull request #173 from gsomlo/gls-git-revision

build: handle exceptional case when litex/migen not deployed as git repo

5 years agobuild: handle exceptional case when litex/migen not deployed as git repo
Gabriel L. Somlo [Wed, 24 Apr 2019 16:50:47 +0000 (12:50 -0400)]
build: handle exceptional case when litex/migen not deployed as git repo

5 years agotools/remote/csr_builder: allow comments in csv file and cleanup
Florent Kermarrec [Wed, 24 Apr 2019 10:25:49 +0000 (12:25 +0200)]
tools/remote/csr_builder: allow comments in csv file and cleanup

5 years agosoftware/libnet/microudp: rearrange send_packet, add comments and remove txlen padding
Florent Kermarrec [Wed, 24 Apr 2019 09:32:40 +0000 (11:32 +0200)]
software/libnet/microudp: rearrange send_packet, add comments and remove txlen padding

5 years agosoftware/libnet/microudp: speed-up ARP by changing timeout/tries
Florent Kermarrec [Wed, 24 Apr 2019 07:55:41 +0000 (09:55 +0200)]
software/libnet/microudp: speed-up ARP by changing timeout/tries

First ARP request does not seem to be transmitted (the link is probably not
fully established). Reduce the timeout between tries and increase number of
tries.

5 years agobuild/tools: fix typo
Florent Kermarrec [Tue, 23 Apr 2019 16:09:12 +0000 (18:09 +0200)]
build/tools: fix typo

5 years agosetup.py: add short names for tools
Florent Kermarrec [Tue, 23 Apr 2019 15:46:20 +0000 (17:46 +0200)]
setup.py: add short names for tools

5 years agotools/litex_term: change TERM prompt to LXTERM
Florent Kermarrec [Tue, 23 Apr 2019 15:46:02 +0000 (17:46 +0200)]
tools/litex_term: change TERM prompt to LXTERM

5 years agobuild: add migen and litex git revision to generated file
Florent Kermarrec [Tue, 23 Apr 2019 15:40:24 +0000 (17:40 +0200)]
build: add migen and litex git revision to generated file

5 years agobuild/tools: git_revision is not doing what we want, return "--------" for now
Florent Kermarrec [Tue, 23 Apr 2019 15:15:43 +0000 (17:15 +0200)]
build/tools: git_revision is not doing what we want, return "--------" for now

5 years agolitex_setup: revert default install behaviour but add --user support
Florent Kermarrec [Tue, 23 Apr 2019 12:53:00 +0000 (14:53 +0200)]
litex_setup: revert default install behaviour but add --user support

5 years agoMerge pull request #171 from keesj/develop_as_user
enjoy-digital [Tue, 23 Apr 2019 12:41:37 +0000 (14:41 +0200)]
Merge pull request #171 from keesj/develop_as_user

Install development packages in the user directory

5 years agotools/litex_server: fix comms import
Florent Kermarrec [Tue, 23 Apr 2019 12:25:27 +0000 (14:25 +0200)]
tools/litex_server: fix comms import

5 years agosoc/integration: also add sha-1/date to generated software files
Florent Kermarrec [Tue, 23 Apr 2019 11:17:54 +0000 (13:17 +0200)]
soc/integration: also add sha-1/date to generated software files

5 years agobuild: add sha-1/date to generated verilog, change git_version to git_revision
Florent Kermarrec [Tue, 23 Apr 2019 10:59:25 +0000 (12:59 +0200)]
build: add sha-1/date to generated verilog, change git_version to git_revision

5 years agoInstall development packages in the user directory
Kees Jongenburger [Tue, 23 Apr 2019 10:23:09 +0000 (12:23 +0200)]
Install development packages in the user directory

When in development mode install the packages in the user directory using the
--user flag from pip. This allows to install and run without the need for root
access.

5 years agotest/test_targets: cover all platforms
Florent Kermarrec [Tue, 23 Apr 2019 09:38:08 +0000 (11:38 +0200)]
test/test_targets: cover all platforms

5 years agoboards/platforms/ulx3s: fix default clock
Florent Kermarrec [Tue, 23 Apr 2019 09:37:29 +0000 (11:37 +0200)]
boards/platforms/ulx3s: fix default clock

5 years agoboards/platforms/sp605: apply same simplifications than on others platforms
Florent Kermarrec [Tue, 23 Apr 2019 09:21:55 +0000 (11:21 +0200)]
boards/platforms/sp605: apply same simplifications than on others platforms

5 years agoboards/platforms: add SP605
Michael Betz [Tue, 23 Apr 2019 09:15:42 +0000 (11:15 +0200)]
boards/platforms: add SP605

5 years agocores/cpu/vexriscv: fix wrong revert
Florent Kermarrec [Tue, 23 Apr 2019 09:13:19 +0000 (11:13 +0200)]
cores/cpu/vexriscv: fix wrong revert

5 years agotargets/ac701: cleanup and make it similar to others targets.
Florent Kermarrec [Tue, 23 Apr 2019 09:10:35 +0000 (11:10 +0200)]
targets/ac701: cleanup and make it similar to others targets.

Still supports EthernetSoC with RGMII and 1000BaseX.

5 years agotargets/xilinx: remove keep attribute on clock going to idelayctrl
Florent Kermarrec [Tue, 23 Apr 2019 08:51:36 +0000 (10:51 +0200)]
targets/xilinx: remove keep attribute on clock going to idelayctrl

Causes P&R issues with Vivado.

5 years agoboards/platform/ac701: add proper copyright, cleanup to be similar to others platforms
Florent Kermarrec [Tue, 23 Apr 2019 08:02:07 +0000 (10:02 +0200)]
boards/platform/ac701: add proper copyright, cleanup to be similar to others platforms

5 years agoboards/platforms/kc705: provide only one default programmer as others platforms
Florent Kermarrec [Tue, 23 Apr 2019 08:00:52 +0000 (10:00 +0200)]
boards/platforms/kc705: provide only one default programmer as others platforms

5 years agoboards: Xilinx ac701 dev board support
Vamsi K Vytla [Tue, 23 Apr 2019 07:48:16 +0000 (09:48 +0200)]
boards: Xilinx ac701 dev board support

5 years agobuild/xilinx/ise.py: write .v file for post synthesis sim
Michael Betz [Tue, 23 Apr 2019 07:22:48 +0000 (09:22 +0200)]
build/xilinx/ise.py: write .v file for post synthesis sim

5 years agobuild/xilinx/programmer: cleanup XC3SProg position parameter
Florent Kermarrec [Tue, 23 Apr 2019 07:20:42 +0000 (09:20 +0200)]
build/xilinx/programmer: cleanup XC3SProg position parameter

5 years agobuild/xilinx/programmer: add position parameter to XC3SProg
Michael Betz [Tue, 23 Apr 2019 07:16:42 +0000 (09:16 +0200)]
build/xilinx/programmer: add position parameter to XC3SProg

5 years ago.gitignore: ignore tilde files
Vamsi K Vytla [Tue, 23 Apr 2019 07:10:11 +0000 (09:10 +0200)]
.gitignore: ignore tilde files

5 years agotargets/minispartan6: use S6PLL in CRG
Florent Kermarrec [Tue, 23 Apr 2019 04:44:29 +0000 (06:44 +0200)]
targets/minispartan6: use S6PLL in CRG

5 years agocores/clock: add divclk_divide_range on S6PLL/S6DCM
Florent Kermarrec [Tue, 23 Apr 2019 04:43:48 +0000 (06:43 +0200)]
cores/clock: add divclk_divide_range on S6PLL/S6DCM

5 years agocores/clock: use common XilinxClocking class for all Xilinx clocking modules
Florent Kermarrec [Tue, 23 Apr 2019 04:35:39 +0000 (06:35 +0200)]
cores/clock: use common XilinxClocking class for all Xilinx clocking modules

5 years agocores/clock: add initial Spartan6 PLL/DCM support
Michael Betz [Tue, 23 Apr 2019 04:23:00 +0000 (06:23 +0200)]
cores/clock: add initial Spartan6 PLL/DCM support

5 years agobuild: add git version (sha-1) used to create the scripts
Florent Kermarrec [Tue, 23 Apr 2019 04:03:12 +0000 (06:03 +0200)]
build: add git version (sha-1) used to create the scripts

5 years agobuild: scripts are generated by LiteX
Florent Kermarrec [Tue, 23 Apr 2019 03:38:33 +0000 (05:38 +0200)]
build: scripts are generated by LiteX

5 years agobuild/xilinx/vivado: cleanup pull request #170
Florent Kermarrec [Tue, 23 Apr 2019 03:33:56 +0000 (05:33 +0200)]
build/xilinx/vivado: cleanup pull request #170

5 years agoMerge pull request #170 from ldoolitt/master
enjoy-digital [Tue, 23 Apr 2019 03:26:54 +0000 (05:26 +0200)]
Merge pull request #170 from ldoolitt/master

build/xilinx/vivado: only try Xilinx setup if vivado is not already i…

5 years agobuild/xilinx/vivado: only try Xilinx setup if vivado is not already in the path
Larry Doolittle [Mon, 22 Apr 2019 22:42:31 +0000 (15:42 -0700)]
build/xilinx/vivado: only try Xilinx setup if vivado is not already in the path

Only affects the non-Windows code path.
Uses python distutils, already used elsewhere.

5 years agoglobal: switch to VexRiscv as the default CPU
Florent Kermarrec [Mon, 22 Apr 2019 07:37:00 +0000 (09:37 +0200)]
global: switch to VexRiscv as the default CPU

VexRiscv can now replace LM32 for almost all usecases and we now have better
software support with RISC-V.

5 years agoci: fix test_targets/test_simple
Florent Kermarrec [Mon, 22 Apr 2019 06:53:43 +0000 (08:53 +0200)]
ci: fix test_targets/test_simple

5 years agotest: remove waveforms generation
Florent Kermarrec [Mon, 22 Apr 2019 06:41:28 +0000 (08:41 +0200)]
test: remove waveforms generation

5 years agotravis: simplify, enable and add RISC-V toolchain to build targets
Florent Kermarrec [Mon, 22 Apr 2019 06:32:00 +0000 (08:32 +0200)]
travis: simplify, enable and add RISC-V toolchain to build targets

5 years agoboards/platforms: add separators, cleanup imports
Florent Kermarrec [Sat, 20 Apr 2019 22:44:23 +0000 (00:44 +0200)]
boards/platforms: add separators, cleanup imports

5 years agoboards/platforms: provide only one default programmer per platform.
Florent Kermarrec [Sat, 20 Apr 2019 22:17:03 +0000 (00:17 +0200)]
boards/platforms: provide only one default programmer per platform.

create_programmer is not really longer used, so try to keep it simple.

5 years agoboards/platforms/kc705: only keep Vivado support
Florent Kermarrec [Sat, 20 Apr 2019 22:04:56 +0000 (00:04 +0200)]
boards/platforms/kc705: only keep Vivado support

There is no reason still using ISE on 7-Series.

5 years agoboards: always define timing constraints the same way (1e9/freq_mhz)
Florent Kermarrec [Sat, 20 Apr 2019 21:56:27 +0000 (23:56 +0200)]
boards: always define timing constraints the same way (1e9/freq_mhz)

5 years agoboards/targets/ulx3s: allow running test_targets on it
Florent Kermarrec [Sat, 20 Apr 2019 21:47:05 +0000 (23:47 +0200)]
boards/targets/ulx3s: allow running test_targets on it

5 years agoboards/targets: add keep attribute directly in crg
Florent Kermarrec [Sat, 20 Apr 2019 21:43:44 +0000 (23:43 +0200)]
boards/targets: add keep attribute directly in crg

This makes it systematic and avoid having to add it later.

5 years agoMerge pull request #167 from xobs/network-flag-check
enjoy-digital [Sat, 20 Apr 2019 10:23:24 +0000 (12:23 +0200)]
Merge pull request #167 from xobs/network-flag-check

litex_server: check socket flags exist before using them

5 years agolitex_server: check socket flags exist before using them
Sean Cross [Sat, 20 Apr 2019 09:28:26 +0000 (17:28 +0800)]
litex_server: check socket flags exist before using them

Some flags are only available on certain platforms.  Verify these flags
exist prior to using them when opening a socket.

See
https://stackoverflow.com/questions/14388706/socket-options-so-reuseaddr-and-so-reuseport-how-do-they-differ-do-they-mean-t
for more information

Signed-off-by: Sean Cross <sean@xobs.io>
5 years agotools: move from litex.soc.tools to litex.tools and fix usb.core import
Florent Kermarrec [Sat, 20 Apr 2019 08:44:53 +0000 (10:44 +0200)]
tools: move from litex.soc.tools to litex.tools and fix usb.core import

5 years agoMerge pull request #165 from xobs/vexriscv-cpu-reset-address
enjoy-digital [Fri, 19 Apr 2019 17:16:16 +0000 (19:16 +0200)]
Merge pull request #165 from xobs/vexriscv-cpu-reset-address

Vexriscv cpu reset address

5 years agoMerge pull request #164 from xobs/litex-usb-server
enjoy-digital [Fri, 19 Apr 2019 17:14:15 +0000 (19:14 +0200)]
Merge pull request #164 from xobs/litex-usb-server

Litex usb server support

5 years agoutils: litex_server: add usb support
Sean Cross [Fri, 19 Apr 2019 14:56:39 +0000 (15:56 +0100)]
utils: litex_server: add usb support

Add `--usb` and associated arguments to create a litex bridge over
USB.  This makes use of the new CommUSB module.

Signed-off-by: Sean Cross <sean@xobs.io>
5 years agotools: remote: add usb communications protocol
Sean Cross [Fri, 19 Apr 2019 14:54:48 +0000 (15:54 +0100)]
tools: remote: add usb communications protocol

This adds a USB communications protocol to the suite of litex-supported
wishbone bridge protocols.

Signed-off-by: Sean Cross <sean@xobs.io>
5 years agosoc/interconnect/axi: add AXIBurst2Beat
Florent Kermarrec [Fri, 19 Apr 2019 10:13:16 +0000 (12:13 +0200)]
soc/interconnect/axi: add AXIBurst2Beat

Converts AXI bursts commands to AXI beats.

5 years agosoc/interconnect/avalon: add description
Florent Kermarrec [Fri, 19 Apr 2019 09:43:15 +0000 (11:43 +0200)]
soc/interconnect/avalon: add description

5 years agoMerge branch 'master' of https://github.com/enjoy-digital/litex
Sean Cross [Fri, 19 Apr 2019 08:47:55 +0000 (16:47 +0800)]
Merge branch 'master' of https://github.com/enjoy-digital/litex

5 years agosoc/integration/soc_zynq: fix HP0 connections
Florent Kermarrec [Fri, 19 Apr 2019 08:21:56 +0000 (10:21 +0200)]
soc/integration/soc_zynq: fix HP0 connections

5 years agobuild/xilinx/vivado: only set library for vhdl files (not supported for verilog/syste...
Florent Kermarrec [Fri, 19 Apr 2019 07:18:25 +0000 (09:18 +0200)]
build/xilinx/vivado: only set library for vhdl files (not supported for verilog/system-verilog)

5 years agocpu: vexriscv: allow cpu_reset_address to be overridden
Sean Cross [Fri, 19 Apr 2019 05:04:57 +0000 (13:04 +0800)]
cpu: vexriscv: allow cpu_reset_address to be overridden

Allow the cpu_reset_address value to be overridden, for example allowing
it to be a signal.  That way the reset address can be modified after
synthesis, in dual-core or debug situations.

Signed-off-by: Sean Cross <sean@xobs.io>
5 years agosoc/interconnect: add avalon with converters to/from native streams
Florent Kermarrec [Thu, 18 Apr 2019 16:42:29 +0000 (18:42 +0200)]
soc/interconnect: add avalon with converters to/from native streams

5 years agoMerge pull request #162 from antmicro/full-conf-vexriscv
enjoy-digital [Wed, 17 Apr 2019 17:01:55 +0000 (19:01 +0200)]
Merge pull request #162 from antmicro/full-conf-vexriscv

Add full and full_debug CPU variant of VexRiscv

5 years agoMerge pull request #163 from gsomlo/gls-verilated-cmdargs
enjoy-digital [Wed, 17 Apr 2019 16:59:28 +0000 (18:59 +0200)]
Merge pull request #163 from gsomlo/gls-verilated-cmdargs

build/sim/core: Initialize Verilator commandArgs

5 years agobuild/sim/core: Initialize Verilator commandArgs
Gabriel L. Somlo [Wed, 17 Apr 2019 14:39:35 +0000 (10:39 -0400)]
build/sim/core: Initialize Verilator commandArgs

Required when DUT is using plusargs. Prevents Verilator simulation
from crashing with "Verilog called $test$plusargs or $value$plusargs
without testbench C first calling Verilated::commandArgs(argc,argv)".

5 years agovexriscv: Add full and full_debug CPU variant
Joanna Brozek [Fri, 12 Apr 2019 15:23:23 +0000 (17:23 +0200)]
vexriscv: Add full and full_debug CPU variant

5 years agobuild/altera: switch to sdc constraints, add add_false_path_constraints method
Florent Kermarrec [Tue, 16 Apr 2019 14:57:23 +0000 (16:57 +0200)]
build/altera: switch to sdc constraints, add add_false_path_constraints method

5 years agobuild/xilinx/vivado: set quiet property on MultiReg/AsyncResetSynchronizer constraints
Florent Kermarrec [Mon, 15 Apr 2019 14:48:47 +0000 (16:48 +0200)]
build/xilinx/vivado: set quiet property on MultiReg/AsyncResetSynchronizer constraints

MultiReg/AsyncResetSynchronizer are not necessarily present in all design, set
quiet property to avoid generating false warnings.

5 years agosoc/cores/clock: add divclk_divide/vco_margin support on S7/Ultrascale
Florent Kermarrec [Mon, 15 Apr 2019 09:36:42 +0000 (11:36 +0200)]
soc/cores/clock: add divclk_divide/vco_margin support on S7/Ultrascale

5 years agosoc/cores/clock: improve presentation
Florent Kermarrec [Mon, 15 Apr 2019 08:57:00 +0000 (10:57 +0200)]
soc/cores/clock: improve presentation

5 years agobuild/xilinx/vivado: round period constraints to lowest picosecond
Florent Kermarrec [Mon, 15 Apr 2019 08:51:17 +0000 (10:51 +0200)]
build/xilinx/vivado: round period constraints to lowest picosecond

Vivado will do the opposite if we don't do it, with this change we ensure the applied period constraints will always be >= to the requested constraint.

5 years agoMerge pull request #161 from enjoy-digital/litex_server_arguments
enjoy-digital [Mon, 15 Apr 2019 06:24:28 +0000 (08:24 +0200)]
Merge pull request #161 from enjoy-digital/litex_server_arguments

litex_server: refactor parameters and to allow setting bind address

5 years agolitex_server: set socket.SO_REUSEPORT to avoid waiting 60s in case of unclean termination
Florent Kermarrec [Mon, 15 Apr 2019 06:23:27 +0000 (08:23 +0200)]
litex_server: set socket.SO_REUSEPORT to avoid waiting 60s in case of unclean termination

5 years agolitex_server: add message and exit when mandarory arguments are missing.
Florent Kermarrec [Sun, 14 Apr 2019 12:00:35 +0000 (14:00 +0200)]
litex_server: add message and exit when mandarory arguments are missing.

5 years agolitex_server: allow setting bind port, remove auto-incrementing on bind_port
Florent Kermarrec [Sun, 14 Apr 2019 10:11:37 +0000 (12:11 +0200)]
litex_server: allow setting bind port, remove auto-incrementing on bind_port

5 years agolitex_server: refactor parameters and to allow setting bind address
Florent Kermarrec [Sun, 14 Apr 2019 06:56:51 +0000 (08:56 +0200)]
litex_server: refactor parameters and to allow setting bind address

In some cases, it can be useful to bind to "0.0.0.0" instead of "localhost".
While adding bind address support, parameters passing has also been refactored
to ease adding parameters in the future.