Felix Held [Sat, 13 Jan 2018 02:19:36 +0000 (13:19 +1100)]
Fix all remaining indentation issues in python code
I ran a script that shouldn't have missed any tab in the python source files.
Chris Ballance [Fri, 12 Jan 2018 18:23:08 +0000 (19:23 +0100)]
bios/sdram: make read leveling robust for KUS SDRAM
Increases the initial delay step into the valid read window as
with the original delay I was not getting out of the noisy
transition window, as evidenced by seeing read delay windows
of only 8 LSB ~10% of the time, leading to failing memory
tests
Tim Ansell [Fri, 12 Jan 2018 03:08:03 +0000 (14:08 +1100)]
Merge pull request #44 from felixheld/nexys_video-dram-fix
Fix DDR3 on nexys_video
Tim Ansell [Fri, 12 Jan 2018 03:07:32 +0000 (14:07 +1100)]
Merge pull request #45 from felixheld/arty-ddr3-fix
fix DDR3 on arty
Felix Held [Fri, 12 Jan 2018 02:54:10 +0000 (13:54 +1100)]
fix DDR3 on arty
Felix Held [Fri, 12 Jan 2018 02:33:13 +0000 (13:33 +1100)]
fix DDR3 on nexys_video
enjoy-digital [Thu, 11 Jan 2018 07:21:46 +0000 (08:21 +0100)]
Merge pull request #43 from felixheld/programmer-error-fix
fix the unsupported programmer case for kc705 and minispartan6
Felix Held [Thu, 11 Jan 2018 07:00:59 +0000 (18:00 +1100)]
fix the unsupported programmer case for kc705 and minispartan6
Tim Ansell [Thu, 11 Jan 2018 06:46:21 +0000 (17:46 +1100)]
Merge pull request #42 from felixheld/requirements-fix
add pyserial to the package requirements
Felix Held [Thu, 11 Jan 2018 06:43:16 +0000 (17:43 +1100)]
add pyserial to the package requirements
litex_term requires pyserial
Florent Kermarrec [Mon, 8 Jan 2018 16:03:19 +0000 (17:03 +0100)]
build/xilinx/vivado: only generate constraints that are not empty
Florent Kermarrec [Mon, 8 Jan 2018 11:04:33 +0000 (12:04 +0100)]
bios/sdram: revert capability to do manual read leveling since still needed with some targets
Florent Kermarrec [Mon, 8 Jan 2018 10:43:49 +0000 (11:43 +0100)]
bios/sdram: fix data error reporting
Florent Kermarrec [Mon, 8 Jan 2018 10:43:13 +0000 (11:43 +0100)]
bump year
Florent Kermarrec [Sat, 6 Jan 2018 00:33:02 +0000 (01:33 +0100)]
build: add Inverted property to IOs to ease inverting signals and propagate property to cores
Florent Kermarrec [Sat, 30 Dec 2017 17:41:49 +0000 (18:41 +0100)]
soc/integration/soc_core: avoid removing uart interrupts (break some designs)
enjoy-digital [Sat, 30 Dec 2017 10:19:12 +0000 (11:19 +0100)]
Merge pull request #40 from mithro/or1k-linux
cpu: Adding "variant" support.
enjoy-digital [Sat, 30 Dec 2017 10:17:41 +0000 (11:17 +0100)]
Merge pull request #41 from cr1901/python-3.6
fhdl/tracer: Import Python 3.5/3.6 version guards from Migen.
William D. Jones [Sat, 30 Dec 2017 00:56:52 +0000 (19:56 -0500)]
fhdl/tracer: Import Python 3.5/3.6 version guards from Migen.
Tim 'mithro' Ansell [Tue, 26 Sep 2017 00:01:36 +0000 (10:01 +1000)]
cpu: Adding "variant" support.
It is useful to support slightly different variants of the CPU
configurations. This adds a "cpu_variant" option.
For the mor1k we now have the default mor1k configuration and the
"linux" variant which enables the features needed for Linux support on
the mor1k.
Currently there are no variants for the lm32, but we will likely add a
"tiny" variant for usage on the iCE40.
Tim Ansell [Fri, 29 Dec 2017 22:57:42 +0000 (23:57 +0100)]
Merge pull request #39 from mithro/master
Wait longer before giving up on the 2nd tftp block.
Greg Darke [Mon, 6 Nov 2017 00:55:26 +0000 (16:55 -0800)]
Wait longer before giving up on the 2nd tftp block.
Previously we would wait the same number of iterations as it took us to
receive the first data block after sending the request. When using the
build in tftp server in qemu, the first wait loop succeeds (and thus
breaks when 'i' is still 0.
Since the counter was never reset between the first and second data
block, under qemu the tftp_get call would fail before ever checking if
we have received the second block of data.
Now that we initialise 'i' to 12M, we ensure that we wait the same
amount of time for the second data block as it previously did for the
third (and subsequent) blocks.
Florent Kermarrec [Fri, 29 Dec 2017 16:13:58 +0000 (17:13 +0100)]
bios/sdram: use same initialization procedure for artix7 than kintex7 excepting write leveling that is not done
Florent Kermarrec [Thu, 28 Dec 2017 21:42:58 +0000 (22:42 +0100)]
soc/integration/builder: don't build bios is user is providing rom data
enjoy-digital [Wed, 27 Dec 2017 16:52:37 +0000 (17:52 +0100)]
Merge pull request #38 from cr1901/mercury
Add Mercury baseboard support from Migen, import fixes.
Tim Ansell [Wed, 27 Dec 2017 14:44:41 +0000 (15:44 +0100)]
Merge pull request #37 from bunnie/add_tracelength
Add tracelength report generation by default to help with board layout
bunnie [Wed, 27 Dec 2017 14:40:39 +0000 (22:40 +0800)]
Add tracelength report generation by default to help with board layout
Florent Kermarrec [Tue, 26 Dec 2017 23:26:30 +0000 (00:26 +0100)]
boards/platforms/tinyfpga_b: add defaut serial pins
Florent Kermarrec [Tue, 26 Dec 2017 23:26:07 +0000 (00:26 +0100)]
build/lattice/icestorm: fix missing toolchain_path
William D. Jones [Tue, 19 Dec 2017 01:36:59 +0000 (20:36 -0500)]
Add TinyFPGA platform based on Migen.
William D. Jones [Tue, 19 Dec 2017 01:36:21 +0000 (20:36 -0500)]
Import Icestorm backend improvements from Migen.
Florent Kermarrec [Tue, 26 Dec 2017 17:11:47 +0000 (18:11 +0100)]
soc/integration/soc_core: add uart_name parameters (allow selecting uart without modifications in platform file)
Florent Kermarrec [Tue, 19 Dec 2017 09:29:29 +0000 (10:29 +0100)]
build/xilinx/programmer: fix settings in run_vivado (update)
William D. Jones [Tue, 19 Dec 2017 00:30:25 +0000 (19:30 -0500)]
Add Mercury baseboard support from Migen, import fixes.
Florent Kermarrec [Sat, 16 Dec 2017 12:20:45 +0000 (13:20 +0100)]
build/xilinx: add support for edif/ngc files
Florent Kermarrec [Sun, 10 Dec 2017 02:01:53 +0000 (03:01 +0100)]
cpu/picorv32: adapt to current version, some cleanup
Florent Kermarrec [Sun, 10 Dec 2017 01:52:01 +0000 (02:52 +0100)]
cpu: cleanup wrappers
Florent Kermarrec [Thu, 7 Dec 2017 16:57:23 +0000 (17:57 +0100)]
soc/integration/soc_core: add integrated_rom_init to allow initializing rom with custom code
Florent Kermarrec [Wed, 6 Dec 2017 21:22:05 +0000 (22:22 +0100)]
targets/sim: fix
Florent Kermarrec [Sun, 3 Dec 2017 22:06:22 +0000 (23:06 +0100)]
soc/integration/soc_core: make nmi interrupt optional
Florent Kermarrec [Fri, 24 Nov 2017 12:16:58 +0000 (13:16 +0100)]
soc/integration: add integrated_main_ram_init parameter to allow using main_ram with pre-initialized firmware
Florent Kermarrec [Thu, 23 Nov 2017 16:41:35 +0000 (17:41 +0100)]
soc/interconnect/stream: fix specific cases for last/first signal in UpConverter
Tim Ansell [Thu, 9 Nov 2017 02:51:49 +0000 (18:51 -0800)]
Merge pull request #36 from mattkelly/fix-readme-typo
Fix typo in README: experimental
Matt Kelly [Thu, 9 Nov 2017 02:38:32 +0000 (21:38 -0500)]
Fix typo in README: experimental
Florent Kermarrec [Wed, 8 Nov 2017 11:59:38 +0000 (12:59 +0100)]
soc/software/bios/sdram: add Kintex Ultrascale support
Florent Kermarrec [Wed, 1 Nov 2017 20:12:42 +0000 (21:12 +0100)]
README: update copyrights
Florent Kermarrec [Mon, 30 Oct 2017 21:56:09 +0000 (22:56 +0100)]
soc/interconnect/stream: expose depth on SyncFIFO
Tim Ansell [Mon, 30 Oct 2017 20:54:19 +0000 (13:54 -0700)]
Merge pull request #34 from mithro/uart-irq-change
Change the default IRQs.
Tim 'mithro' Ansell [Sun, 29 Oct 2017 18:11:53 +0000 (11:11 -0700)]
Make the interrupt dicts read only.
Tim 'mithro' Ansell [Sun, 29 Oct 2017 17:52:46 +0000 (10:52 -0700)]
Make it harder to have conflicting interrupts.
Tim 'mithro' Ansell [Sun, 29 Oct 2017 17:39:01 +0000 (10:39 -0700)]
Bump the IRQ for liteeth based targets.
Tim 'mithro' Ansell [Sun, 29 Oct 2017 15:13:11 +0000 (08:13 -0700)]
Change the default IRQs.
* Reserve IRQ 0 to be used as a "non-maskable interrupt" (NMI) in the
future.
* Use IRQ 2 for the LiteX. This matches the standard mor1k config which
connects the UART to IRQ 2.
This change is needed for Linux running on LiteX as it gets grumpy with
using IRQ 0 for anything other other than an NMI.
Tim 'mithro' Ansell [Sun, 15 Oct 2017 15:24:29 +0000 (02:24 +1100)]
build/xilinx: Fixing settings finding.
* Better error messages.
* Search correct directories;
- XXX/Vivado/<version>
- XXX/<version>/ISE_DS/
Tim Ansell [Mon, 16 Oct 2017 04:07:49 +0000 (15:07 +1100)]
Merge pull request #32 from felixheld/fix-readme
remove Migen as requirement for LiteX from the quick start guide
Felix Held [Sun, 15 Oct 2017 20:27:09 +0000 (22:27 +0200)]
remove Migen as requirement for LiteX from the quick start guide
Migen currently isn't a dependency for LiteX
Florent Kermarrec [Thu, 12 Oct 2017 09:30:56 +0000 (11:30 +0200)]
soc/interconnect/stream: don't use reset less on last and first signals (not reseting these signals can cause troubles in some specific cases)
enjoy-digital [Sat, 7 Oct 2017 06:46:38 +0000 (08:46 +0200)]
Merge pull request #31 from mithro/bios-fix
Couple of small fixes.
Tim 'mithro' Ansell [Sat, 15 Apr 2017 11:31:31 +0000 (21:31 +1000)]
Output better error message for flash_proxy.
Tim 'mithro' Ansell [Tue, 26 Sep 2017 04:54:16 +0000 (14:54 +1000)]
bios: Print location jumping too.
Makes it easier to understand what is happening (and that the BIOS is
jumping to the right place).
Tim 'mithro' Ansell [Mon, 25 Sep 2017 19:33:58 +0000 (05:33 +1000)]
common: Compile with debugging symbols on.
Debugging symbols are useful when using GDB :-)
Tim 'mithro' Ansell [Mon, 25 Sep 2017 19:28:27 +0000 (05:28 +1000)]
or1k: Use EXCEPTION_STACK_SIZE of 256bytes.
or1k defines a 128 byte "red zone" after the stack that can not be
touched by the exception handler.
We also need 128 bytes to store the 32 registers.
Tim 'mithro' Ansell [Mon, 25 Sep 2017 09:32:55 +0000 (19:32 +1000)]
bios: Declare dependency on linked in .a files.
enjoy-digital [Wed, 4 Oct 2017 07:47:32 +0000 (09:47 +0200)]
Merge pull request #30 from cr1901/icestorm
Add Icestorm backend and iCEStick
William D. Jones [Wed, 4 Oct 2017 05:59:53 +0000 (01:59 -0400)]
Add iCEStick board. Tested with litescope.
William D. Jones [Wed, 4 Oct 2017 02:46:40 +0000 (22:46 -0400)]
Port IceStorm backend from Migen.
Florent Kermarrec [Fri, 29 Sep 2017 10:07:43 +0000 (12:07 +0200)]
soc/cores: add cordic
enjoy-digital [Tue, 26 Sep 2017 10:33:57 +0000 (12:33 +0200)]
Merge pull request #28 from enjoy-digital/eb-docs-2
More docs for etherbone packet fields.
Florent Kermarrec [Wed, 13 Sep 2017 11:46:55 +0000 (13:46 +0200)]
gen/fhdl/verilog: revert _printcomb_simulation and _printcomb_regular (needed for icarus simulation) and add Finish command
Florent Kermarrec [Wed, 6 Sep 2017 13:36:29 +0000 (15:36 +0200)]
soc/integration/soc_core: add ident_version parameter to allow adding soc version to identifier
Tim Ansell [Fri, 1 Sep 2017 13:57:34 +0000 (23:57 +1000)]
More docs for etherbone packet fields.
Info comes from http://www.ohwr.org/attachments/1669/spec.pdf dated 24 July 2012
enjoy-digital [Fri, 1 Sep 2017 13:54:38 +0000 (15:54 +0200)]
Merge pull request #27 from enjoy-digital/etherbone-docs
Adding a little docs to field descriptions.
Tim Ansell [Fri, 1 Sep 2017 13:27:58 +0000 (23:27 +1000)]
Adding a little docs to field descriptions.
Florent Kermarrec [Fri, 18 Aug 2017 07:42:27 +0000 (09:42 +0200)]
soc/software/bios/sdram: add optional memtest debug traces
Florent Kermarrec [Thu, 27 Jul 2017 16:22:01 +0000 (18:22 +0200)]
soc/cores: fix vivado issue with SPIRegister (at least with Vivado 2017.x+, mosi was not generated correctly), create cs_n signal if pads does not exists
Florent Kermarrec [Mon, 24 Jul 2017 16:18:35 +0000 (18:18 +0200)]
soc/interconnect/stream: fix make_m2s for reset_less
Florent Kermarrec [Mon, 24 Jul 2017 11:38:12 +0000 (13:38 +0200)]
gen/genlib/cdc/gearbox: fix possible pointers overlap by removing AsyncResetSynchronizers.
read/write clocks don't have the same frequencies, using AsyncResetSynchronizers cause differents delay when releasing reset and can cause pointers overlap.
enjoy-digital [Thu, 20 Jul 2017 12:41:05 +0000 (14:41 +0200)]
Merge pull request #26 from q3k/diamond-linux-support
Add Diamond toolchain support for Linux.
Sergiusz Bazanski [Thu, 20 Jul 2017 12:21:10 +0000 (13:21 +0100)]
Add Diamond toolchain support for Linux.
This tries to replicate the same setup as in the Windows buildsystem. We
also remove the Jedecgen step, as it doesn't seem to be supported nor
necessary in newer versions of Diamond.
Florent Kermarrec [Wed, 19 Jul 2017 19:18:12 +0000 (21:18 +0200)]
soc/tools/remote/litex_server: allow multiple instance of server
Florent Kermarrec [Wed, 19 Jul 2017 12:54:19 +0000 (14:54 +0200)]
build/xilinx/programmer: add multi jtag devices support to VivadoProgrammer
Florent Kermarrec [Wed, 19 Jul 2017 10:18:35 +0000 (12:18 +0200)]
soc/integration/cpu_interface: do not generate constant access functions when with_access_functions is set to False
Florent Kermarrec [Sun, 16 Jul 2017 22:25:58 +0000 (00:25 +0200)]
soc/tools/remote/etherbone: speed optimization (~20/30%)
Florent Kermarrec [Thu, 6 Jul 2017 16:32:08 +0000 (18:32 +0200)]
soc/core/uart: add UartStub to enable fast simulation with cpu
enjoy-digital [Wed, 5 Jul 2017 14:22:50 +0000 (16:22 +0200)]
Merge pull request #25 from q3k/master
Add Versa ECP5-5G Platform.
Sergiusz Bazanski [Wed, 5 Jul 2017 14:01:07 +0000 (15:01 +0100)]
Add Versa ECP5-5G Platform.
Florent Kermarrec [Tue, 4 Jul 2017 07:01:14 +0000 (09:01 +0200)]
targets: cleanup arty/nexys_video/kc705 and use better ddr3 timings on arty/nexys_video (found using the new bitslip/delay finder tool)
Florent Kermarrec [Tue, 4 Jul 2017 06:15:40 +0000 (08:15 +0200)]
merge migen
ee0e709 changes
Florent Kermarrec [Fri, 30 Jun 2017 17:41:14 +0000 (19:41 +0200)]
soc/interconnect/wishbonebridge: reset_less optimizations
Florent Kermarrec [Fri, 30 Jun 2017 17:40:54 +0000 (19:40 +0200)]
soc/interconnect/stream_packet: reset_less optimizations
Florent Kermarrec [Fri, 30 Jun 2017 17:40:17 +0000 (19:40 +0200)]
soc/interconnect/stream: improve reset_less support for streams
Florent Kermarrec [Wed, 28 Jun 2017 21:10:45 +0000 (23:10 +0200)]
soc/interconnect/stream: use reset_less attr of signal for payload and param
Florent Kermarrec [Wed, 28 Jun 2017 20:47:13 +0000 (22:47 +0200)]
merge migen
9a6fdea3 changes
Florent Kermarrec [Wed, 28 Jun 2017 16:10:56 +0000 (18:10 +0200)]
soc/software/libbase: fix get_ident
Florent Kermarrec [Wed, 28 Jun 2017 16:08:37 +0000 (18:08 +0200)]
board/targets/sim: add identifier
Florent Kermarrec [Wed, 28 Jun 2017 16:01:04 +0000 (18:01 +0200)]
litex/build/sim: cleanup modules
Florent Kermarrec [Wed, 28 Jun 2017 15:38:09 +0000 (17:38 +0200)]
build/sim: cleanup serial2console and fix terminal mode
Florent Kermarrec [Wed, 28 Jun 2017 14:56:05 +0000 (16:56 +0200)]
README: add required packages for litex sim
Florent Kermarrec [Wed, 28 Jun 2017 14:55:32 +0000 (16:55 +0200)]
litex/build/sim: add README
Florent Kermarrec [Wed, 28 Jun 2017 14:28:45 +0000 (16:28 +0200)]
litex/build/sim: rename c functions from lambdasim to litex_sim (since integrated in litex)
Florent Kermarrec [Wed, 28 Jun 2017 14:25:56 +0000 (16:25 +0200)]
litex/build/sim: small cleanup