litex.git
10 years agomake.py: update description
Sebastien Bourdeauducq [Thu, 12 Dec 2013 22:16:59 +0000 (23:16 +0100)]
make.py: update description

10 years agomake: add decorator option
Sebastien Bourdeauducq [Thu, 12 Dec 2013 16:37:46 +0000 (17:37 +0100)]
make: add decorator option

10 years agofhdl/simplify: add FullMemoryWE decorator that splits memories to remove partial WEs
Sebastien Bourdeauducq [Thu, 12 Dec 2013 16:37:31 +0000 (17:37 +0100)]
fhdl/simplify: add FullMemoryWE decorator that splits memories to remove partial WEs

10 years agoutils/misc: add gcd_multiple function to compute GCD or any number of integers
Sebastien Bourdeauducq [Thu, 12 Dec 2013 16:36:50 +0000 (17:36 +0100)]
utils/misc: add gcd_multiple function to compute GCD or any number of integers

10 years agospecials/Memory: allow for more flexibility in memory port signals
Sebastien Bourdeauducq [Thu, 12 Dec 2013 16:36:17 +0000 (17:36 +0100)]
specials/Memory: allow for more flexibility in memory port signals

10 years agogitmodules: use https and m-labs
Sebastien Bourdeauducq [Thu, 12 Dec 2013 14:56:06 +0000 (15:56 +0100)]
gitmodules: use https and m-labs

10 years agofhdl/verilog: fix representation of negative integers
Sebastien Bourdeauducq [Wed, 11 Dec 2013 21:26:10 +0000 (22:26 +0100)]
fhdl/verilog: fix representation of negative integers

Give the explicit two's complement representation for the given bit width.

This results in less readable code compared to using unary minus,
but fixes a bug when trying to represent the most negative integer.

10 years agomigen/test/test_signed: add a (currently failing) signed comparison testcase
Robert Jordens [Mon, 9 Dec 2013 03:23:21 +0000 (20:23 -0700)]
migen/test/test_signed: add a (currently failing) signed comparison testcase

10 years agomigen/fhdl/bitcontainer: fix signed arrays (map is an iterator)
Robert Jordens [Sun, 8 Dec 2013 08:24:56 +0000 (01:24 -0700)]
migen/fhdl/bitcontainer: fix signed arrays (map is an iterator)

10 years agomibuild/xilinx_ise: use ngdbuild_opt also for xst case
Robert Jordens [Fri, 6 Dec 2013 10:49:44 +0000 (03:49 -0700)]
mibuild/xilinx_ise: use ngdbuild_opt also for xst case

10 years agomibuild/xilinx_ise: add support for custom tools and options
Robert Jordens [Fri, 6 Dec 2013 07:51:03 +0000 (00:51 -0700)]
mibuild/xilinx_ise: add support for custom tools and options

10 years agoupdate submodule
Sebastien Bourdeauducq [Thu, 5 Dec 2013 23:07:05 +0000 (00:07 +0100)]
update submodule

10 years agogpio: add InOut
Sebastien Bourdeauducq [Thu, 5 Dec 2013 23:06:53 +0000 (00:06 +0100)]
gpio: add InOut

10 years agotargets/mlabs_video: use new Cat syntax
Sebastien Bourdeauducq [Thu, 5 Dec 2013 22:55:14 +0000 (23:55 +0100)]
targets/mlabs_video: use new Cat syntax

10 years agousrp_b100 platform
Robert Jordens [Sat, 16 Nov 2013 10:22:09 +0000 (03:22 -0700)]
usrp_b100 platform

10 years agoadd zedboard platform
Robert Jordens [Wed, 17 Jul 2013 05:23:40 +0000 (23:23 -0600)]
add zedboard platform

10 years agoadd initial ztex_115d platform
Robert Jordens [Thu, 4 Jul 2013 07:06:55 +0000 (01:06 -0600)]
add initial ztex_115d platform

