litex.git
10 years agominor bugfixes
Sebastien Bourdeauducq [Thu, 17 Sep 2015 07:20:27 +0000 (15:20 +0800)]
minor bugfixes

10 years agosim: support eval of slice, cat and mux
Sebastien Bourdeauducq [Thu, 17 Sep 2015 06:39:36 +0000 (14:39 +0800)]
sim: support eval of slice, cat and mux

10 years agofhdl/structure: fix namespace pollution
Sebastien Bourdeauducq [Thu, 17 Sep 2015 06:39:17 +0000 (14:39 +0800)]
fhdl/structure: fix namespace pollution

10 years agotest: bit reverse
Sebastien Bourdeauducq [Thu, 17 Sep 2015 06:38:55 +0000 (14:38 +0800)]
test: bit reverse

10 years agofhdl/bitcontainer: remove fslice and freversed
Sebastien Bourdeauducq [Thu, 17 Sep 2015 06:38:33 +0000 (14:38 +0800)]
fhdl/bitcontainer: remove fslice and freversed

10 years agotest/constant: use new API
Sebastien Bourdeauducq [Thu, 17 Sep 2015 03:08:40 +0000 (11:08 +0800)]
test/constant: use new API

10 years agoadd unittests for Constant
Robert Jordens [Sun, 6 Sep 2015 23:51:59 +0000 (17:51 -0600)]
add unittests for Constant

10 years agodoc: Constant
Sebastien Bourdeauducq [Thu, 17 Sep 2015 03:05:57 +0000 (11:05 +0800)]
doc: Constant

10 years agofhdl/verilog: fix case value sort
Sebastien Bourdeauducq [Thu, 17 Sep 2015 00:03:48 +0000 (08:03 +0800)]
fhdl/verilog: fix case value sort

10 years agofhdl/structure: introduce Constant, autowrap for eq/ops, fix Signal as dictionary...
Sebastien Bourdeauducq [Tue, 15 Sep 2015 04:38:02 +0000 (12:38 +0800)]
fhdl/structure: introduce Constant, autowrap for eq/ops, fix Signal as dictionary key problem

10 years agofhdl/decorators: remove traces of deprecated API
Sebastien Bourdeauducq [Sat, 12 Sep 2015 11:44:35 +0000 (19:44 +0800)]
fhdl/decorators: remove traces of deprecated API

10 years agogenlib: remove reverse_bytes, FlipFlop, Counter
Sebastien Bourdeauducq [Sat, 12 Sep 2015 11:40:29 +0000 (19:40 +0800)]
genlib: remove reverse_bytes, FlipFlop, Counter

10 years agogenlib: cleanup CRG
Sebastien Bourdeauducq [Sat, 12 Sep 2015 11:40:07 +0000 (19:40 +0800)]
genlib: cleanup CRG

10 years agofhdl/decorators: remove deprecated API
Sebastien Bourdeauducq [Sat, 12 Sep 2015 11:34:44 +0000 (19:34 +0800)]
fhdl/decorators: remove deprecated API

10 years agosimplify imports, migen.fhdl.std -> migen
Sebastien Bourdeauducq [Sat, 12 Sep 2015 11:34:07 +0000 (19:34 +0800)]
simplify imports, migen.fhdl.std -> migen

10 years agobuild/xilinx: minor cleanup
Sebastien Bourdeauducq [Sat, 12 Sep 2015 08:39:39 +0000 (16:39 +0800)]
build/xilinx: minor cleanup

10 years agotest/support,signed,sort: use new simulator
Sebastien Bourdeauducq [Sat, 12 Sep 2015 08:28:21 +0000 (16:28 +0800)]
test/support,signed,sort: use new simulator

10 years agosim: refactor comb commit
Sebastien Bourdeauducq [Sat, 12 Sep 2015 08:27:59 +0000 (16:27 +0800)]
sim: refactor comb commit

10 years agosim: support eval of nested lists
Sebastien Bourdeauducq [Sat, 12 Sep 2015 08:01:53 +0000 (16:01 +0800)]
sim: support eval of nested lists

10 years agogenlib/sort: remove unneeded import
Sebastien Bourdeauducq [Sat, 12 Sep 2015 07:21:42 +0000 (15:21 +0800)]
genlib/sort: remove unneeded import

