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/
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
Florent Kermarrec [Wed, 28 Jun 2017 14:18:15 +0000 (16:18 +0200)]
litex/build/sim: add tapcfg submodule for ethernet
Pierre-Olivier Vauboin [Wed, 28 Jun 2017 14:10:34 +0000 (16:10 +0200)]
litex/build/sim: introduce new simulator with modules support (thanks lambdaconcept)
Florent Kermarrec [Fri, 23 Jun 2017 08:50:37 +0000 (10:50 +0200)]
boards/platforms/arty: add pmods
Florent Kermarrec [Thu, 22 Jun 2017 15:53:19 +0000 (17:53 +0200)]
soc/cores/identifier: append 0 to contents to indicate end of string
Florent Kermarrec [Thu, 22 Jun 2017 15:01:13 +0000 (17:01 +0200)]
README: consistency between projects
Florent Kermarrec [Thu, 22 Jun 2017 09:30:33 +0000 (11:30 +0200)]
soc/tools: simplify litex_server usage and integrage udp, pcie
Florent Kermarrec [Thu, 22 Jun 2017 09:29:57 +0000 (11:29 +0200)]
soc/tools: syntax fix on comm_pcie, import in __init__.py
Florent Kermarrec [Thu, 22 Jun 2017 08:33:08 +0000 (10:33 +0200)]
soc/tools: fix debug prints of comm_pcie
Florent Kermarrec [Thu, 22 Jun 2017 08:32:39 +0000 (10:32 +0200)]
soc/tools: remove csr builder from comm_udp (we should use litex_server)
Florent Kermarrec [Sat, 10 Jun 2017 19:53:53 +0000 (21:53 +0200)]
gen/fhdl/specials: revert migen's commit
d98502c6 (specials/Memory: homogenize read-only port syntax) since causing a regression with litepcie
Florent Kermarrec [Fri, 9 Jun 2017 17:35:48 +0000 (19:35 +0200)]
soc/interconnect/stream: add first signal to streams (avoid over-complicated code in some cases)
Florent Kermarrec [Thu, 8 Jun 2017 12:15:27 +0000 (14:15 +0200)]
soc/cores/identifier: remove additionnal first character
Florent Kermarrec [Mon, 5 Jun 2017 13:48:00 +0000 (15:48 +0200)]
soc/cores/uart: add uart multiplexer
Florent Kermarrec [Mon, 5 Jun 2017 13:13:21 +0000 (15:13 +0200)]
boards/platforms/nexys_video: rename hpa to hdp_en on nexy_video hdmi_in port
Florent Kermarrec [Mon, 5 Jun 2017 12:33:46 +0000 (14:33 +0200)]
gen/fhdl/verilog: list available clock domains on keyerror
Florent Kermarrec [Wed, 31 May 2017 21:47:45 +0000 (23:47 +0200)]
gen/genlib/cdc/gearbox: remove TODO since code is already a good compromise
latency can't be reduced that much and reducing ressource usage (already low) would introduce unneeded complexity.
Florent Kermarrec [Wed, 31 May 2017 22:39:19 +0000 (00:39 +0200)]
soc/core: add frequency meter
Florent Kermarrec [Wed, 31 May 2017 10:10:06 +0000 (12:10 +0200)]
gen/genlib/cdc/gearbox: add more margin on pointers (for cases where clocks are not perfectly aligned)
Florent Kermarrec [Tue, 16 May 2017 19:18:32 +0000 (21:18 +0200)]
soc/cores: dna/xadc: add missing copyright
Florent Kermarrec [Tue, 16 May 2017 19:02:33 +0000 (21:02 +0200)]
soc/cores: add dna and xadc (for 7-series, add support for others fpgas?)
enjoy-digital [Thu, 4 May 2017 13:09:00 +0000 (15:09 +0200)]
Merge pull request #24 from mithro/vivado-mor1k-fix
vivado: Fix segfault with or1k.
Tim 'mithro' Ansell [Sat, 29 Apr 2017 06:00:25 +0000 (16:00 +1000)]
vivado: Fix segfault with or1k.
The or1k doesn't have any verilog include paths added. This means the
code use to generate;
```tcl
synth_design -top top -part xc7a50t-csg325-2 -include_dirs {}
```
which causes Vivado to segfault with the following error;
```
Command: synth_design -top top -part xc7a50t-csg325-2 -include_dirs {}
Starting synth_design
Attempting to get a license for feature 'Synthesis' and/or device 'xc7a50t'
INFO: [Common 17-349] Got license for feature 'Synthesis' and/or device 'xc7a50t'
Abnormal program termination (11)
Please check 'build/netv2_base_or1k/gateware/hs_err_pid76959.log' for details
Traceback (most recent call last):
File "./make.py", line 82, in <module>
```
Florent Kermarrec [Wed, 26 Apr 2017 11:45:00 +0000 (13:45 +0200)]
soc/integration/builder: remove error when compile_software=False and integrated ROM: when using compile_software=False user knows what he's doing.
Florent Kermarrec [Tue, 25 Apr 2017 13:13:47 +0000 (15:13 +0200)]
gen/genlib/cdc: cleanup lcm computation, fix timeout on BusSynchronizer
Florent Kermarrec [Tue, 25 Apr 2017 08:57:34 +0000 (10:57 +0200)]
test/test_gearbox: continue, but we are hitting a simulator bug (related to clock domains declared in modules)
Florent Kermarrec [Tue, 25 Apr 2017 08:56:19 +0000 (10:56 +0200)]
gen/sim/core: do not use reset_less clock_domains for the one that are created (logic may need to access reset signal)
Florent Kermarrec [Tue, 25 Apr 2017 08:55:13 +0000 (10:55 +0200)]
gen/genlib/cdc: import gcd from math and not fractions (deprecated)
Florent Kermarrec [Mon, 24 Apr 2017 19:41:46 +0000 (21:41 +0200)]
test: add test_gearbox skeleton
Florent Kermarrec [Mon, 24 Apr 2017 17:25:58 +0000 (19:25 +0200)]
test/test_targets: check top.v generation
Florent Kermarrec [Mon, 24 Apr 2017 17:25:24 +0000 (19:25 +0200)]
litex/gen/util/misc: import gcd from math and not fractions (deprecated)
Florent Kermarrec [Mon, 24 Apr 2017 17:13:17 +0000 (19:13 +0200)]
test: add basic test_targets.py
Florent Kermarrec [Mon, 24 Apr 2017 17:12:30 +0000 (19:12 +0200)]
soc/integration/builder.py: don't take care of ROM when compile_software is forced to False
Florent Kermarrec [Mon, 24 Apr 2017 16:50:06 +0000 (18:50 +0200)]
test: add test_bitslip (initially in litedram)
Florent Kermarrec [Mon, 24 Apr 2017 16:45:02 +0000 (18:45 +0200)]
add test directory with test_code_8b10b.py (from misoc)
Florent Kermarrec [Wed, 19 Apr 2017 09:04:37 +0000 (11:04 +0200)]
soc/cores: add code_8b10b from misoc
Florent Kermarrec [Wed, 19 Apr 2017 08:55:58 +0000 (10:55 +0200)]
soc/cores: move flash cores to cores directory
Florent Kermarrec [Wed, 19 Apr 2017 08:37:59 +0000 (10:37 +0200)]
soc: move uart to a single file
Florent Kermarrec [Wed, 19 Apr 2017 08:16:10 +0000 (10:16 +0200)]
soc/cores: add new spi master, remove obsolete one
Florent Kermarrec [Wed, 19 Apr 2017 07:55:19 +0000 (09:55 +0200)]
gen/genlib/misc: add BitSlip
Florent Kermarrec [Wed, 19 Apr 2017 07:54:28 +0000 (09:54 +0200)]
gen/genlib/cdc: add gearbox
Florent Kermarrec [Mon, 3 Apr 2017 15:36:45 +0000 (17:36 +0200)]
boards/platforms: add vadj, change user_sw, user_btn IOStandard to LVCMOS25
Florent Kermarrec [Tue, 28 Mar 2017 10:21:54 +0000 (12:21 +0200)]
soc/interconnect/stream_packet.py: make error payload optional on Packetizer
Florent Kermarrec [Mon, 27 Mar 2017 08:40:29 +0000 (10:40 +0200)]
boards/platforms/papilio_pro: fix imports
Florent Kermarrec [Mon, 20 Mar 2017 13:28:40 +0000 (14:28 +0100)]
boards/platforms/arty: add spi pins
enjoy-digital [Sun, 12 Mar 2017 12:53:27 +0000 (13:53 +0100)]
Merge pull request #22 from mithro/master
soc_core: Add CPU_RESET_ADDR as a constant.
Tim 'mithro' Ansell [Sun, 12 Mar 2017 09:01:02 +0000 (20:01 +1100)]
soc_core: Add CPU_RESET_ADDR as a constant.
So we can do a "soft reset" by jumping to this address.
Florent Kermarrec [Wed, 8 Mar 2017 15:50:53 +0000 (16:50 +0100)]
boards/platforms/kcu105: add user_sma_gpio
enjoy-digital [Sun, 5 Mar 2017 10:13:05 +0000 (11:13 +0100)]
Merge pull request #21 from mithro/master
Allow using gcc for or1k.
Tim 'mithro' Ansell [Tue, 19 Apr 2016 03:29:07 +0000 (13:29 +1000)]
Allow using gcc for or1k.
* Using CLANG can set by using CLANG=1 or CLANG=0 in the environment.
* or1k continues to default to CLANG if environment is not net.
enjoy-digital [Tue, 21 Feb 2017 13:02:19 +0000 (14:02 +0100)]
Merge pull request #20 from cr1901/platforms
Add Mercury development board (port from MiSoC)
William D. Jones [Tue, 21 Feb 2017 10:05:48 +0000 (05:05 -0500)]
Add Mercury development board (port from MiSoC)
Florent Kermarrec [Mon, 20 Feb 2017 17:34:49 +0000 (18:34 +0100)]
boards/platforms: fix IOStandard on sfp_tx_disable_n pins
Florent Kermarrec [Mon, 20 Feb 2017 16:37:03 +0000 (17:37 +0100)]
build/xilinx/programmer: add target parameter to load_bitstream to select jtag programmer