10 years agolx9 fixups
Sebastien Bourdeauducq [Tue, 17 Sep 2013 16:14:41 +0000 (18:14 +0200)]
lx9 fixups

10 years agofhdl.size: rename to bitcontainer
Robert Jordens [Tue, 3 Dec 2013 21:12:40 +0000 (14:12 -0700)]
fhdl.size: rename to bitcontainer

10 years agomigen.fhdl.size: verify fslice for negative values
Robert Jordens [Tue, 3 Dec 2013 02:32:13 +0000 (19:32 -0700)]
migen.fhdl.size: verify fslice for negative values

10 years agomake/_misoc_import: force external path search
Sebastien Bourdeauducq [Tue, 3 Dec 2013 20:36:58 +0000 (21:36 +0100)]
make/_misoc_import: force external path search

10 years agomigen.fhdl.structure: have Cat() flat_iteration-ize its arguments
Robert Jordens [Tue, 3 Dec 2013 00:23:56 +0000 (17:23 -0700)]
migen.fhdl.structure: have Cat() flat_iteration-ize its arguments

10 years agomigen.fhdl.tools: move flat_iteration to migen.util.misc as tools imports other things
Robert Jordens [Tue, 3 Dec 2013 00:23:22 +0000 (17:23 -0700)]
migen.fhdl.tools: move flat_iteration to migen.util.misc as tools imports other things

10 years agomigen.fhdl.size: add fiter(), fslice(), and freversed()
Robert Jordens [Tue, 3 Dec 2013 00:19:32 +0000 (17:19 -0700)]
migen.fhdl.size: add fiter(), fslice(), and freversed()

do not overload __len__, __iter__, __reversed__ as not all valid
expressions (ints and bools) have them. furthermore len([]) is and
should be different from flen([]) (the later raises an error). keep
__getitem__ as an exception that proves the rule ;)

10 years agogenlib/divider: fix diff computation
Sebastien Bourdeauducq [Mon, 2 Dec 2013 16:56:03 +0000 (17:56 +0100)]
genlib/divider: fix diff computation

10 years agoexamples/sim/cordic_err: fix rms_err function name
Sebastien Bourdeauducq [Mon, 2 Dec 2013 12:18:37 +0000 (13:18 +0100)]
examples/sim/cordic_err: fix rms_err function name

10 years agoexamples/cordic/cordic_impl: do not fail if build dir does not exist
Sebastien Bourdeauducq [Mon, 2 Dec 2013 12:03:26 +0000 (13:03 +0100)]
examples/cordic/cordic_impl: do not fail if build dir does not exist

10 years agogenlib/sort: add bitonic, combinatorial sorter
Robert Jordens [Sat, 30 Nov 2013 02:52:42 +0000 (19:52 -0700)]
genlib/sort: add bitonic, combinatorial sorter

complete with with api documentation and unittests

10 years agoexamples/cordic: scripted exploration of parameters space
Robert Jordens [Mon, 2 Dec 2013 02:30:49 +0000 (19:30 -0700)]
examples/cordic: scripted exploration of parameters space

10 years agogenlib/cordic: cleanup, documentation, unittests
Robert Jordens [Sat, 30 Nov 2013 13:55:01 +0000 (06:55 -0700)]
genlib/cordic: cleanup, documentation, unittests

10 years agomigen/test: if SimCase is a TestCase, it's run in every module that imports it
Robert Jordens [Sat, 30 Nov 2013 13:51:24 +0000 (06:51 -0700)]
migen/test: if SimCase is a TestCase, it's run in every module that imports it

10 years agomigen/test/support: allow easy re-setUp of the testbench with different parameters
Robert Jordens [Sat, 30 Nov 2013 06:32:13 +0000 (23:32 -0700)]
migen/test/support: allow easy re-setUp of the testbench with different parameters

10 years agomake: support build options
Sebastien Bourdeauducq [Sun, 1 Dec 2013 17:19:51 +0000 (18:19 +0100)]
make: support build options