10 years agoexamples/graycounter: use new simulator
Sebastien Bourdeauducq [Sat, 12 Sep 2015 07:14:21 +0000 (15:14 +0800)]
examples/graycounter: use new simulator

10 years agotest/examples: do not attempt to run deleted examples
Sebastien Bourdeauducq [Sat, 12 Sep 2015 07:13:45 +0000 (15:13 +0800)]
test/examples: do not attempt to run deleted examples

10 years agosim: support clock domains without sync
Sebastien Bourdeauducq [Sat, 12 Sep 2015 07:12:57 +0000 (15:12 +0800)]
sim: support clock domains without sync

10 years agosimulator: support generators
Sebastien Bourdeauducq [Fri, 11 Sep 2015 04:44:14 +0000 (21:44 -0700)]
simulator: support generators

10 years agonew simulator: basic execution
Sebastien Bourdeauducq [Fri, 11 Sep 2015 03:33:45 +0000 (20:33 -0700)]
new simulator: basic execution

10 years agofhdl/tools: add input lister
Sebastien Bourdeauducq [Fri, 11 Sep 2015 03:33:10 +0000 (20:33 -0700)]
fhdl/tools: add input lister

10 years agostyle
Sebastien Bourdeauducq [Fri, 11 Sep 2015 03:32:47 +0000 (20:32 -0700)]
style

10 years agofhdl: remove features new simulator won't use
Sebastien Bourdeauducq [Fri, 11 Sep 2015 01:29:57 +0000 (18:29 -0700)]
fhdl: remove features new simulator won't use

10 years agoremove genlib.misc.optree (use reduce instead)
Sebastien Bourdeauducq [Thu, 10 Sep 2015 20:56:56 +0000 (13:56 -0700)]
remove genlib.misc.optree (use reduce instead)

10 years agofixed bug in value_bits_sign of mul operatiors
Yves Delley [Wed, 9 Sep 2015 13:32:09 +0000 (15:32 +0200)]
fixed bug in value_bits_sign of mul operatiors

10 years agomibuild -> migen.build
Sebastien Bourdeauducq [Thu, 10 Sep 2015 17:53:15 +0000 (10:53 -0700)]
mibuild -> migen.build

10 years agoSimulator will be rewritten
Sebastien Bourdeauducq [Sat, 5 Sep 2015 21:07:00 +0000 (15:07 -0600)]
Simulator will be rewritten

10 years agoRemove code that will be into MiSoC or other packages.
Sebastien Bourdeauducq [Fri, 4 Sep 2015 20:13:00 +0000 (14:13 -0600)]
Remove code that will be into MiSoC or other packages.

10 years agomigen/actorlib/packet: fix source.error in Depacketizer
Florent Kermarrec [Tue, 18 Aug 2015 23:09:16 +0000 (01:09 +0200)]
migen/actorlib/packet: fix source.error in Depacketizer

10 years agomibuild/xilinx/ise: update synthesis with yosis
Florent Kermarrec [Tue, 18 Aug 2015 23:09:54 +0000 (01:09 +0200)]
mibuild/xilinx/ise: update synthesis with yosis

