litex.git
8 years agotravis: upload noarch conda package correctly.
whitequark [Wed, 21 Oct 2015 17:08:16 +0000 (20:08 +0300)]
travis: upload noarch conda package correctly.

8 years agotravis: install the package that was just built.
whitequark [Wed, 21 Oct 2015 17:01:46 +0000 (20:01 +0300)]
travis: install the package that was just built.

Otherwise, conda will select a newer remote version if available,
even with --use-local.

8 years agotravis: workaround for conda noarch bug
Sebastien Bourdeauducq [Mon, 19 Oct 2015 15:02:37 +0000 (23:02 +0800)]
travis: workaround for conda noarch bug

8 years agoconda: build migen as noarch.
whitequark [Wed, 21 Oct 2015 10:29:49 +0000 (13:29 +0300)]
conda: build migen as noarch.

8 years agoconda: include hash in commit.
whitequark [Wed, 21 Oct 2015 10:29:38 +0000 (13:29 +0300)]
conda: include hash in commit.

8 years agosim: fix case break
Sebastien Bourdeauducq [Tue, 20 Oct 2015 09:18:33 +0000 (17:18 +0800)]
sim: fix case break

8 years agosim: do not use py35 collections.Generator
Sebastien Bourdeauducq [Tue, 20 Oct 2015 08:37:54 +0000 (16:37 +0800)]
sim: do not use py35 collections.Generator

8 years agotravis: workaround for conda noarch bug
Sebastien Bourdeauducq [Mon, 19 Oct 2015 15:02:37 +0000 (23:02 +0800)]
travis: workaround for conda noarch bug

8 years agoconda: noarch
Sebastien Bourdeauducq [Mon, 19 Oct 2015 14:54:30 +0000 (22:54 +0800)]
conda: noarch

8 years agosim: truncate case test value
Sebastien Bourdeauducq [Mon, 19 Oct 2015 12:08:46 +0000 (20:08 +0800)]
sim: truncate case test value

8 years agotest: fix divider testbench
Sebastien Bourdeauducq [Mon, 19 Oct 2015 11:41:18 +0000 (19:41 +0800)]
test: fix divider testbench

8 years agosim: generators are also iterables...
Sebastien Bourdeauducq [Mon, 19 Oct 2015 11:21:20 +0000 (19:21 +0800)]
sim: generators are also iterables...

8 years agosim: accept iterables as generator list
Sebastien Bourdeauducq [Mon, 19 Oct 2015 11:18:17 +0000 (19:18 +0800)]
sim: accept iterables as generator list

8 years agoverilog, sim: accept iterables in FHDL statements
Sebastien Bourdeauducq [Mon, 19 Oct 2015 11:17:26 +0000 (19:17 +0800)]
verilog, sim: accept iterables in FHDL statements

8 years agogenlib/fsm: fix return value of _get_register_control
Sebastien Bourdeauducq [Mon, 19 Oct 2015 11:03:43 +0000 (19:03 +0800)]
genlib/fsm: fix return value of _get_register_control

8 years agoMANIFEST.in: fix lm32 data directory
Sebastien Bourdeauducq [Mon, 19 Oct 2015 08:30:41 +0000 (16:30 +0800)]
MANIFEST.in: fix lm32 data directory

8 years agoRevert "sim/core: fix Cat bitshift"
Sebastien Bourdeauducq [Mon, 19 Oct 2015 08:08:42 +0000 (16:08 +0800)]
Revert "sim/core: fix Cat bitshift"

This reverts commit 6d6f91a02b6ff4b5459fe91fcae5b97ce915f7dd.

8 years agosim/core: fix Cat bitshift
Sebastien Bourdeauducq [Mon, 19 Oct 2015 08:07:45 +0000 (16:07 +0800)]
sim/core: fix Cat bitshift

8 years agosim/core: truncate evaluated values before test in If
Sebastien Bourdeauducq [Mon, 19 Oct 2015 07:58:21 +0000 (15:58 +0800)]
sim/core: truncate evaluated values before test in If

8 years agosoftware: do not build libdyld and libunwind for lm32. Closes #22
Sebastien Bourdeauducq [Mon, 19 Oct 2015 03:33:21 +0000 (11:33 +0800)]
software: do not build libdyld and libunwind for lm32. Closes #22

8 years agobuild/vivado: quote paths in Tcl (prevents problems with \ on Windows)
Sebastien Bourdeauducq [Mon, 19 Oct 2015 01:40:44 +0000 (09:40 +0800)]
build/vivado: quote paths in Tcl (prevents problems with \ on Windows)