10 years agomibuild: use keyword arguments directly in build_cmdline
Sebastien Bourdeauducq [Sun, 1 Dec 2013 16:56:07 +0000 (17:56 +0100)]
mibuild: use keyword arguments directly in build_cmdline

10 years agomibuild: add support for Yosys
Sebastien Bourdeauducq [Sun, 1 Dec 2013 16:07:48 +0000 (17:07 +0100)]
mibuild: add support for Yosys

10 years agovideomixer: config system + store video resolution in flash
Sebastien Bourdeauducq [Sat, 30 Nov 2013 22:07:19 +0000 (23:07 +0100)]
videomixer: config system + store video resolution in flash

10 years agonorflash16: fix LSB
Sebastien Bourdeauducq [Sat, 30 Nov 2013 22:06:51 +0000 (23:06 +0100)]
norflash16: fix LSB

10 years agonorflash: add support for writes
Sebastien Bourdeauducq [Sat, 30 Nov 2013 19:37:56 +0000 (20:37 +0100)]
norflash: add support for writes

10 years agodoc/index.rst: drop index and table chapter, index and search are also generated...
Robert Jordens [Fri, 29 Nov 2013 22:37:50 +0000 (15:37 -0700)]
doc/index.rst: drop index and table chapter, index and search are also generated without

10 years agosetup.py: update repository address
Sebastien Bourdeauducq [Fri, 29 Nov 2013 22:26:52 +0000 (23:26 +0100)]
setup.py: update repository address

10 years agogenlib/coding: add docstrings, add it to api doc
Robert Jördens [Fri, 29 Nov 2013 09:36:48 +0000 (02:36 -0700)]
genlib/coding: add docstrings, add it to api doc

10 years agogenlib/coding, test/test_coding: unittests
Robert Jördens [Fri, 29 Nov 2013 09:20:29 +0000 (02:20 -0700)]
genlib/coding, test/test_coding: unittests

10 years agotest/test_fifo: do not use relative import
Sebastien Bourdeauducq [Fri, 29 Nov 2013 22:18:03 +0000 (23:18 +0100)]
test/test_fifo: do not use relative import

This way the test can simply be run with:
 python -m unittest test_fifo.py

10 years agotest/test_fifo, genlib/fifo: move test to unittest
Robert Jördens [Fri, 29 Nov 2013 08:48:57 +0000 (01:48 -0700)]
test/test_fifo, genlib/fifo: move test to unittest

10 years agomigen/test: start unittests
Robert Jördens [Fri, 29 Nov 2013 08:47:32 +0000 (01:47 -0700)]
migen/test: start unittests

10 years agosim: use Simulator as a contextmanager
Robert Jördens [Fri, 29 Nov 2013 08:43:44 +0000 (01:43 -0700)]
sim: use Simulator as a contextmanager

__del__ garbage collector callbacks are too delicate.  E.g. imported
modules can be garbage collected before the objects using them. Can't
use os.remove, socket.SHUT_RDWR...

* added a DeprecationWarning if a Simulator is garbage collected without
having its .close() called
* renamed all gc __del__ callbacks to close()
* implemented context manager hooks for Simulator. Use like

   with Simulator(TestBench()) as s:
       s.run()

10 years agodoc/api, index: add fhdl.structure, add index/search
Robert Jördens [Fri, 29 Nov 2013 06:38:24 +0000 (23:38 -0700)]
doc/api, index: add fhdl.structure, add index/search

genindex is needed to generate links between members and search is
useful for the html docs.

10 years agofhdl/structure: clarify usage restrictions of LHS Cat
Sebastien Bourdeauducq [Fri, 29 Nov 2013 21:35:53 +0000 (22:35 +0100)]
fhdl/structure: clarify usage restrictions of LHS Cat

10 years agodoc/conf.py: no modindex, no numpydoc warnings
Robert Jördens [Fri, 29 Nov 2013 06:35:34 +0000 (23:35 -0700)]
doc/conf.py: no modindex, no numpydoc warnings

