litex.git
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

7 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.

7 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.

7 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.
```

7 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.

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

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

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

7 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

8 years agouse new Record.connect omit parameter (replace leave_out)
Florent Kermarrec [Thu, 21 Apr 2016 07:39:21 +0000 (09:39 +0200)]
use new Record.connect omit parameter (replace leave_out)

8 years agogen/genlib/record: rename leave_out by omit and add keep parameter to Record.connect
Florent Kermarrec [Thu, 21 Apr 2016 06:08:47 +0000 (08:08 +0200)]
gen/genlib/record: rename leave_out by omit and add keep parameter to Record.connect

8 years agoboards/plaforms/nexys_video: fix hdmi_out pinout
Florent Kermarrec [Tue, 19 Apr 2016 16:41:16 +0000 (18:41 +0200)]
boards/plaforms/nexys_video: fix hdmi_out pinout

8 years agosoc/software/bios: show cpu on first banner line
Florent Kermarrec [Tue, 19 Apr 2016 07:19:37 +0000 (09:19 +0200)]
soc/software/bios: show cpu on first banner line

8 years agoMerge pull request #2 from mithro/master
enjoy-digital [Tue, 19 Apr 2016 07:07:23 +0000 (09:07 +0200)]
Merge pull request #2 from mithro/master

More fixes.

8 years agosoc/integration/cpu_interface: fix clang detection
Florent Kermarrec [Tue, 19 Apr 2016 06:06:56 +0000 (08:06 +0200)]
soc/integration/cpu_interface: fix clang detection

8 years agoMake verilator build output error messages.
Tim 'mithro' Ansell [Tue, 19 Apr 2016 05:57:56 +0000 (15:57 +1000)]
Make verilator build output error messages.

8 years agobios: Print CPU architecture on boot.
Tim 'mithro' Ansell [Tue, 19 Apr 2016 05:13:42 +0000 (15:13 +1000)]
bios: Print CPU architecture on boot.

8 years agoMerge pull request #1 from mithro/master
enjoy-digital [Tue, 19 Apr 2016 05:49:24 +0000 (07:49 +0200)]
Merge pull request #1 from mithro/master

Bunch of small fixes

8 years agolibcompiler_rt: Fixing Makefile for CPU endianness.
Tim 'mithro' Ansell [Tue, 19 Apr 2016 04:55:01 +0000 (14:55 +1000)]
libcompiler_rt: Fixing Makefile for CPU endianness.

8 years agosoc/cores: fix spi
Florent Kermarrec [Tue, 19 Apr 2016 04:49:23 +0000 (06:49 +0200)]
soc/cores: fix spi

8 years agoMerge branch 'master' of https://github.com/enjoy-digital/litex
Florent Kermarrec [Tue, 19 Apr 2016 04:05:22 +0000 (06:05 +0200)]
Merge branch 'master' of https://github.com/enjoy-digital/litex

8 years agoAllow 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.

8 years agobios: Use single characters for boot modes.
Tim 'mithro' Ansell [Thu, 14 Apr 2016 07:00:59 +0000 (17:00 +1000)]
bios: Use single characters for boot modes.

 * The function keys never really worked properly.
 * Also add commands for the ROM/Flash/etc.

8 years agosoc/cores/sdram/settings: simplify modules and fix timing margins computation
Florent Kermarrec [Mon, 18 Apr 2016 16:22:53 +0000 (18:22 +0200)]
soc/cores/sdram/settings: simplify modules and fix timing margins computation

8 years agoMerge branch 'master' of https://github.com/enjoy-digital/litex
Florent Kermarrec [Fri, 15 Apr 2016 06:09:42 +0000 (08:09 +0200)]
Merge branch 'master' of https://github.com/enjoy-digital/litex

8 years agobuild/xilinx/ise: use Tim's fix on add_period_constraint and add_false_path_constraint
Florent Kermarrec [Thu, 14 Apr 2016 19:48:52 +0000 (21:48 +0200)]
build/xilinx/ise: use Tim's fix on add_period_constraint and add_false_path_constraint

8 years agosoc/interconnect/dma_lasmi: change endpoint names
Florent Kermarrec [Wed, 13 Apr 2016 16:28:52 +0000 (18:28 +0200)]
soc/interconnect/dma_lasmi: change endpoint names

8 years agoMerge branch 'master' of https://github.com/enjoy-digital/litex
Florent Kermarrec [Tue, 12 Apr 2016 23:19:21 +0000 (01:19 +0200)]
Merge branch 'master' of https://github.com/enjoy-digital/litex

8 years agosoc/integration/soc_sdram: allow passing controller settings in register_sdram
Florent Kermarrec [Tue, 12 Apr 2016 18:16:47 +0000 (20:16 +0200)]
soc/integration/soc_sdram: allow passing controller settings in register_sdram

8 years agosoftware/include/base: fix system.h for or1k
Florent Kermarrec [Sun, 10 Apr 2016 15:21:54 +0000 (17:21 +0200)]
software/include/base: fix system.h for or1k

8 years agosoftware/common: use -std=gnu99 for GCC
Florent Kermarrec [Sun, 10 Apr 2016 15:21:17 +0000 (17:21 +0200)]
software/common: use -std=gnu99 for GCC

8 years agosoc/interconnect/stream/PipelinedActor: add latency attribute
Florent Kermarrec [Thu, 7 Apr 2016 10:10:32 +0000 (12:10 +0200)]
soc/interconnect/stream/PipelinedActor: add latency attribute

8 years agobuild/sim: adapt verilator simulation to new stream signals
Florent Kermarrec [Thu, 7 Apr 2016 06:56:53 +0000 (08:56 +0200)]
build/sim: adapt verilator simulation to new stream signals

8 years agosoc/software/libcompiler_rt: fix mulsi3 compilation
Florent Kermarrec [Thu, 7 Apr 2016 06:26:21 +0000 (08:26 +0200)]
soc/software/libcompiler_rt: fix mulsi3 compilation