8 years agosim: support execution of nested statement lists (typo)
Sebastien Bourdeauducq [Thu, 15 Oct 2015 05:53:04 +0000 (13:53 +0800)]
sim: support execution of nested statement lists (typo)

8 years agosim: support execution of nested statement lists
Sebastien Bourdeauducq [Thu, 15 Oct 2015 05:52:24 +0000 (13:52 +0800)]
sim: support execution of nested statement lists

8 years agointegration/builder: escape backslash in makefile defines
Sebastien Bourdeauducq [Wed, 14 Oct 2015 13:45:36 +0000 (21:45 +0800)]
integration/builder: escape backslash in makefile defines

8 years agogenlib/fifo: width_or_layout -> width
Sebastien Bourdeauducq [Wed, 14 Oct 2015 13:36:44 +0000 (21:36 +0800)]
genlib/fifo: width_or_layout -> width

8 years agoMerge branch 'new' of github.com:m-labs/misoc into new
Sebastien Bourdeauducq [Wed, 14 Oct 2015 03:11:06 +0000 (11:11 +0800)]
Merge branch 'new' of github.com:m-labs/misoc into new

8 years agointegration/builder: fix building for SoCSDRAM-based targets when SDRAM is disabled
Sebastien Bourdeauducq [Wed, 14 Oct 2015 03:09:53 +0000 (11:09 +0800)]
integration/builder: fix building for SoCSDRAM-based targets when SDRAM is disabled

Reported by Florent Kermarrec

8 years agosoftware/bios: move romboot after serialboot and netboot
Florent Kermarrec [Tue, 13 Oct 2015 16:13:00 +0000 (18:13 +0200)]
software/bios: move romboot after serialboot and netboot

On designs using romboot (firmware embedded in ram blocks), we generally upload new firmwares with serialboot and netboot for prototyping.
Moving romboot after serialboot and netboot avoid manual interrupts of the boot sequence.

8 years agosoftware/bios: move romboot after serialboot and netboot
Florent Kermarrec [Tue, 13 Oct 2015 15:49:29 +0000 (17:49 +0200)]
software/bios: move romboot after serialboot and netboot

On designs using romboot (firmware embedded in ram blocks), we generally upload new firmwares with serialboot and netboot for prototyping.
Moving romboot after serialboot and netboot avoid manual interrupts of the boot sequence.

8 years agotest/divider: subtests
Sebastien Bourdeauducq [Tue, 13 Oct 2015 10:39:41 +0000 (18:39 +0800)]
test/divider: subtests

8 years agovivado progammer: allow to specify flash chip
Yann Sionneau [Mon, 12 Oct 2015 18:06:29 +0000 (20:06 +0200)]
vivado progammer: allow to specify flash chip

8 years agosim: make sure replaced memory signals are always in VCD signal set
Sebastien Bourdeauducq [Mon, 5 Oct 2015 04:24:32 +0000 (12:24 +0800)]
sim: make sure replaced memory signals are always in VCD signal set

8 years agosetup: include software and Verilog files
Sebastien Bourdeauducq [Mon, 5 Oct 2015 04:07:55 +0000 (12:07 +0800)]
setup: include software and Verilog files

Broken on Python 3.5
error: can't copy 'misoc/software': doesn't exist or not a regular file

8 years agointerconnect/stream: add missing part of Demultiplexer
Florent Kermarrec [Sun, 4 Oct 2015 22:10:55 +0000 (00:10 +0200)]
interconnect/stream: add missing part of Demultiplexer

8 years agosetup: add entry points
Sebastien Bourdeauducq [Sun, 4 Oct 2015 16:45:02 +0000 (00:45 +0800)]
setup: add entry points

8 years agosetup: fix readme
Sebastien Bourdeauducq [Sun, 4 Oct 2015 16:44:50 +0000 (00:44 +0800)]
setup: fix readme

8 years agotravis/conda: build for python 3.5
Sebastien Bourdeauducq [Sun, 4 Oct 2015 16:10:04 +0000 (00:10 +0800)]
travis/conda: build for python 3.5

8 years agotravis/conda: build for python 3.5
Sebastien Bourdeauducq [Sun, 4 Oct 2015 16:10:04 +0000 (00:10 +0800)]
travis/conda: build for python 3.5

8 years agotravis: activate py35
Sebastien Bourdeauducq [Sun, 4 Oct 2015 15:11:16 +0000 (23:11 +0800)]
travis: activate py35

8 years agotravis: activate py35
Sebastien Bourdeauducq [Sun, 4 Oct 2015 15:11:16 +0000 (23:11 +0800)]
travis: activate py35