* do not generate boring modindex for html and latex outputs
* numpydoc_show_class_members=False, to skip undocumented methods
  https://github.com/phn/pytpm/issues/3#issuecomment-12133978

10 years agofhdl.structure: document the API
Robert Jördens [Fri, 29 Nov 2013 06:34:06 +0000 (23:34 -0700)]
fhdl.structure: document the API

10 years agogenlib.fifo: fix docstring section syntax
Robert Jördens [Fri, 29 Nov 2013 06:33:27 +0000 (23:33 -0700)]
genlib.fifo: fix docstring section syntax

10 years agogenlib/fifo: clarify we behaviour when writable=0
Sebastien Bourdeauducq [Thu, 28 Nov 2013 21:31:10 +0000 (22:31 +0100)]
genlib/fifo: clarify we behaviour when writable=0

10 years agosetup API documentation, start by documenting fifos
Robert Jordens [Thu, 28 Nov 2013 08:46:52 +0000 (01:46 -0700)]
setup API documentation, start by documenting fifos

10 years agoadd autodoc, numpydoc and doctest to sphinx to generate API doc
Robert Jordens [Thu, 28 Nov 2013 08:46:08 +0000 (01:46 -0700)]
add autodoc, numpydoc and doctest to sphinx to generate API doc

10 years agoplatforms/papilio_pro: add 2x SPI pins
Sebastien Bourdeauducq [Mon, 25 Nov 2013 14:14:58 +0000 (15:14 +0100)]
platforms/papilio_pro: add 2x SPI pins

10 years agotargets/simple: map SPI flash
Sebastien Bourdeauducq [Mon, 25 Nov 2013 14:08:53 +0000 (15:08 +0100)]
targets/simple: map SPI flash

10 years agospiflash: add read-only variable data width spi flash
Robert Jordens [Fri, 8 Nov 2013 07:56:17 +0000 (00:56 -0700)]
spiflash: add read-only variable data width spi flash

Signed-off-by: Robert Jordens <jordens@gmail.com>
10 years agotargets/simple: add GPIO LED
Sebastien Bourdeauducq [Mon, 25 Nov 2013 11:16:20 +0000 (12:16 +0100)]
targets/simple: add GPIO LED

10 years agospecials/Instance: add PreformattedParam
Sebastien Bourdeauducq [Mon, 25 Nov 2013 11:09:51 +0000 (12:09 +0100)]
specials/Instance: add PreformattedParam

10 years agoset LM32 reset address
Sebastien Bourdeauducq [Mon, 25 Nov 2013 11:09:16 +0000 (12:09 +0100)]
set LM32 reset address

10 years agoIntegratedBIOS: read only
Sebastien Bourdeauducq [Mon, 25 Nov 2013 09:25:05 +0000 (10:25 +0100)]
IntegratedBIOS: read only

10 years agomove integrated BIOS code to gensoc
Sebastien Bourdeauducq [Mon, 25 Nov 2013 09:22:14 +0000 (10:22 +0100)]
move integrated BIOS code to gensoc

10 years agotargets: add simple SoC
Sebastien Bourdeauducq [Sun, 24 Nov 2013 22:52:05 +0000 (23:52 +0100)]
targets: add simple SoC

10 years agosupport for bitstream loading on Papilio Pro
Sebastien Bourdeauducq [Sun, 24 Nov 2013 22:51:51 +0000 (23:51 +0100)]
support for bitstream loading on Papilio Pro

10 years agodo not attempt to build SDRAM PHY header when SDRAM is not present
Sebastien Bourdeauducq [Sun, 24 Nov 2013 22:51:29 +0000 (23:51 +0100)]
do not attempt to build SDRAM PHY header when SDRAM is not present

10 years agogensoc: add Papilio Pro ID
Sebastien Bourdeauducq [Sun, 24 Nov 2013 22:50:33 +0000 (23:50 +0100)]
gensoc: add Papilio Pro ID