10 years agomigen/flow/actor: fix sop/eop validation in PipelinedActor (stb can be inactive when...
Florent Kermarrec [Sun, 9 Aug 2015 17:53:50 +0000 (19:53 +0200)]
migen/flow/actor: fix sop/eop validation in PipelinedActor (stb can be inactive when pipe_ce is active)

10 years agoPort fpgalink_programmer to use newer fl library.
Ryan Verner [Mon, 3 Aug 2015 12:31:26 +0000 (22:31 +1000)]
Port fpgalink_programmer to use newer fl library.

  * See change in https://github.com/makestuff/libfpgalink/commit/2074e51a334f5a5c2ea78f4919d01b379d4ba2ef

10 years agotry to use the new anaconda-client
Sebastien Bourdeauducq [Fri, 31 Jul 2015 05:46:28 +0000 (13:46 +0800)]
try to use the new anaconda-client

10 years agoise: do not use LCK_cycle:6 by default
Sebastien Bourdeauducq [Wed, 29 Jul 2015 03:09:42 +0000 (11:09 +0800)]
ise: do not use LCK_cycle:6 by default

10 years agopipistrello: fix cts/rts
Robert Jordens [Tue, 28 Jul 2015 03:46:19 +0000 (21:46 -0600)]
pipistrello: fix cts/rts

* use the same perspective as for tx/rx (flipped w.r.t. the ftdi chip)
* add pullups in case target or host attempt to use handshaking

10 years agoplatforms/kc705: add GPIO SMA
Sebastien Bourdeauducq [Mon, 27 Jul 2015 16:19:39 +0000 (00:19 +0800)]
platforms/kc705: add GPIO SMA

10 years agoresetless -> reset_less
Sebastien Bourdeauducq [Mon, 27 Jul 2015 03:46:11 +0000 (11:46 +0800)]
resetless -> reset_less

10 years agofhdl: allow use of ResetSignal() on resetless clock domains
Sebastien Bourdeauducq [Sun, 26 Jul 2015 17:51:52 +0000 (01:51 +0800)]
fhdl: allow use of ResetSignal() on resetless clock domains

10 years agoRevert "migen/actorlib/fifo: add FIFO wrapper function"
Sebastien Bourdeauducq [Fri, 24 Jul 2015 11:25:36 +0000 (19:25 +0800)]
Revert "migen/actorlib/fifo: add FIFO wrapper function"

This reverts commit d0a19c4be85c2f3d21e891b8a5520ba5a7a3a258.

10 years agomigen/actorlib/fifo: add FIFO wrapper function
Florent Kermarrec [Fri, 24 Jul 2015 11:02:54 +0000 (13:02 +0200)]
migen/actorlib/fifo: add FIFO wrapper function

Allow automatic instantiation of the correct fifo (SyncFIFO or AsyncFIFO) according to the clock domains passed in argument.

10 years agomigen/fhdl/tools: fix rename_clock_domain when new == old
Florent Kermarrec [Fri, 24 Jul 2015 10:48:51 +0000 (12:48 +0200)]
migen/fhdl/tools: fix rename_clock_domain when new == old

Clock domain renaming should support new == old to allow programmatically determined clock domain renaming.

10 years agoMerge branch 'master' of https://github.com/m-labs/migen
Florent Kermarrec [Wed, 22 Jul 2015 19:46:23 +0000 (21:46 +0200)]
Merge branch 'master' of https://github.com/m-labs/migen

10 years agoactorlib/packet/Depacketizer: manage layouts without error signal
Florent Kermarrec [Wed, 22 Jul 2015 19:43:21 +0000 (21:43 +0200)]
actorlib/packet/Depacketizer: manage layouts without error signal

10 years agoRemoved drive strength constraints on VGA/Audio signals
numato [Tue, 14 Jul 2015 18:24:18 +0000 (12:24 -0600)]
Removed drive strength constraints on VGA/Audio signals

10 years agoxilinx: ensure we chdir() back after build
Robert Jordens [Tue, 14 Jul 2015 18:53:43 +0000 (12:53 -0600)]
xilinx: ensure we chdir() back after build

10 years agomimasv2: style, consistency with other boards
Sebastien Bourdeauducq [Tue, 14 Jul 2015 17:56:00 +0000 (19:56 +0200)]
mimasv2: style, consistency with other boards

10 years agoAdding support for Numato Lab Mimas V2 platform
numato [Tue, 14 Jul 2015 17:15:00 +0000 (11:15 -0600)]
Adding support for Numato Lab Mimas V2 platform

10 years agoplatforms/kc705: style
Sebastien Bourdeauducq [Tue, 14 Jul 2015 17:42:44 +0000 (19:42 +0200)]
platforms/kc705: style

10 years agomibuild/openocd.py: add support
Robert Jordens [Fri, 3 Jul 2015 04:04:04 +0000 (22:04 -0600)]
mibuild/openocd.py: add support

Tested with pipistrello and kc705. Needs patches from
https://github.com/jordens/openocd/tree/bscan_spi waiting
to be merged in the openocd queue.

10 years agoMerge branch 'master' of https://github.com/m-labs/migen
Sebastien Bourdeauducq [Sun, 5 Jul 2015 08:53:32 +0000 (10:53 +0200)]
Merge branch 'master' of https://github.com/m-labs/migen

10 years agoAllow using non-milkymist cables with UrJTAG.
Tim 'mithro' Ansell [Sun, 5 Jul 2015 08:43:40 +0000 (18:43 +1000)]
Allow using non-milkymist cables with UrJTAG.

10 years agomibuild: Adding error checking around xsvf generation
Tim 'mithro' Ansell [Thu, 2 Jul 2015 14:51:03 +0000 (16:51 +0200)]
mibuild: Adding error checking around xsvf generation

10 years agoAdding support for programming with FPGALink
Tim 'mithro' Ansell [Thu, 2 Jul 2015 14:44:39 +0000 (16:44 +0200)]
Adding support for programming with FPGALink

Steps for getting it set up.

 * Get libfpgalink dependencies
   sudo apt-get install \
      build-essential libreadline-dev libusb-1.0-0-dev python-yaml

 * Build libfpgalink
   wget -qO- http://tiny.cc/msbil | tar zxf -
   cd makestuff; ./scripts/msget.sh makestuff/common
   cd libs; ../scripts/msget.sh libfpgalink
   cd libfpgalink; make deps

 * Convert libfpgalink to python3
   wget -O - http://www.swaton.ukfsn.org/bin/2to3.tar.gz | tar zxf -
   cd examples/python
   cp fpgalink2.py fpgalink3.py
   ../../2to3/2to3 fpgalink3.py | patch fpgalink3.py

 * Set your path's correctly.

   export LD_LIBRARY_PATH=$(pwd)/libfpgalink/lin.x64/rel:$LD_LIBRARY_PATH
   export PYTHON_PATH=$(pwd)/libfpgalink/examples/python:$PYTHON_PATH

10 years agomibuild/xilinx: Adding programming with the Digilent Adept tools
Tim 'mithro' Ansell [Thu, 2 Jul 2015 14:03:44 +0000 (16:03 +0200)]
mibuild/xilinx: Adding programming with the Digilent Adept tools

10 years agomibuild/xilinx: Xilinx's FPGAs do not necessary share the same primitives: add xilinx...
Florent Kermarrec [Thu, 2 Jul 2015 07:32:33 +0000 (09:32 +0200)]
mibuild/xilinx: Xilinx's FPGAs do not necessary share the same primitives: add xilinx_s7_special_overrides and specific XilinxDDROutputS7 implementation

Fix DDROutput implementation on spartan6 (tested with LiteETH's GMII phy)

10 years agotravis: use use-local for conda install
Yann Sionneau [Mon, 29 Jun 2015 22:42:13 +0000 (00:42 +0200)]
travis: use use-local for conda install

http://conda.pydata.org/docs/build_tutorials/pkgs.html

10 years agoRemove self.programmer references in Mercury, as mercury programmer is not implemented.
William D. Jones [Sun, 28 Jun 2015 15:06:46 +0000 (11:06 -0400)]
Remove self.programmer references in Mercury, as mercury programmer is not implemented.

10 years agoAdd Mercury dev board to mibuild (http://www.micro-nova.com/mercury/)
William D. Jones [Sat, 20 Jun 2015 22:47:24 +0000 (18:47 -0400)]
Add Mercury dev board to mibuild (micro-nova.com/mercury/)

10 years agoMerge pull request #21 from psmears/patch-1
Sébastien Bourdeauducq [Wed, 24 Jun 2015 10:46:58 +0000 (10:46 +0000)]
Merge pull request #21 from psmears/patch-1

Minor improvements to wording

10 years agofhdl/specials: add Keep SynthesisDirective
Florent Kermarrec [Mon, 22 Jun 2015 22:35:58 +0000 (00:35 +0200)]
fhdl/specials: add Keep SynthesisDirective

10 years agobus/wishbone: remove size CSR from Cache (L2 size will be reported to the software...
Florent Kermarrec [Fri, 19 Jun 2015 06:37:16 +0000 (08:37 +0200)]
bus/wishbone: remove size CSR from Cache (L2 size will be reported to the software as a constant)

10 years agomibuild/xilinx/ise: fix source and set source to False by default on Windows (tools...
Florent Kermarrec [Thu, 18 Jun 2015 22:52:39 +0000 (00:52 +0200)]
mibuild/xilinx/ise: fix source and set source to False by default on Windows (tools supposed to be in the PATH)

10 years agomibuild/xilinx/ise: simplify default_ise_path
Florent Kermarrec [Thu, 18 Jun 2015 22:40:05 +0000 (00:40 +0200)]
mibuild/xilinx/ise: simplify default_ise_path

10 years agoXilinx Platforms now use cmd.exe on Windows instead of bash to run scripts
William D. Jones [Thu, 18 Jun 2015 22:30:22 +0000 (00:30 +0200)]
Xilinx Platforms now use cmd.exe on Windows instead of bash to run scripts
(remove MSYS dependency)

10 years agoMinor improvements to wording
psmears [Thu, 18 Jun 2015 11:26:22 +0000 (12:26 +0100)]
Minor improvements to wording

10 years agowishbone: add Cache (from WB2LASMI)
Florent Kermarrec [Wed, 17 Jun 2015 13:31:49 +0000 (15:31 +0200)]
wishbone: add Cache (from WB2LASMI)

10 years agopipistrello: fix FPGA speed grade
Yann Sionneau [Sun, 14 Jun 2015 21:19:27 +0000 (23:19 +0200)]
pipistrello: fix FPGA speed grade

10 years agomigen/bus/wishbone: add UpConverter and Converter wrapper (also rewrite DownConverter)
Florent Kermarrec [Tue, 2 Jun 2015 17:29:38 +0000 (19:29 +0200)]
migen/bus/wishbone: add UpConverter and Converter wrapper (also rewrite DownConverter)

10 years agomigen/genlib/fsm: fix delayed_enter when delay is negative (can happen when delay...
Florent Kermarrec [Tue, 2 Jun 2015 17:26:42 +0000 (19:26 +0200)]
migen/genlib/fsm: fix delayed_enter when delay is negative (can happen when delay is generated from others parameters)

10 years agogenlib/cdc: add BusSynchronizer
Sebastien Bourdeauducq [Tue, 2 Jun 2015 09:40:42 +0000 (17:40 +0800)]
genlib/cdc: add BusSynchronizer

10 years agosetup.py: valid version number (fixes issue #12)
Sebastien Bourdeauducq [Thu, 28 May 2015 07:43:31 +0000 (15:43 +0800)]
setup.py: valid version number (fixes issue #12)

10 years agofhdl/verilog: add reserved keywords
Florent Kermarrec [Sat, 23 May 2015 12:01:08 +0000 (14:01 +0200)]
fhdl/verilog: add reserved keywords

10 years agomigen/genlib/record: add leave_out parameter to connect
Florent Kermarrec [Fri, 22 May 2015 22:22:13 +0000 (00:22 +0200)]
migen/genlib/record: add leave_out parameter to connect

Modules doing dataflow adaptation often need to connect most of the signals between endpoints except the one concerned by the adaptation.
This new parameter ease that by avoid manual connection of all signals.

10 years agoexample of instance usage
Guy Hutchison [Tue, 19 May 2015 17:14:31 +0000 (01:14 +0800)]
example of instance usage

10 years agovpi: avoid some code duplication between windows and linux
Florent Kermarrec [Wed, 13 May 2015 08:48:08 +0000 (10:48 +0200)]
vpi: avoid some code duplication between windows and linux

10 years agomigen/actorlib/spi: apply missing CSR renaming
Florent Kermarrec [Wed, 13 May 2015 08:17:31 +0000 (10:17 +0200)]
migen/actorlib/spi: apply missing CSR renaming

10 years agovpi: cleanup (thanks sb)
Florent Kermarrec [Wed, 13 May 2015 08:13:14 +0000 (10:13 +0200)]
vpi: cleanup (thanks sb)

10 years agovpi: fix and simplify windows simulation (ends of msg were ignored)
Florent Kermarrec [Tue, 12 May 2015 23:20:57 +0000 (01:20 +0200)]
vpi: fix and simplify windows simulation (ends of msg were ignored)

10 years agoMerge branch 'master' of https://github.com/m-labs/migen
Florent Kermarrec [Tue, 12 May 2015 14:16:24 +0000 (16:16 +0200)]
Merge branch 'master' of https://github.com/m-labs/migen

10 years agomigen/genlib/misc: replace Timeout with WaitTimer from artiq
Florent Kermarrec [Tue, 12 May 2015 13:45:16 +0000 (15:45 +0200)]
migen/genlib/misc: replace Timeout with WaitTimer from artiq

10 years agotravis: install conda dependencies after activating the virtual env
Yann Sionneau [Tue, 12 May 2015 12:06:16 +0000 (14:06 +0200)]
travis: install conda dependencies after activating the virtual env

10 years agotravis: get-anaconda.sh does not take args anymore
Yann Sionneau [Tue, 12 May 2015 11:58:08 +0000 (13:58 +0200)]
travis: get-anaconda.sh does not take args anymore

10 years agoWindows simulation support
William D. Jones [Sat, 9 May 2015 13:09:32 +0000 (21:09 +0800)]
Windows simulation support

10 years agoise: move -user_new_parser to xst_opt
Robert Jordens [Fri, 8 May 2015 00:18:56 +0000 (18:18 -0600)]
ise: move -user_new_parser to xst_opt

10 years agomibuild/platforms/pipistrello: add _n suffix to usb fifo pins
Florent Kermarrec [Fri, 1 May 2015 13:49:33 +0000 (15:49 +0200)]
mibuild/platforms/pipistrello: add _n suffix to usb fifo pins

10 years agomibuild/platforms/minispartan6: rename ftdi_fifo to usb_fifo and fix rd_n/wr_n swap
Florent Kermarrec [Fri, 1 May 2015 13:48:42 +0000 (15:48 +0200)]
mibuild/platforms/minispartan6: rename ftdi_fifo to usb_fifo and fix rd_n/wr_n swap

10 years agodoc: remove cordic
Sebastien Bourdeauducq [Fri, 1 May 2015 06:07:38 +0000 (14:07 +0800)]
doc: remove cordic

10 years agoadd examples tests
Alain Péteut [Thu, 30 Apr 2015 16:49:58 +0000 (00:49 +0800)]
add examples tests

10 years agomigen/actorlib/packet: add Packetizer and Depacketizer
Florent Kermarrec [Tue, 28 Apr 2015 16:44:05 +0000 (18:44 +0200)]
migen/actorlib/packet: add Packetizer and Depacketizer

10 years agomigen/genlib: avoid use of floating point in reverse_bytes
Florent Kermarrec [Mon, 27 Apr 2015 19:04:18 +0000 (21:04 +0200)]
migen/genlib: avoid use of floating point in reverse_bytes

10 years agomigen/actorlib: add packet.py to manage dataflow packets (Arbiter, Dispatcher, Header...
Florent Kermarrec [Mon, 27 Apr 2015 13:14:38 +0000 (15:14 +0200)]
migen/actorlib: add packet.py to manage dataflow packets (Arbiter, Dispatcher, Header definitions, Buffer)

10 years agomigen/actorlib/misc: add BufferizeEndpoints
Florent Kermarrec [Mon, 27 Apr 2015 13:12:01 +0000 (15:12 +0200)]
migen/actorlib/misc: add BufferizeEndpoints

BufferizeEndpoints provides an easy way improve timings of chained dataflow modules and avoid polluting code with internals buffers.

10 years agomigen/genlib/misc: add reverse_bytes
Florent Kermarrec [Mon, 27 Apr 2015 13:08:10 +0000 (15:08 +0200)]
migen/genlib/misc: add reverse_bytes

10 years agoAdd a command line option (-use_new_parser yes) to Xilinx XST to force use of the...
William D. Jones [Sat, 25 Apr 2015 12:29:08 +0000 (08:29 -0400)]
Add a command line option (-use_new_parser yes) to Xilinx XST to force use of the newer parser for older FPGAs.

10 years agomigen/test: for now desactivate test_generic_syntax (travis-ci's Verilator needs...
Florent Kermarrec [Fri, 24 Apr 2015 11:24:52 +0000 (13:24 +0200)]
migen/test: for now desactivate test_generic_syntax (travis-ci's Verilator needs to be upgraded?)