8 years agotravis: python 3.5
Sebastien Bourdeauducq [Sun, 4 Oct 2015 15:08:14 +0000 (23:08 +0800)]
travis: python 3.5

8 years agotravis: python 3.5
Sebastien Bourdeauducq [Sun, 4 Oct 2015 15:08:14 +0000 (23:08 +0800)]
travis: python 3.5

8 years agosdram: cleanup
Sebastien Bourdeauducq [Fri, 2 Oct 2015 03:17:47 +0000 (11:17 +0800)]
sdram: cleanup

8 years agoliteeth_mini: fix imports, replace Counter and FlipFlop
Sebastien Bourdeauducq [Wed, 30 Sep 2015 12:17:37 +0000 (20:17 +0800)]
liteeth_mini: fix imports, replace Counter and FlipFlop

8 years agointerconnect/stream: add multiplexer and demultiplexer
Sebastien Bourdeauducq [Wed, 30 Sep 2015 11:43:14 +0000 (19:43 +0800)]
interconnect/stream: add multiplexer and demultiplexer

8 years agogenlib/fifo: add missing imports
Sebastien Bourdeauducq [Wed, 30 Sep 2015 10:58:46 +0000 (18:58 +0800)]
genlib/fifo: add missing imports

8 years agotest/fifo: do not use Record
Sebastien Bourdeauducq [Wed, 30 Sep 2015 09:06:31 +0000 (17:06 +0800)]
test/fifo: do not use Record

8 years agointerconnect/stream: remove param, do not depend on FIFO Record support
Sebastien Bourdeauducq [Wed, 30 Sep 2015 08:40:34 +0000 (16:40 +0800)]
interconnect/stream: remove param, do not depend on FIFO Record support

8 years agolasmicon: do not depend on FIFO Record support
Sebastien Bourdeauducq [Wed, 30 Sep 2015 08:40:04 +0000 (16:40 +0800)]
lasmicon: do not depend on FIFO Record support

8 years agogenlib/fifo: remove Record support
Sebastien Bourdeauducq [Wed, 30 Sep 2015 08:39:33 +0000 (16:39 +0800)]
genlib/fifo: remove Record support

8 years agocommand line options support, CSR CSV, all targets building
Sebastien Bourdeauducq [Tue, 29 Sep 2015 10:14:54 +0000 (18:14 +0800)]
command line options support, CSR CSV, all targets building

8 years agoflterm: cleanup
Sebastien Bourdeauducq [Tue, 29 Sep 2015 10:14:19 +0000 (18:14 +0800)]
flterm: cleanup

8 years agocores/gpio: fix import
Sebastien Bourdeauducq [Tue, 29 Sep 2015 10:13:59 +0000 (18:13 +0800)]
cores/gpio: fix import

8 years agobuild: stop at the first failed Quartus command
Sebastien Bourdeauducq [Tue, 29 Sep 2015 07:53:18 +0000 (15:53 +0800)]
build: stop at the first failed Quartus command

8 years agobuild: add missing import for Lattice Diamond
Sebastien Bourdeauducq [Tue, 29 Sep 2015 07:44:57 +0000 (15:44 +0800)]
build: add missing import for Lattice Diamond

8 years agofhdl/FullMemoryWE: fix clocking
Sebastien Bourdeauducq [Tue, 29 Sep 2015 05:12:27 +0000 (13:12 +0800)]
fhdl/FullMemoryWE: fix clocking

8 years agofhdl: typecheck ClockSignal and ResetSignal arguments
Sebastien Bourdeauducq [Tue, 29 Sep 2015 05:11:40 +0000 (13:11 +0800)]
fhdl: typecheck ClockSignal and ResetSignal arguments

8 years agosoc_core: simplify settings (assume CPU and CSR present)
Sebastien Bourdeauducq [Tue, 29 Sep 2015 02:19:42 +0000 (10:19 +0800)]
soc_core: simplify settings (assume CPU and CSR present)

8 years agominor fixes
Sebastien Bourdeauducq [Tue, 29 Sep 2015 02:19:00 +0000 (10:19 +0800)]
minor fixes

8 years agoMerge branch 'master' of github.com:m-labs/misoc
Sebastien Bourdeauducq [Mon, 28 Sep 2015 12:40:37 +0000 (20:40 +0800)]
Merge branch 'master' of github.com:m-labs/misoc

8 years agoRevert "Sort constants in csr generation."
Sebastien Bourdeauducq [Mon, 28 Sep 2015 12:40:31 +0000 (20:40 +0800)]
Revert "Sort constants in csr generation."

This reverts commit d628c147ecb92c871cc68e2f29511c600861fcb9.