10 years agosoftware: do not attempt to build network/sdram drivers when cores are not present
Sebastien Bourdeauducq [Sun, 24 Nov 2013 22:50:09 +0000 (23:50 +0100)]
software: do not attempt to build network/sdram drivers when cores are not present

10 years agosoftware/bios: infer flash start from linker
Sebastien Bourdeauducq [Sun, 24 Nov 2013 22:45:03 +0000 (23:45 +0100)]
software/bios: infer flash start from linker

10 years agobus/wishbone/sram: expose memory component
Sebastien Bourdeauducq [Sun, 24 Nov 2013 22:43:14 +0000 (23:43 +0100)]
bus/wishbone/sram: expose memory component

10 years agobus/wishbone: style
Sebastien Bourdeauducq [Sun, 24 Nov 2013 22:42:54 +0000 (23:42 +0100)]
bus/wishbone: style

10 years agoplatforms/papilio_pro: fix clock signal handling
Sebastien Bourdeauducq [Sun, 24 Nov 2013 22:42:31 +0000 (23:42 +0100)]
platforms/papilio_pro: fix clock signal handling

10 years agoallow BIOS data to be passed to design
Sebastien Bourdeauducq [Sun, 24 Nov 2013 21:14:46 +0000 (22:14 +0100)]
allow BIOS data to be passed to design

10 years agorename create_sdram_modules and add register_rom
Sebastien Bourdeauducq [Sun, 24 Nov 2013 19:16:19 +0000 (20:16 +0100)]
rename create_sdram_modules and add register_rom

10 years agogenerate linker memory map, move all generated files into the same folder
Sebastien Bourdeauducq [Sun, 24 Nov 2013 18:50:17 +0000 (19:50 +0100)]
generate linker memory map, move all generated files into the same folder

10 years agoadd support for external platforms and targets
Sebastien Bourdeauducq [Sun, 24 Nov 2013 15:55:33 +0000 (16:55 +0100)]
add support for external platforms and targets

10 years agoplatforms/m1: use definition compatible with Mixxeo for VGA out
Sebastien Bourdeauducq [Sun, 24 Nov 2013 13:00:22 +0000 (14:00 +0100)]
platforms/m1: use definition compatible with Mixxeo for VGA out

10 years agomemtest: flush caches, display total error count, use ifdef instead of comment
Sebastien Bourdeauducq [Sun, 24 Nov 2013 12:59:45 +0000 (13:59 +0100)]
memtest: flush caches, display total error count, use ifdef instead of comment

10 years agomake.py: support extra SoC options
Sebastien Bourdeauducq [Sun, 24 Nov 2013 12:59:15 +0000 (13:59 +0100)]
make.py: support extra SoC options

10 years agomake build system more generic
Sebastien Bourdeauducq [Sun, 24 Nov 2013 12:37:32 +0000 (13:37 +0100)]
make build system more generic

10 years agomodularize SoC integration
Sebastien Bourdeauducq [Sun, 24 Nov 2013 09:30:02 +0000 (10:30 +0100)]
modularize SoC integration

10 years agouse new lasmibus.Crossbar master API
Sebastien Bourdeauducq [Sat, 23 Nov 2013 16:51:41 +0000 (17:51 +0100)]
use new lasmibus.Crossbar master API

10 years agolasmibus/Crossbar: more flexible master assignment
Sebastien Bourdeauducq [Sat, 23 Nov 2013 16:51:22 +0000 (17:51 +0100)]
lasmibus/Crossbar: more flexible master assignment

10 years agoremove stale .gitignore
Sebastien Bourdeauducq [Sat, 23 Nov 2013 14:16:27 +0000 (15:16 +0100)]
remove stale .gitignore

10 years agoupdate pointers
Sebastien Bourdeauducq [Sat, 23 Nov 2013 10:29:57 +0000 (11:29 +0100)]
update pointers

10 years agoupdate pointers
Sebastien Bourdeauducq [Sat, 23 Nov 2013 10:29:20 +0000 (11:29 +0100)]
update pointers

