litex.git
7 years agoAdd 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)

7 years agoboards/platforms: fix IOStandard on sfp_tx_disable_n pins
Florent Kermarrec [Mon, 20 Feb 2017 17:34:49 +0000 (18:34 +0100)]
boards/platforms: fix IOStandard on sfp_tx_disable_n pins

7 years agobuild/xilinx/programmer: add target parameter to load_bitstream to select jtag programmer
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

7 years agoboards/platforms/kcu105: add sma/sfp ios
Florent Kermarrec [Mon, 20 Feb 2017 11:22:50 +0000 (12:22 +0100)]
boards/platforms/kcu105: add sma/sfp ios

7 years agoboards/platforms/kc705: add sma/sfp/xadc ios
Florent Kermarrec [Mon, 20 Feb 2017 10:07:25 +0000 (11:07 +0100)]
boards/platforms/kc705: add sma/sfp/xadc ios

7 years agobuild/lattice/diamond: add jedec file generation
Florent Kermarrec [Sat, 18 Feb 2017 16:32:01 +0000 (17:32 +0100)]
build/lattice/diamond: add jedec file generation

7 years agobuild/xilinx/vivado: set_property library only supported for vhdl
Florent Kermarrec [Fri, 17 Feb 2017 10:42:55 +0000 (11:42 +0100)]
build/xilinx/vivado: set_property library only supported for vhdl

7 years agoboards/plaforms: add FMC LPC connector to nexys_video
Florent Kermarrec [Thu, 16 Feb 2017 18:16:07 +0000 (19:16 +0100)]
boards/plaforms: add FMC LPC connector to nexys_video

7 years agoboards/targets: add dram to arty and nexys_video
Florent Kermarrec [Thu, 16 Feb 2017 17:46:14 +0000 (18:46 +0100)]
boards/targets: add dram to arty and nexys_video

7 years agobuild/lattice/diamond: remove use of tools.mkdir_noerror
Florent Kermarrec [Thu, 16 Feb 2017 10:48:22 +0000 (11:48 +0100)]
build/lattice/diamond: remove use of tools.mkdir_noerror