8 years agobuild: cleanup
Sebastien Bourdeauducq [Mon, 28 Sep 2015 12:34:35 +0000 (20:34 +0800)]
build: cleanup

8 years agobasic out-of-tree build support (OK on PPro)
Sebastien Bourdeauducq [Mon, 28 Sep 2015 12:33:37 +0000 (20:33 +0800)]
basic out-of-tree build support (OK on PPro)

8 years agoFix typo.
whitequark [Mon, 28 Sep 2015 09:37:55 +0000 (12:37 +0300)]
Fix typo.

8 years agomove software into misoc
Sebastien Bourdeauducq [Mon, 28 Sep 2015 05:02:13 +0000 (13:02 +0800)]
move software into misoc

8 years agoSort constants in csr generation.
Tim 'mithro' Ansell [Sat, 26 Sep 2015 07:57:43 +0000 (17:57 +1000)]
Sort constants in csr generation.

Previously the order of constant output depended on Python's hashing order
which changes every run. This caused the file to change every run.

With this change the csr.h file will always be the same. This can be verified
this with the following;
```bash
 CSR=software/include/generated/csr.h
 for i in 1 2 3 4 5 6; do
   rm -f $CSR; python make.py build-headers
   cp $CSR $CSR.$i
 done
 md5sum $CSR.*
```

8 years agoSort constants in csr generation.
Tim 'mithro' Ansell [Sat, 26 Sep 2015 07:57:43 +0000 (17:57 +1000)]
Sort constants in csr generation.

Previously the order of constant output depended on Python's hashing order
which changes every run. This caused the file to change every run.

With this change the csr.h file will always be the same. This can be verified
this with the following;
```bash
 CSR=software/include/generated/csr.h
 for i in 1 2 3 4 5 6; do
   rm -f $CSR; python make.py build-headers
   cp $CSR $CSR.$i
 done
 md5sum $CSR.*
```

8 years agoRevert "Use shutil rather then rm -rf command."
Sebastien Bourdeauducq [Sat, 26 Sep 2015 13:55:11 +0000 (21:55 +0800)]
Revert "Use shutil rather then rm -rf command."

This reverts commit d8fd4fe7257eea9efe252376305b716b2f51840f.

8 years agoRevert "Use shutil rather then rm -rf command."
Sebastien Bourdeauducq [Sat, 26 Sep 2015 13:54:19 +0000 (21:54 +0800)]
Revert "Use shutil rather then rm -rf command."

This reverts commit d8fd4fe7257eea9efe252376305b716b2f51840f.

8 years agosdram working on PPro
Sebastien Bourdeauducq [Sat, 26 Sep 2015 13:51:22 +0000 (21:51 +0800)]
sdram working on PPro

8 years agofhdl/specials/Tristate: handle i=None
Sebastien Bourdeauducq [Sat, 26 Sep 2015 13:49:12 +0000 (21:49 +0800)]
fhdl/specials/Tristate: handle i=None

8 years agofhdl/structure: relax type requirements for Array elements
Sebastien Bourdeauducq [Sat, 26 Sep 2015 13:47:33 +0000 (21:47 +0800)]
fhdl/structure: relax type requirements for Array elements

8 years agoreplace flen with len
Sebastien Bourdeauducq [Sat, 26 Sep 2015 10:50:11 +0000 (18:50 +0800)]
replace flen with len

8 years agofhdl: replace flen with len
Sebastien Bourdeauducq [Sat, 26 Sep 2015 10:45:10 +0000 (18:45 +0800)]
fhdl: replace flen with len

8 years agowrap expressions in Specials
Sebastien Bourdeauducq [Sat, 26 Sep 2015 08:45:13 +0000 (16:45 +0800)]
wrap expressions in Specials

8 years agoadd stream, fix CPUs and more imports. simple target boots on ppro.
Sebastien Bourdeauducq [Sat, 26 Sep 2015 08:44:06 +0000 (16:44 +0800)]
add stream, fix CPUs and more imports. simple target boots on ppro.

8 years agofhdl: introduce wrap function
Sebastien Bourdeauducq [Sat, 26 Sep 2015 07:36:28 +0000 (15:36 +0800)]
fhdl: introduce wrap function

8 years agofhdl: export DUID
Sebastien Bourdeauducq [Sat, 26 Sep 2015 05:46:57 +0000 (13:46 +0800)]
fhdl: export DUID

8 years agofix most imports
Sebastien Bourdeauducq [Fri, 25 Sep 2015 10:43:20 +0000 (18:43 +0800)]
fix most imports

