Florent Kermarrec [Fri, 12 Apr 2019 15:14:07 +0000 (17:14 +0200)]
software/libnet/microudp: simplify rxbuffer managment
Florent Kermarrec [Fri, 12 Apr 2019 15:09:50 +0000 (17:09 +0200)]
software/libnet/microudp: set raw frame size to ETHMAC_SLOT_SIZE
Florent Kermarrec [Fri, 12 Apr 2019 15:08:29 +0000 (17:08 +0200)]
software/libnet: remove use of ethmac_mem.h
Florent Kermarrec [Thu, 11 Apr 2019 20:26:58 +0000 (22:26 +0200)]
bios/sdram: add __attribute__((unused)) on cdelay
Florent Kermarrec [Wed, 10 Apr 2019 16:04:48 +0000 (18:04 +0200)]
litex_setup: add litesata
Florent Kermarrec [Wed, 10 Apr 2019 14:36:49 +0000 (16:36 +0200)]
boards/targets/kcu105: add Ethernet (with 1Gbps SFP adapter)
Florent Kermarrec [Wed, 10 Apr 2019 14:16:47 +0000 (16:16 +0200)]
software/libnet: add #ifdef on eth_init
enjoy-digital [Mon, 8 Apr 2019 12:32:44 +0000 (14:32 +0200)]
Merge pull request #158 from vbuitvydas/altera-contrib
Changes for litepcie support for Altera Cyclone V
vytautasb [Mon, 8 Apr 2019 10:34:59 +0000 (13:34 +0300)]
litex/build/altera/quartus: changes to make top level assigment in .qsf file with build name
vytautasb [Mon, 8 Apr 2019 10:28:25 +0000 (13:28 +0300)]
litex/build/altera/common: added reset synchronizer
Florent Kermarrec [Mon, 1 Apr 2019 12:44:37 +0000 (14:44 +0200)]
integration/soc_zynq: fix missing SoCCore.do_finalize
Signed-off-by: Florent Kermarrec <florent@enjoy-digital.fr>
Florent Kermarrec [Mon, 1 Apr 2019 09:07:30 +0000 (11:07 +0200)]
integration/soc_zynq: add add_hp0 method
Florent Kermarrec [Mon, 1 Apr 2019 08:50:04 +0000 (10:50 +0200)]
integration/soc_zynq: use add methods to add optional peripherals
Florent Kermarrec [Mon, 1 Apr 2019 08:31:33 +0000 (10:31 +0200)]
integration/soc_zynq: connect axi signals that were missing
Florent Kermarrec [Mon, 1 Apr 2019 08:23:05 +0000 (10:23 +0200)]
interconnect/axi: add missing axi signals
enjoy-digital [Sun, 31 Mar 2019 16:46:07 +0000 (18:46 +0200)]
Merge pull request #157 from CBJamo/master
Add ifdef check for MAIN_RAM_SIZE
Caleb Jamison [Sun, 31 Mar 2019 15:33:39 +0000 (10:33 -0500)]
Add ifdef check for MAIN_RAM_SIZE
Florent Kermarrec [Sat, 30 Mar 2019 11:27:06 +0000 (12:27 +0100)]
README: bump copyright year
Florent Kermarrec [Sat, 30 Mar 2019 10:49:39 +0000 (11:49 +0100)]
bios/main: align SoC info, show CPU speed on CPU line, show L2
Florent Kermarrec [Sat, 30 Mar 2019 09:56:17 +0000 (10:56 +0100)]
bios/main: move sdrinit
Florent Kermarrec [Sat, 30 Mar 2019 09:19:00 +0000 (10:19 +0100)]
bios/main: print boot sequence only if sdr_ok
Florent Kermarrec [Fri, 29 Mar 2019 18:40:24 +0000 (19:40 +0100)]
bios/main: remove csr functions (not used and only supported by lm32), improve help presentation
Florent Kermarrec [Thu, 28 Mar 2019 23:51:16 +0000 (00:51 +0100)]
software/bios: improve readibility, add soc informations
enjoy-digital [Thu, 28 Mar 2019 17:27:36 +0000 (18:27 +0100)]
Merge pull request #156 from gsomlo/gls-axi-width
soc/interconnect/axi: address length cleanup
Gabriel L. Somlo [Wed, 27 Mar 2019 20:38:25 +0000 (16:38 -0400)]
soc/interconnect/axi: data/address length cleanup
Instead of hard-coding data and address width to 32, assert that
the AXI and Wishbone interfaces have *matching* address and data
widths.
Florent Kermarrec [Wed, 27 Mar 2019 20:15:14 +0000 (21:15 +0100)]
soc/interconnect/axi: remove dead code (thanks gsomlo)
enjoy-digital [Fri, 22 Mar 2019 16:43:40 +0000 (17:43 +0100)]
Merge pull request #154 from daveshah1/yosys_xilinx_edif
build/xilinx: Update Yosys write_edif parameters
David Shah [Fri, 22 Mar 2019 16:06:52 +0000 (16:06 +0000)]
build/xilinx: Update Yosys write_edif parameters
Florent Kermarrec [Sat, 16 Mar 2019 20:25:02 +0000 (21:25 +0100)]
utils/litex_sim: fix main_ram_size
Florent Kermarrec [Sat, 16 Mar 2019 20:23:36 +0000 (21:23 +0100)]
soc_core/get_mem_data: add json support
example of json file:
{
"vmlinux.bin": "0x00000000",
"vmlinux.dtb": "0x01000000",
"initramdisk.gz": "0x01002000"
}
Florent Kermarrec [Sat, 16 Mar 2019 08:33:16 +0000 (09:33 +0100)]
build/microsemi/libero_soc: add linux build script support
Florent Kermarrec [Fri, 15 Mar 2019 17:16:25 +0000 (18:16 +0100)]
vexriscv: allow user to use an external variant
Florent Kermarrec [Fri, 15 Mar 2019 16:49:39 +0000 (17:49 +0100)]
vexriscv/core: fix min variant
Florent Kermarrec [Wed, 13 Mar 2019 09:56:09 +0000 (10:56 +0100)]
utils/litex_sim: handle cpu_endianness for rom-init/ram-init
Florent Kermarrec [Wed, 13 Mar 2019 09:42:10 +0000 (10:42 +0100)]
utils/litex_sim: increase default integrated_main_ram_size to 256MB, automatically boot on main_ram when ram_init is specified
enjoy-digital [Thu, 7 Mar 2019 20:12:00 +0000 (21:12 +0100)]
Merge pull request #153 from railnova/fix_utils
[fix] utils was omitted when installed from pip
chmousset [Thu, 7 Mar 2019 08:40:58 +0000 (09:40 +0100)]
[fix] utils was not installed from pip
enjoy-digital [Wed, 6 Mar 2019 22:41:20 +0000 (23:41 +0100)]
Merge pull request #152 from gsomlo/gls-trellis-svf
build/lattice/trellis: generate bitstream directly in svf format
Gabriel L. Somlo [Wed, 6 Mar 2019 17:59:49 +0000 (12:59 -0500)]
build/lattice/trellis: also generate bitstream in svf format
Before being able to program the board (e.g., with openocd), one
would have to convert the bitstream file to .svf using a python
script included with the source trellis distribution. However,the
trellis 'ecppack' utility can also generate .svf bitstream files
directly.
Florent Kermarrec [Tue, 5 Mar 2019 17:01:03 +0000 (18:01 +0100)]
software/bios/sdram: use specific ERR_DDRPHY_BITSLIP/NMODULES computation
In the future, the PHYs should generated these constants.
Florent Kermarrec [Tue, 5 Mar 2019 12:23:38 +0000 (13:23 +0100)]
targets/versa_ecp5: update ECP5DDRPHY on BaseSoC, add EthernetSoC
Florent Kermarrec [Tue, 5 Mar 2019 11:26:10 +0000 (12:26 +0100)]
bios/sdram: use burstdet detection for ECP5DDRPHY init
enjoy-digital [Mon, 4 Mar 2019 11:00:44 +0000 (12:00 +0100)]
Merge pull request #150 from daveshah1/trellis_bus_fixes
lattice/common: Fix tristate buses with Trellis
David Shah [Mon, 4 Mar 2019 10:50:56 +0000 (10:50 +0000)]
lattice/common: Fix tristate buses with Trellis
Signed-off-by: David Shah <dave@ds0.me>
Florent Kermarrec [Mon, 4 Mar 2019 08:40:14 +0000 (09:40 +0100)]
boards/ulx3s: add device selection parameter
ULX3S can be populated with LFE5U-45F (default) or LFE5U-85F
Florent Kermarrec [Mon, 4 Mar 2019 08:27:31 +0000 (09:27 +0100)]
targets/ulx3s: use AsyncResetSynchronizer and derivate sys_clk/sys_clk_ps constraints from clk25
Now supported by Trellis/Nextpnr.
Florent Kermarrec [Fri, 1 Mar 2019 14:20:02 +0000 (15:20 +0100)]
build/lattice/trellis: add package support
Florent Kermarrec [Fri, 1 Mar 2019 13:20:00 +0000 (14:20 +0100)]
build/lattice/trellis: basecfg now integrated in nextpnr
Florent Kermarrec [Fri, 1 Mar 2019 12:57:45 +0000 (13:57 +0100)]
boards/targets/ulx3s: allow building with diamond or trellis
Florent Kermarrec [Fri, 1 Mar 2019 08:16:48 +0000 (09:16 +0100)]
soc/software/bios/boot: add vexriscv workaround
Flushing icache was working correctly on previous version of Vexriscv, understand
why it's no longer the case.
Florent Kermarrec [Wed, 27 Feb 2019 21:30:40 +0000 (22:30 +0100)]
soc/integration: add initial SoCZynq SoC
Florent Kermarrec [Wed, 27 Feb 2019 21:26:57 +0000 (22:26 +0100)]
soc/interconnect: add initial axi code with bus definition and AXI2Wishbone
Florent Kermarrec [Wed, 27 Feb 2019 21:24:56 +0000 (22:24 +0100)]
test: add test_axi_lite (with test code from soc/interconnect/axi_lite lightly modified)
Florent Kermarrec [Wed, 27 Feb 2019 21:11:09 +0000 (22:11 +0100)]
soc/interconnect: rename axi to axi_lite
Florent Kermarrec [Wed, 27 Feb 2019 20:44:11 +0000 (21:44 +0100)]
test: add basic test_csr
enjoy-digital [Mon, 25 Feb 2019 18:26:07 +0000 (19:26 +0100)]
Merge pull request #149 from daveshah1/versa_trellis
Add trellis build option to versa_ecp5 and bring trellis support up to date
David Shah [Mon, 25 Feb 2019 18:02:04 +0000 (18:02 +0000)]
versa_ecp5: Add option to build with Trellis
David Shah [Mon, 25 Feb 2019 18:01:35 +0000 (18:01 +0000)]
trellis: Add LPF frequency constraints and remove -nomux
Florent Kermarrec [Mon, 25 Feb 2019 15:12:21 +0000 (16:12 +0100)]
soc/software/sdram: fix compilation on ultrascale
Florent Kermarrec [Mon, 25 Feb 2019 14:27:08 +0000 (15:27 +0100)]
targets/versa_ecp5: integrate DDR3
Florent Kermarrec [Mon, 25 Feb 2019 13:40:47 +0000 (14:40 +0100)]
soc/software/bios/sdram: add ECP5 support
Florent Kermarrec [Mon, 25 Feb 2019 13:38:24 +0000 (14:38 +0100)]
soc/software/bios/sdram: improve write_level robustness
Florent Kermarrec [Mon, 25 Feb 2019 13:37:31 +0000 (14:37 +0100)]
soc/software/bios/sdram: improve sdrlevel readibility
Florent Kermarrec [Mon, 25 Feb 2019 13:36:47 +0000 (14:36 +0100)]
soc/software/bios/sdram: add helpers for rst/inc of delays
enjoy-digital [Fri, 22 Feb 2019 13:32:45 +0000 (14:32 +0100)]
Merge pull request #148 from daveshah1/versa_remove_n
versa_ecp5: Remove negative diff IO pins
David Shah [Fri, 22 Feb 2019 12:12:10 +0000 (12:12 +0000)]
versa_ecp5: Remove negative diff IO pins
In Lattice FPGAs only the positive side of differential pairs should
be specified (unlike Xilinx)
These are a warning on Diamond (which trims unused IO) and an error
with Yosys/nextpnr (which doesn't so they conflict when the positive
pin is 'expanded').
Already this is the case for the clock input, this commit performs
the same change for the DDR3 pins.
Florent Kermarrec [Wed, 20 Feb 2019 21:45:19 +0000 (22:45 +0100)]
platforms/versa_ecp5: add ddram pins
Florent Kermarrec [Fri, 15 Feb 2019 23:08:24 +0000 (00:08 +0100)]
soc/tools/remote/comm_uart: be sure to flush in waiting bytes before read and write
Florent Kermarrec [Thu, 14 Feb 2019 09:41:13 +0000 (10:41 +0100)]
soc/cores/clock: add actual clk_freqs to config
Florent Kermarrec [Tue, 12 Feb 2019 11:12:40 +0000 (12:12 +0100)]
soc_sdram: add use_full_memory_we parameter to allow disabling vivado workaround on small l2 caches
Florent Kermarrec [Mon, 11 Feb 2019 18:41:12 +0000 (19:41 +0100)]
build/lattice/common/LatticeECXTrellisImpl: add support for nbits == 1
Florent Kermarrec [Mon, 11 Feb 2019 08:23:39 +0000 (09:23 +0100)]
soc_sdram: don't generate sdram initialization error message when integrated_main_ram is used
Florent Kermarrec [Thu, 7 Feb 2019 15:23:55 +0000 (16:23 +0100)]
build/lattice/common: add LatticeiCE40DDROutput
Florent Kermarrec [Fri, 1 Feb 2019 22:39:17 +0000 (23:39 +0100)]
platforms/nexys_video: add LPC transceivers pins
Florent Kermarrec [Wed, 30 Jan 2019 13:01:19 +0000 (14:01 +0100)]
build/sim: add jtagremote module (thanks LamdaConcept)
Florent Kermarrec [Tue, 29 Jan 2019 11:45:59 +0000 (12:45 +0100)]
soc/integration/soc_core: allow disabling wishbone timeout
Florent Kermarrec [Sun, 27 Jan 2019 07:23:44 +0000 (08:23 +0100)]
soc/interconnect/wishbone: increase bus error timeout to 1e6 cycles
Florent Kermarrec [Wed, 23 Jan 2019 07:40:47 +0000 (08:40 +0100)]
boards/platform/kc705: add sfp pins (both tx and rx)
Florent Kermarrec [Tue, 22 Jan 2019 11:50:05 +0000 (12:50 +0100)]
soc/cores/clock: add USIDELAYCTRL
Florent Kermarrec [Tue, 22 Jan 2019 08:08:35 +0000 (09:08 +0100)]
soc/integration/soc_sdram: round port.data_width/l2_size to nearest power of 2 when it's not the case
With ECC configurations, native port data_width is not necessarily a power of 2.
Florent Kermarrec [Mon, 21 Jan 2019 09:39:34 +0000 (10:39 +0100)]
boards/targets: improve presentation
Florent Kermarrec [Mon, 21 Jan 2019 09:36:28 +0000 (10:36 +0100)]
boards/platforms/kcu105: add si570_refclk
Florent Kermarrec [Mon, 21 Jan 2019 09:21:19 +0000 (10:21 +0100)]
boards/platforms/kc705: use vivado as default programmer
Florent Kermarrec [Wed, 16 Jan 2019 21:05:52 +0000 (22:05 +0100)]
soc/cores/clock: allow ClockSignal to be used for clkin
Florent Kermarrec [Fri, 11 Jan 2019 14:01:58 +0000 (15:01 +0100)]
build/sim/core: fix coverage
Florent Kermarrec [Fri, 11 Jan 2019 12:51:15 +0000 (13:51 +0100)]
build/sim/core: set -Wno-BLKANDNBLK (prevent blocking/non-blocking assigns on a same structure in system verilog)
Florent Kermarrec [Fri, 11 Jan 2019 12:39:09 +0000 (13:39 +0100)]
build/sim/core: set unroll-count to 256 to prevent Error-BLKLOOPINIT
Florent Kermarrec [Thu, 10 Jan 2019 15:03:09 +0000 (16:03 +0100)]
build/sim: disable Warning-WIDTH
Florent Kermarrec [Wed, 9 Jan 2019 09:28:24 +0000 (10:28 +0100)]
soc/cores/cpu/vexriscv: set default variant to None in add_sources
Florent Kermarrec [Wed, 9 Jan 2019 07:32:17 +0000 (08:32 +0100)]
soc/cores/cpu/vexriscv: move verilog variant selection to add_sources
Florent Kermarrec [Tue, 8 Jan 2019 13:14:28 +0000 (14:14 +0100)]
targets/kcu105: use USMMCM
Florent Kermarrec [Tue, 8 Jan 2019 12:50:12 +0000 (13:50 +0100)]
targets: pass speedgrade to S7PLL/S7MMCM
Florent Kermarrec [Tue, 8 Jan 2019 12:19:49 +0000 (13:19 +0100)]
soc/cores/clock: add Xilinx Ultrascale PLL/MMCM
Florent Kermarrec [Sun, 6 Jan 2019 17:59:37 +0000 (18:59 +0100)]
boards: avoid duplicating platforms that can be found in migen/litex-buildenv
The platforms that are kept are the ones used for litex development.
Florent Kermarrec [Sat, 5 Jan 2019 09:57:37 +0000 (10:57 +0100)]
soc/integration/cpu_interface: generate name for Memories in get_csr_header
Florent Kermarrec [Thu, 3 Jan 2019 09:38:14 +0000 (10:38 +0100)]
utils/litex_server: allow specify uart_baudrate as float
Florent Kermarrec [Fri, 28 Dec 2018 14:58:28 +0000 (15:58 +0100)]
targets/ulx3s: use pll for phase shift, enable refresh, memtest ok
Florent Kermarrec [Fri, 28 Dec 2018 14:14:28 +0000 (15:14 +0100)]
targets/versa_ecp5: use pll for phase shift, enable refresh, memtest ok
Florent Kermarrec [Fri, 28 Dec 2018 14:03:05 +0000 (15:03 +0100)]
soc/cores/clock/ECP5PLL: add basic phase support
Florent Kermarrec [Thu, 27 Dec 2018 19:36:50 +0000 (20:36 +0100)]
litex_sim: simplify, change sdram module and enable sdram refresh.