7 years agoboards/targets: remove build and load parameters on arty and nexys_video (consistency...
Florent Kermarrec [Fri, 10 Feb 2017 11:32:33 +0000 (12:32 +0100)]
boards/targets: remove build and load parameters on arty and nexys_video (consistency with others targets)

7 years agoboards/kc705: store bios in flash as it's done for others litex targets (we could...
Florent Kermarrec [Fri, 10 Feb 2017 08:29:50 +0000 (09:29 +0100)]
boards/kc705: store bios in flash as it's done for others litex targets (we could use flash in custom designs)

7 years agoboards/platforms/kcu105: add ddr4 dram pinout
Florent Kermarrec [Thu, 9 Feb 2017 14:11:29 +0000 (15:11 +0100)]
boards/platforms/kcu105: add ddr4 dram pinout

7 years agoboards/platforms/nexys_video: fix IOStandards on hdmi_in
Florent Kermarrec [Mon, 6 Feb 2017 17:18:36 +0000 (18:18 +0100)]
boards/platforms/nexys_video: fix IOStandards on hdmi_in

7 years agoboards/platforms/kcu105: add DP4 to DP7 to HPC connector
Florent Kermarrec [Thu, 2 Feb 2017 17:44:12 +0000 (18:44 +0100)]
boards/platforms/kcu105: add DP4 to DP7 to HPC connector

7 years agobuild/xilinx/programmer: remove open_hw_target parameters on VivadoProgrammer (now...
Florent Kermarrec [Wed, 1 Feb 2017 13:33:26 +0000 (14:33 +0100)]
build/xilinx/programmer: remove open_hw_target parameters on VivadoProgrammer (now works for ultrascale)

7 years agosoc/cores/flash/spi_flash: remove bitbanging comment (no longer supported)
Florent Kermarrec [Wed, 1 Feb 2017 11:21:56 +0000 (12:21 +0100)]
soc/cores/flash/spi_flash: remove bitbanging comment (no longer supported)

7 years agoboards/platforms/kcu105: fix GBTCLK0_M2C/GBTCLK1_M2C pins
Florent Kermarrec [Wed, 1 Feb 2017 10:58:41 +0000 (11:58 +0100)]
boards/platforms/kcu105: fix GBTCLK0_M2C/GBTCLK1_M2C pins

7 years agoboards/platforms/kcu105: add user_sma_clock_p/n
Florent Kermarrec [Wed, 1 Feb 2017 09:36:57 +0000 (10:36 +0100)]
boards/platforms/kcu105: add user_sma_clock_p/n

7 years agoboards/platforms/kcu105: add user_btns, user_dip_btns, clk300, i2c, spi_flash, rotary...
Florent Kermarrec [Tue, 31 Jan 2017 08:57:36 +0000 (09:57 +0100)]
boards/platforms/kcu105: add user_btns, user_dip_btns, clk300, i2c, spi_flash, rotary hdmi, pcie

7 years agoboards/platforms/kcu105: add LPC connector
Florent Kermarrec [Tue, 31 Jan 2017 08:28:22 +0000 (09:28 +0100)]
boards/platforms/kcu105: add LPC connector

7 years agoboards/platforms/kcu105: add user sma clock and HPC connector
Florent Kermarrec [Mon, 30 Jan 2017 17:47:22 +0000 (18:47 +0100)]
boards/platforms/kcu105: add user sma clock and HPC connector

7 years agoboards/platforms: add minimal kcu105 platform
Florent Kermarrec [Mon, 30 Jan 2017 16:20:55 +0000 (17:20 +0100)]
boards/platforms: add minimal kcu105 platform

7 years agosoc/integration/soc_core: use cpu_reset_address = self.mem_map["rom"] when using...
Florent Kermarrec [Mon, 30 Jan 2017 13:10:57 +0000 (14:10 +0100)]
soc/integration/soc_core: use cpu_reset_address = self.mem_map["rom"] when using integrated_rom

7 years agoboards/platform/arty: add spiflash_4x/spiflash_1x to test SpiFlashDualQuad and SpiFla...
Florent Kermarrec [Thu, 26 Jan 2017 12:27:15 +0000 (13:27 +0100)]
boards/platform/arty: add spiflash_4x/spiflash_1x to test SpiFlashDualQuad and SpiFlashSingle

7 years agoadd SpiFlashSingle and rename SpiFlash to SpiFlashDualQuad
Florent Kermarrec [Thu, 26 Jan 2017 11:31:26 +0000 (12:31 +0100)]
add SpiFlashSingle and rename SpiFlash to SpiFlashDualQuad

7 years agoMerge pull request #19 from mithro/master
enjoy-digital [Fri, 20 Jan 2017 00:29:12 +0000 (01:29 +0100)]
Merge pull request #19 from mithro/master

Adding paths for vivado.

7 years agoAdding paths for vivado.
Tim 'mithro' Ansell [Thu, 19 Jan 2017 23:08:16 +0000 (10:08 +1100)]
Adding paths for vivado.

7 years agoMerge pull request #14 from mithro/spiflash2
enjoy-digital [Tue, 17 Jan 2017 03:41:05 +0000 (04:41 +0100)]
Merge pull request #14 from mithro/spiflash2

spi_flash: fix bitbang with spi_width=1

7 years agosoc/software/main: fix double serialboot (merge issue)
Florent Kermarrec [Tue, 17 Jan 2017 03:36:15 +0000 (04:36 +0100)]
soc/software/main: fix double serialboot (merge issue)

7 years agoMerge pull request #17 from mithro/master
enjoy-digital [Sat, 14 Jan 2017 08:45:43 +0000 (09:45 +0100)]
Merge pull request #17 from mithro/master

Fixing missing csr_constant/config support.

7 years agoFixing missing csr_constant/config support.
Tim 'mithro' Ansell [Sat, 14 Jan 2017 08:05:55 +0000 (19:05 +1100)]
Fixing missing csr_constant/config support.

Missed as part of misoc merge at ff31959aea1e3815d95798996c3999f122314ae6.

7 years agoMerge pull request #16 from mithro/master
enjoy-digital [Fri, 13 Jan 2017 13:57:56 +0000 (14:57 +0100)]
Merge pull request #16 from mithro/master

Fixing accidental revert in merge commit.

7 years agoFixing accidental revert in merge commit.
Tim 'mithro' Ansell [Fri, 13 Jan 2017 13:12:02 +0000 (00:12 +1100)]
Fixing accidental revert in merge commit.

7 years agomerge most of misoc 54e1ef82 and migen e93d0601 changes
Florent Kermarrec [Fri, 13 Jan 2017 00:33:48 +0000 (01:33 +0100)]
merge most of misoc 54e1ef82 and migen e93d0601 changes

7 years agoMerge pull request #15 from joeladdison/master
enjoy-digital [Thu, 12 Jan 2017 03:24:28 +0000 (04:24 +0100)]
Merge pull request #15 from joeladdison/master

Add strcasecmp function to lib

7 years agogen/genlib/cdc: add GrayDecoder from misoc
Florent Kermarrec [Thu, 12 Jan 2017 03:15:33 +0000 (04:15 +0100)]
gen/genlib/cdc: add GrayDecoder from misoc

7 years agoAdd strcasecmp function to lib
Joel Addison [Thu, 12 Jan 2017 03:00:05 +0000 (14:00 +1100)]
Add strcasecmp function to lib

7 years agosoc/tools/litex_term.py: fix reader for c = b"\r" case
Florent Kermarrec [Wed, 11 Jan 2017 00:56:10 +0000 (01:56 +0100)]
soc/tools/litex_term.py: fix reader for c = b"\r" case

7 years agosoc/interconnect/stream/: add busy signal to PipelinedActor
Florent Kermarrec [Tue, 10 Jan 2017 01:12:30 +0000 (02:12 +0100)]
soc/interconnect/stream/: add busy signal to PipelinedActor

7 years agospi_flash: fix bitbang with spi_width=1
Sebastien Bourdeauducq [Wed, 21 Dec 2016 09:57:29 +0000 (10:57 +0100)]
spi_flash: fix bitbang with spi_width=1

7 years agoMerge pull request #13 from mithro/master
enjoy-digital [Fri, 23 Dec 2016 10:38:49 +0000 (11:38 +0100)]
Merge pull request #13 from mithro/master

Raise AttributeError.

7 years agoRaise AttributeError.
Tim 'mithro' Ansell [Fri, 23 Dec 2016 10:14:18 +0000 (11:14 +0100)]
Raise AttributeError.

Makes hasattr work correctly.

7 years agoMerge pull request #12 from mithro/makefile-fix
enjoy-digital [Mon, 19 Dec 2016 13:41:39 +0000 (14:41 +0100)]
Merge pull request #12 from mithro/makefile-fix

Fix Makefile dependency inclusion for other software.

7 years agoFix Makefile dependency inclusion for other software.
Tim 'mithro' Ansell [Mon, 19 Dec 2016 13:29:13 +0000 (14:29 +0100)]
Fix Makefile dependency inclusion for other software.

7 years agoMerge pull request #11 from mithro/file-dont-change
enjoy-digital [Sat, 17 Dec 2016 13:43:34 +0000 (14:43 +0100)]
Merge pull request #11 from mithro/file-dont-change

Only require rebuild on actual changes

7 years agoMerge pull request #10 from mithro/etherbone
enjoy-digital [Sat, 17 Dec 2016 13:43:10 +0000 (14:43 +0100)]
Merge pull request #10 from mithro/etherbone

Patches to make it easier to work with Etherbone

7 years agoAllow CSRElement objects to be autocompleted.
Tim 'mithro' Ansell [Fri, 16 Dec 2016 14:59:26 +0000 (15:59 +0100)]
Allow CSRElement objects to be autocompleted.

7 years agoProvide csr_data_width via the constants.
Tim 'mithro' Ansell [Fri, 16 Dec 2016 14:41:15 +0000 (15:41 +0100)]
Provide csr_data_width via the constants.

7 years agobios: Include dependency rebuild info.
Tim 'mithro' Ansell [Fri, 16 Dec 2016 17:02:28 +0000 (18:02 +0100)]
bios: Include dependency rebuild info.

7 years agomain.o is not a phony target.
Tim 'mithro' Ansell [Thu, 15 Dec 2016 18:56:58 +0000 (19:56 +0100)]
main.o is not a phony target.

7 years agoUse write_to_file helper.
Tim 'mithro' Ansell [Thu, 15 Dec 2016 18:51:36 +0000 (19:51 +0100)]
Use write_to_file helper.

7 years agoDon't modify file if contents hasn't changed.
Tim 'mithro' Ansell [Thu, 15 Dec 2016 18:14:12 +0000 (19:14 +0100)]
Don't modify file if contents hasn't changed.

7 years agoMake the csv directory if it doesn't exist.
Tim 'mithro' Ansell [Thu, 15 Dec 2016 15:33:08 +0000 (16:33 +0100)]
Make the csv directory if it doesn't exist.

7 years agolitex/boards: add machxo3 starter kit platform
Florent Kermarrec [Fri, 2 Dec 2016 16:24:13 +0000 (17:24 +0100)]
litex/boards: add machxo3 starter kit platform

7 years agolitex/build: move xcf_template to platform (xcf is specific to platform)
Florent Kermarrec [Fri, 2 Dec 2016 16:23:40 +0000 (17:23 +0100)]
litex/build: move xcf_template to platform (xcf is specific to platform)

7 years agosoc/software/bios/main: revision command becomes ident
Florent Kermarrec [Wed, 30 Nov 2016 14:45:06 +0000 (15:45 +0100)]
soc/software/bios/main: revision command becomes ident

7 years agosoc/software/bios: remove dataflow
Florent Kermarrec [Wed, 30 Nov 2016 14:44:30 +0000 (15:44 +0100)]
soc/software/bios: remove dataflow

7 years agolitex_term: nicer progress bar
whitequark [Thu, 10 Nov 2016 19:15:56 +0000 (20:15 +0100)]
litex_term: nicer progress bar

7 years agobuild/xilinx/vivado: fix settings source on linux
Florent Kermarrec [Wed, 30 Nov 2016 14:28:38 +0000 (15:28 +0100)]
build/xilinx/vivado: fix settings source on linux

8 years agoMerge pull request #9 from mithro/vprintf-fix
enjoy-digital [Sun, 30 Oct 2016 08:43:43 +0000 (09:43 +0100)]
Merge pull request #9 from mithro/vprintf-fix

libbase: Adding missing vprintf function.

8 years agoMerge pull request #7 from mithro/master
enjoy-digital [Sun, 30 Oct 2016 08:43:27 +0000 (09:43 +0100)]
Merge pull request #7 from mithro/master

soc/software/Makefile: Fix Makefile depend generation.

8 years agolibbase: Adding missing vprintf function.
Tim 'mithro' Ansell [Sun, 30 Oct 2016 05:14:59 +0000 (16:14 +1100)]
libbase: Adding missing vprintf function.

Fixes #8.

```
int vprintf(const char *format, va_list ap);

The functions vprintf(), vfprintf(), vsprintf(), vsnprintf() are equivalent to
the functions printf(), fprintf(), sprintf(), snprintf(), respectively, except
that  they  are  called  with  a  va_list instead of a variable number of
arguments.
```

8 years agosoc/software/Makefile: Fix Makefile depend generation.
Tim 'mithro' Ansell [Thu, 27 Oct 2016 12:54:42 +0000 (23:54 +1100)]
soc/software/Makefile: Fix Makefile depend generation.

Previously the flags were not actually set and the *.d files were never
actually generated.

8 years agoboards/targets/sim: fix
Florent Kermarrec [Fri, 14 Oct 2016 15:49:04 +0000 (17:49 +0200)]
boards/targets/sim: fix

8 years agoElasticBuffer: infer reset
Robert Jordens [Fri, 14 Oct 2016 07:43:09 +0000 (09:43 +0200)]
ElasticBuffer: infer reset

8 years agogen/genlib/cdc: add ElasticBuffer
Florent Kermarrec [Thu, 13 Oct 2016 15:04:39 +0000 (17:04 +0200)]
gen/genlib/cdc: add ElasticBuffer

8 years agoboards/platforms: add papilio_pro
Florent Kermarrec [Thu, 1 Sep 2016 14:27:49 +0000 (16:27 +0200)]
boards/platforms: add papilio_pro

8 years agosoc/tools/remote: allow direct use of comm_udp and some fixes
Florent Kermarrec [Mon, 18 Jul 2016 15:04:58 +0000 (17:04 +0200)]
soc/tools/remote: allow direct use of comm_udp and some fixes

8 years agobuild/xilinx/ise: remove debug print
Florent Kermarrec [Wed, 29 Jun 2016 21:32:43 +0000 (23:32 +0200)]
build/xilinx/ise: remove debug print

8 years agosetup.py: remove litex_client from console_scripts, we just need to import RemoteClie...
Florent Kermarrec [Wed, 29 Jun 2016 21:29:45 +0000 (23:29 +0200)]
setup.py: remove litex_client from console_scripts, we just need to import RemoteClient in our test scripts

8 years agobuild/xilinx/ise: fix top name
Florent Kermarrec [Wed, 29 Jun 2016 21:22:57 +0000 (23:22 +0200)]
build/xilinx/ise: fix top name

8 years agoboards/targets/sim: desactivate refresh for simulation
Florent Kermarrec [Mon, 20 Jun 2016 14:00:19 +0000 (16:00 +0200)]
boards/targets/sim: desactivate refresh for simulation

8 years agosoc/tools/remove/comm_uart: limit write bursts to 8 32bits words
Florent Kermarrec [Mon, 30 May 2016 14:16:05 +0000 (16:16 +0200)]
soc/tools/remove/comm_uart: limit write bursts to 8 32bits words

8 years agogen/sim/vcd: allow continous update of vcd file and dynamic signals
Florent Kermarrec [Sat, 28 May 2016 08:25:48 +0000 (10:25 +0200)]
gen/sim/vcd: allow continous update of vcd file and dynamic signals

With continous update, VCD header needs to be writen at the beginning of the simulation.
When a new signal is created, we rewrite the header and the content.

8 years agobuild/sim/dut_tb: add bottom line on surface to show frame count
Florent Kermarrec [Mon, 23 May 2016 08:20:05 +0000 (10:20 +0200)]
build/sim/dut_tb: add bottom line on surface to show frame count

8 years agogen/sim/core: add Display support
Florent Kermarrec [Wed, 18 May 2016 13:47:10 +0000 (15:47 +0200)]
gen/sim/core: add Display support

8 years agogen/fhdl/structure: fix Display
Florent Kermarrec [Wed, 18 May 2016 10:41:29 +0000 (12:41 +0200)]
gen/fhdl/structure: fix Display

8 years agobuild/sim/dut_tb: rename needs to wait
Florent Kermarrec [Thu, 12 May 2016 13:39:51 +0000 (15:39 +0200)]
build/sim/dut_tb: rename needs to wait

8 years agobuid/sim: add vga framebuffer with SDL
Florent Kermarrec [Wed, 4 May 2016 18:17:02 +0000 (20:17 +0200)]
buid/sim: add vga framebuffer with SDL

8 years agoadapt to litedram changes
Florent Kermarrec [Tue, 3 May 2016 22:59:02 +0000 (00:59 +0200)]
adapt to litedram changes

8 years agosoc/integration/soc_dram: sync with litedram
Florent Kermarrec [Tue, 3 May 2016 17:44:33 +0000 (19:44 +0200)]
soc/integration/soc_dram: sync with litedram

8 years agoboards/targets/sim: update litedram
Florent Kermarrec [Sun, 1 May 2016 08:26:21 +0000 (10:26 +0200)]
boards/targets/sim: update litedram

8 years agogen/fhdl: add Display for debug in simulation
Florent Kermarrec [Fri, 29 Apr 2016 21:03:43 +0000 (23:03 +0200)]
gen/fhdl: add Display for debug in simulation

8 years agoboards/targets: SDRAM modules are now litedram.modules
Florent Kermarrec [Fri, 29 Apr 2016 17:05:23 +0000 (19:05 +0200)]
boards/targets: SDRAM modules are now litedram.modules

8 years agotargets: remove sdram_controller_type parameter (minicon removed)
Florent Kermarrec [Fri, 29 Apr 2016 15:51:16 +0000 (17:51 +0200)]
targets: remove sdram_controller_type parameter (minicon removed)

8 years agosoc/integration/soc_sdram: use new LiteDRAM names
Florent Kermarrec [Fri, 29 Apr 2016 15:40:55 +0000 (17:40 +0200)]
soc/integration/soc_sdram: use new LiteDRAM names

8 years agosoc_sdram: remove minicon support (we will make lasmicon more configurable to reduce...
Florent Kermarrec [Fri, 29 Apr 2016 14:24:24 +0000 (16:24 +0200)]
soc_sdram: remove minicon support (we will make lasmicon more configurable to reduce ressource usage)

8 years agosoftware/sdram: cleanup artix7 init
Florent Kermarrec [Fri, 29 Apr 2016 13:55:10 +0000 (15:55 +0200)]
software/sdram: cleanup artix7 init

8 years agosetup.py: fix version (0.1)
Florent Kermarrec [Fri, 29 Apr 2016 12:39:14 +0000 (14:39 +0200)]
setup.py: fix version (0.1)

8 years agomove sdram code to litedram (https://github.com/enjoy-digital/litedram)
Florent Kermarrec [Fri, 29 Apr 2016 05:21:42 +0000 (07:21 +0200)]
move sdram code to litedram (https://github.com/enjoy-digital/litedram)

8 years agogen/fhdl/verilog: add do in reserved_keywords
Florent Kermarrec [Tue, 26 Apr 2016 15:13:41 +0000 (17:13 +0200)]
gen/fhdl/verilog: add do in reserved_keywords

8 years agosoc/integration/soc_sdram: always generate L2_SIZE constant
Florent Kermarrec [Wed, 27 Apr 2016 10:34:18 +0000 (12:34 +0200)]
soc/integration/soc_sdram: always generate L2_SIZE constant

8 years agosoc/software/bios/sdram: add sdrlevel_artix7 (bitslip and delays have to be found...
Florent Kermarrec [Wed, 27 Apr 2016 10:33:44 +0000 (12:33 +0200)]
soc/software/bios/sdram: add sdrlevel_artix7 (bitslip and delays have to be found manually)

8 years agoboards/platforms/arty: use 1.5V and the 16bits instead of only 8bits
Florent Kermarrec [Tue, 26 Apr 2016 21:29:35 +0000 (23:29 +0200)]
boards/platforms/arty: use 1.5V and the 16bits instead of only 8bits

8 years agosoc/interconnect/wishbone: add FlipFlop (should be removed)
Florent Kermarrec [Mon, 25 Apr 2016 17:14:20 +0000 (19:14 +0200)]
soc/interconnect/wishbone: add FlipFlop (should be removed)

8 years agoplatforms/arty: add missing address pins, was not going to work :(
Florent Kermarrec [Mon, 25 Apr 2016 14:56:23 +0000 (16:56 +0200)]
platforms/arty: add missing address pins, was not going to work :(

8 years agogen/genlib/record: fix connect
Florent Kermarrec [Thu, 21 Apr 2016 17:05:01 +0000 (19:05 +0200)]
gen/genlib/record: fix connect

8 years agogen/genlib/record: fix connect
Florent Kermarrec [Thu, 21 Apr 2016 10:16:26 +0000 (12:16 +0200)]
gen/genlib/record: fix connect

8 years agoboards/platforms/nexys_video: use TDMS_33 on hdmi
Florent Kermarrec [Thu, 21 Apr 2016 09:13:29 +0000 (11:13 +0200)]
boards/platforms/nexys_video: use TDMS_33 on hdmi