8 years agointerconnect: add bus/bank components from Migen
Sebastien Bourdeauducq [Thu, 24 Sep 2015 12:48:18 +0000 (20:48 +0800)]
interconnect: add bus/bank components from Migen

8 years agosetup: simpler version check, beta status
Sebastien Bourdeauducq [Thu, 24 Sep 2015 08:08:39 +0000 (16:08 +0800)]
setup: simpler version check, beta status

8 years agolasmicon: enable refresh at all times
Sebastien Bourdeauducq [Thu, 24 Sep 2015 08:01:08 +0000 (16:01 +0800)]
lasmicon: enable refresh at all times

8 years agobreak down sdram, improve consistency of core names
Sebastien Bourdeauducq [Thu, 24 Sep 2015 07:59:55 +0000 (15:59 +0800)]
break down sdram, improve consistency of core names

8 years agocores directory
Sebastien Bourdeauducq [Thu, 24 Sep 2015 01:05:10 +0000 (09:05 +0800)]
cores directory

8 years agoreorganization WIP: flatten core structure (SDRAM still needs to be done)
Sebastien Bourdeauducq [Wed, 23 Sep 2015 16:18:27 +0000 (00:18 +0800)]
reorganization WIP: flatten core structure (SDRAM still needs to be done)

8 years agofsm: NextState and NextValue should derive from _Statement
Sebastien Bourdeauducq [Wed, 23 Sep 2015 14:38:10 +0000 (22:38 +0800)]
fsm: NextState and NextValue should derive from _Statement

8 years agosetup: remove unneeded import
Sebastien Bourdeauducq [Wed, 23 Sep 2015 01:52:24 +0000 (09:52 +0800)]
setup: remove unneeded import

8 years agosetup: cleanup
Sebastien Bourdeauducq [Wed, 23 Sep 2015 01:52:12 +0000 (09:52 +0800)]
setup: cleanup

8 years agosetup: convert to unix eols
Sebastien Bourdeauducq [Wed, 23 Sep 2015 01:50:31 +0000 (09:50 +0800)]
setup: convert to unix eols

8 years agoCONTRIBUTING.md->rst
Sebastien Bourdeauducq [Tue, 22 Sep 2015 16:57:36 +0000 (00:57 +0800)]
CONTRIBUTING.md->rst

8 years agoREADME.md->rst
Sebastien Bourdeauducq [Tue, 22 Sep 2015 16:55:37 +0000 (00:55 +0800)]
README.md->rst

8 years agomigen.fhdl.std -> migen
Sebastien Bourdeauducq [Tue, 22 Sep 2015 16:36:47 +0000 (00:36 +0800)]
migen.fhdl.std -> migen

8 years agomisoclib -> misoc
Sebastien Bourdeauducq [Tue, 22 Sep 2015 16:35:02 +0000 (00:35 +0800)]
misoclib -> misoc

8 years agosim: fix slice assign
Sebastien Bourdeauducq [Tue, 22 Sep 2015 12:33:44 +0000 (20:33 +0800)]
sim: fix slice assign

8 years agoconda: use new branch (revert this after merge)
Sebastien Bourdeauducq [Tue, 22 Sep 2015 09:27:44 +0000 (17:27 +0800)]
conda: use new branch (revert this after merge)

8 years agosetup.py: cleanup
Sebastien Bourdeauducq [Tue, 22 Sep 2015 09:27:27 +0000 (17:27 +0800)]
setup.py: cleanup

8 years agofsm: support complex targets in NextValue. Closes #27.
Sebastien Bourdeauducq [Tue, 22 Sep 2015 08:55:24 +0000 (16:55 +0800)]
fsm: support complex targets in NextValue. Closes #27.

8 years agofhdl/namer: support ClockSignal and ResetSignal. Closes #24
Sebastien Bourdeauducq [Tue, 22 Sep 2015 06:30:16 +0000 (14:30 +0800)]
fhdl/namer: support ClockSignal and ResetSignal. Closes #24

8 years agoAdd init file in sdram/phy dir
Rohit Kumar Singh [Mon, 21 Sep 2015 15:39:48 +0000 (21:09 +0530)]
Add init file in sdram/phy dir

Without __init__.py file, when using setup.py, setuptools' find_package() function does not find the files in sdram/phy package. Hence .egg file entirely misses sdram/phy directory

More info here: https://bitbucket.org/pypa/setuptools/issues/97

8 years agosim: insert resets, support ClockSignal and ResetSignal
Sebastien Bourdeauducq [Mon, 21 Sep 2015 14:13:36 +0000 (22:13 +0800)]
sim: insert resets, support ClockSignal and ResetSignal