10 years agomerge Mibuild into Migen
Sebastien Bourdeauducq [Sat, 23 Nov 2013 09:45:15 +0000 (10:45 +0100)]
merge Mibuild into Migen

10 years agoAdd 'mibuild/' from commit '9d5931c969810a236de2a2713cfd5e509839d097'
Sebastien Bourdeauducq [Sat, 23 Nov 2013 09:34:28 +0000 (10:34 +0100)]
Add 'mibuild/' from commit '9d5931c969810a236de2a2713cfd5e509839d097'

git-subtree-dir: mibuild
git-subtree-mainline: 7e4024beb3cd10c31ee575eddf9a61d79e0d2c61
git-subtree-split: 9d5931c969810a236de2a2713cfd5e509839d097

10 years agogenlib/fsm: rename {entering,leaving} to after_{entering,leaving}, add before_{enteri...
Robert Jordens [Thu, 21 Nov 2013 19:44:01 +0000 (12:44 -0700)]
genlib/fsm: rename {entering,leaving} to after_{entering,leaving}, add before_{entering,leaving}

11 years agoframebuffer: fix resynchronization after resolution change
Sebastien Bourdeauducq [Wed, 20 Nov 2013 23:33:22 +0000 (00:33 +0100)]
framebuffer: fix resynchronization after resolution change

11 years agovideomixer: select 1024x768 by default
Sebastien Bourdeauducq [Wed, 20 Nov 2013 23:33:01 +0000 (00:33 +0100)]
videomixer: select 1024x768 by default

11 years agoflow/isd: update to new APIs
Sebastien Bourdeauducq [Wed, 20 Nov 2013 16:45:09 +0000 (17:45 +0100)]
flow/isd: update to new APIs

11 years agoRevert "framebuffer: reset VTG"
Sebastien Bourdeauducq [Tue, 19 Nov 2013 22:48:00 +0000 (23:48 +0100)]
Revert "framebuffer: reset VTG"

This reverts commit 6cb18f5ce3c9c63250cfbe738b84ec7beb1a9412.

Conflicts:
misoclib/framebuffer/__init__.py
misoclib/framebuffer/format.py

11 years agodvisampler: transfer the last word in frames correctly
Sebastien Bourdeauducq [Tue, 19 Nov 2013 22:38:48 +0000 (23:38 +0100)]
dvisampler: transfer the last word in frames correctly

11 years agoplatforms/mixxeo: update DVI input timing constraints
Sebastien Bourdeauducq [Tue, 19 Nov 2013 22:15:42 +0000 (23:15 +0100)]
platforms/mixxeo: update DVI input timing constraints

11 years agovideomixer: stick to 20x PLL configuration as 10x causes traditional spartan6 weirdness
Sebastien Bourdeauducq [Mon, 18 Nov 2013 19:43:30 +0000 (20:43 +0100)]
videomixer: stick to 20x PLL configuration as 10x causes traditional spartan6 weirdness

11 years agovideomixer: reconfigure PLL on resolution change
Sebastien Bourdeauducq [Mon, 18 Nov 2013 19:37:45 +0000 (20:37 +0100)]
videomixer: reconfigure PLL on resolution change

11 years agovideomixer: add PLL dump command
Sebastien Bourdeauducq [Mon, 18 Nov 2013 19:37:27 +0000 (20:37 +0100)]
videomixer: add PLL dump command

11 years agovideomixer: add PLL control code
Sebastien Bourdeauducq [Mon, 18 Nov 2013 19:37:10 +0000 (20:37 +0100)]
videomixer: add PLL control code

11 years agodvisampler: hold PLL in reset when disabled
Sebastien Bourdeauducq [Mon, 18 Nov 2013 19:36:30 +0000 (20:36 +0100)]
dvisampler: hold PLL in reset when disabled

11 years agoframebuffer: expose PLL DRP to CSR
Sebastien Bourdeauducq [Mon, 18 Nov 2013 19:32:33 +0000 (20:32 +0100)]
framebuffer: expose PLL DRP to CSR