Florent Kermarrec [Tue, 3 Mar 2015 16:57:58 +0000 (17:57 +0100)]
mibuild/sim: simplify console_tb with sim struct
Florent Kermarrec [Tue, 3 Mar 2015 16:35:52 +0000 (17:35 +0100)]
mibuild/sim: create server.py and server_tb (Proof of concept OK with flterm)
Using a server allow us to create a virtual UART (and ethernet TAP in the future).
1) start the server
2) start flterm on the virtual serial port created by the server
3) run the simulation
This will enable us to do serialboot and netboot in simulation.
This will also enable prototyping ethernet for ARTIQ in simulation.
Sebastien Bourdeauducq [Tue, 3 Mar 2015 02:06:39 +0000 (02:06 +0000)]
xilinx/programmer/vivado: fix Linux support
Sebastien Bourdeauducq [Tue, 3 Mar 2015 02:03:14 +0000 (02:03 +0000)]
platforms/kc705: fix imports
Florent Kermarrec [Mon, 2 Mar 2015 22:24:48 +0000 (23:24 +0100)]
Merge branch 'master' of github.com/m-labs/migen
Florent Kermarrec [Mon, 2 Mar 2015 22:23:23 +0000 (23:23 +0100)]
mibuild/sim/verilator: remove verilator_root, use -Wno-fatal and add verbose option (verbose disabled by default)
Sebastien Bourdeauducq [Mon, 2 Mar 2015 21:56:20 +0000 (21:56 +0000)]
mibuild/sim: style fixes
Florent Kermarrec [Mon, 2 Mar 2015 07:23:02 +0000 (08:23 +0100)]
move dma_lasmi to MiSoC
Florent Kermarrec [Sun, 1 Mar 2015 21:02:11 +0000 (22:02 +0100)]
lasmi: simplify usage for the user (it's the job of the controller to manage write/read latencies on acks)
Florent Kermarrec [Sun, 1 Mar 2015 17:27:46 +0000 (18:27 +0100)]
mibuild: initial Verilator support
Florent Kermarrec [Sun, 1 Mar 2015 15:33:46 +0000 (16:33 +0100)]
genlib/misc: add FlipFlop, Counter, Timeout
Sebastien Bourdeauducq [Sat, 28 Feb 2015 23:20:44 +0000 (16:20 -0700)]
platforms/pipistrello: remove unconnected SDRAM pins
Robert Jordens [Sat, 28 Feb 2015 22:55:51 +0000 (15:55 -0700)]
pipistrello: fix ddram dqs, cleanup constraints, add pullup/downs
Robert Jordens [Sat, 28 Feb 2015 22:55:50 +0000 (15:55 -0700)]
pipistrello: switch back to xc3sprog and fast (papilio) speed
Florent Kermarrec [Sat, 28 Feb 2015 22:34:57 +0000 (23:34 +0100)]
kx705: add programmer parameter
Florent Kermarrec [Sat, 28 Feb 2015 18:33:20 +0000 (19:33 +0100)]
fix xilinx/programmer with Vivado
Florent Kermarrec [Sat, 28 Feb 2015 02:38:47 +0000 (03:38 +0100)]
xilinx/programmer: add source of vivado's settings (need to be tested on a linux machine)
Florent Kermarrec [Fri, 27 Feb 2015 15:54:22 +0000 (16:54 +0100)]
move dfi/lasmibus/wishbone2lasmi to MiSoC sdram
Florent Kermarrec [Fri, 27 Feb 2015 13:12:13 +0000 (14:12 +0100)]
report cachesize in wishbone2lasmi
Florent Kermarrec [Fri, 27 Feb 2015 08:02:21 +0000 (09:02 +0100)]
xilinx/programmer: add partial flash_bitstream for vivado (can flash full bitstream, need to be adapted to flash part of the flash (bios, ...))
Robert Jordens [Fri, 27 Feb 2015 03:27:21 +0000 (20:27 -0700)]
xilinx/programmer: fix xc3sprog (GenericProgrammer)
Robert Jordens [Fri, 27 Feb 2015 03:22:23 +0000 (20:22 -0700)]
pipistrello: use fpgaprog
Robert Jordens [Fri, 27 Feb 2015 03:22:22 +0000 (20:22 -0700)]
add fpgaprog programmer
Robert Jordens [Fri, 27 Feb 2015 03:22:21 +0000 (20:22 -0700)]
add pipistrello platform
Sebastien Bourdeauducq [Fri, 27 Feb 2015 04:32:39 +0000 (21:32 -0700)]
Merge branch 'master' of https://github.com/m-labs/migen
Sebastien Bourdeauducq [Thu, 26 Feb 2015 23:22:22 +0000 (16:22 -0700)]
platforms/kc705: add user SMA clock
Yann Sionneau [Wed, 25 Feb 2015 10:27:09 +0000 (11:27 +0100)]
mibuild/kc705: add missing pins on FMC LPC
Florent Kermarrec [Thu, 26 Feb 2015 18:00:43 +0000 (19:00 +0100)]
mibuild: move identifier to platforms
Florent Kermarrec [Thu, 26 Feb 2015 13:04:36 +0000 (14:04 +0100)]
mibuild: fix missing xilinx_common -->xilinx.common change
Florent Kermarrec [Thu, 26 Feb 2015 11:51:43 +0000 (12:51 +0100)]
platforms: add default_clk_freq/default_clk_name (to use it on simple designs to test MiSOC on various platforms)
Florent Kermarrec [Thu, 26 Feb 2015 11:31:19 +0000 (12:31 +0100)]
mibuild: add VivadoProgrammer (only load_bitstream)
Florent Kermarrec [Thu, 26 Feb 2015 11:10:41 +0000 (12:10 +0100)]
mibuild: better file organization (create directory for each vendor and move programmers in it)
Yann Sionneau [Wed, 18 Feb 2015 15:32:43 +0000 (08:32 -0700)]
mibuild/kc705: add FMC connectors
Yann Sionneau [Wed, 18 Feb 2015 15:32:15 +0000 (08:32 -0700)]
mibuild: support pin names in IO extensions
Florent Kermarrec [Thu, 12 Feb 2015 22:36:57 +0000 (23:36 +0100)]
endpoints: add param_layout parameter (required to pass parameter data with converters and will allow logic optimizations)
Florent Kermarrec [Thu, 12 Feb 2015 22:29:53 +0000 (23:29 +0100)]
actorlib/structuring: fix eop generation in Pack
Sebastien Bourdeauducq [Sat, 14 Feb 2015 11:05:07 +0000 (03:05 -0800)]
mibuild: make resolve_signals public
Florent Kermarrec [Thu, 12 Feb 2015 22:28:41 +0000 (23:28 +0100)]
mibuild: return verilog namespace with build
Florent Kermarrec [Thu, 12 Feb 2015 22:23:28 +0000 (23:23 +0100)]
remove crc since each crc is specific. It's probably better to adapt code for each case.
Florent Kermarrec [Thu, 22 Jan 2015 15:37:18 +0000 (16:37 +0100)]
genlib/crc: use OrderedDict
Florent Kermarrec [Thu, 22 Jan 2015 15:35:42 +0000 (16:35 +0100)]
fhdl/std: add FinalizeError import
Sebastien Bourdeauducq [Sun, 21 Dec 2014 09:37:11 +0000 (17:37 +0800)]
mibuild/xilinx_vivado: fix list aliasing problem
Florent Kermarrec [Wed, 17 Dec 2014 08:21:16 +0000 (09:21 +0100)]
xilinx_vivado: add parameters to pass specific commands (to be declared in platforms)
Florent Kermarrec [Wed, 17 Dec 2014 08:22:08 +0000 (09:22 +0100)]
crc: modify CRCChecker to remove CRC and clean up
Sebastien Bourdeauducq [Sun, 30 Nov 2014 14:28:39 +0000 (22:28 +0800)]
bank: support direct mapping of CSRs on Wishbone
Yann Sionneau [Wed, 26 Nov 2014 11:10:20 +0000 (12:10 +0100)]
Wishbone DownConverter: Fix sel signal
Sebastien Bourdeauducq [Tue, 25 Nov 2014 09:16:21 +0000 (17:16 +0800)]
genlib/fsm: add NextValue to replace reg/reg_next/ce pattern
Sebastien Bourdeauducq [Fri, 21 Nov 2014 22:51:05 +0000 (14:51 -0800)]
fhdl/tools: do not attempt to rename sync clock domain if it does not exist
Sebastien Bourdeauducq [Fri, 21 Nov 2014 06:31:56 +0000 (22:31 -0800)]
flow: endpoint description structure with packetized parameter
Sebastien Bourdeauducq [Fri, 21 Nov 2014 02:46:54 +0000 (18:46 -0800)]
actorlib/fifo: add buffered parameter
Florent Kermarrec [Mon, 3 Nov 2014 09:39:12 +0000 (10:39 +0100)]
xilinx_vivado: use REM for comment on Windows
Sébastien Bourdeauducq [Mon, 17 Nov 2014 04:48:12 +0000 (21:48 -0700)]
Merge pull request #8 from jix/fix-acitorlib-fifo
actorlib/fifo: fix no-op assignment due to .payload omission
Jannis Harder [Fri, 14 Nov 2014 20:25:19 +0000 (21:25 +0100)]
actorlib/fifo: fix no-op assignment due to .payload omission
Guy Hutchison [Fri, 7 Nov 2014 02:19:49 +0000 (18:19 -0800)]
add hamming-code gen/check lib
Sebastien Bourdeauducq [Wed, 5 Nov 2014 15:23:22 +0000 (23:23 +0800)]
mibuild/programmer: add migen folders to flash proxy search dirs
Sebastien Bourdeauducq [Tue, 4 Nov 2014 08:57:34 +0000 (16:57 +0800)]
vpi/ipc: fix decoding of index buffer
Sebastien Bourdeauducq [Mon, 3 Nov 2014 04:08:43 +0000 (12:08 +0800)]
test/test_size: fix slice comparison
Sebastien Bourdeauducq [Sat, 1 Nov 2014 13:48:02 +0000 (21:48 +0800)]
actorlib/structuring/Pipeline: make 'busy' a signal
Florent Kermarrec [Fri, 31 Oct 2014 12:09:24 +0000 (13:09 +0100)]
actorlib/structuring: add Pipeline
Pipeline enables easy cascading of dataflow modules.
DataFlowGraph can eventually use it to implement the
add_pipeline method to avoid duplicating things.
Florent Kermarrec [Fri, 31 Oct 2014 12:06:47 +0000 (13:06 +0100)]
actorlib/structuring: add Converter
Converter enables easy conversions of data width on dataflows.
It handles the 3 possibles cases:
- downconverter
- upconverter
- direct connection when data width are identical.
Sebastien Bourdeauducq [Sat, 1 Nov 2014 13:33:35 +0000 (21:33 +0800)]
Merge branch 'master' of github.com:m-labs/migen
Florent Kermarrec [Fri, 31 Oct 2014 11:59:45 +0000 (12:59 +0100)]
flow/actor, actorlib/structuring: add packet support
Florent Kermarrec [Fri, 31 Oct 2014 11:58:36 +0000 (12:58 +0100)]
bus/csr: add configurable address_width (needed more than 32 modules with CSR)
Florent Kermarrec [Fri, 31 Oct 2014 11:56:03 +0000 (12:56 +0100)]
crc: generate error asynchronously to avoid stalling the flow and simplify
Florent Kermarrec [Fri, 31 Oct 2014 11:49:30 +0000 (12:49 +0100)]
kc705: add Ethernet pins
Florent Kermarrec [Fri, 31 Oct 2014 11:48:30 +0000 (12:48 +0100)]
xilinx_vivado: use .bat on Windows platforms (otherwise Vivado uses Unix scripts...)
Florent Kermarrec [Fri, 31 Oct 2014 11:47:21 +0000 (12:47 +0100)]
xilinx_vivado: add hierarchical utilization report
Sebastien Bourdeauducq [Wed, 29 Oct 2014 10:18:17 +0000 (18:18 +0800)]
fhdl/verilog: fix tristate to instance connection
Yann Sionneau [Mon, 27 Oct 2014 11:41:17 +0000 (12:41 +0100)]
Raise exception when not using correct boolean operators
Florent Kermarrec [Tue, 21 Oct 2014 16:39:19 +0000 (18:39 +0200)]
flow/actor/Endpoint: clean up __getattr__
Florent Kermarrec [Mon, 20 Oct 2014 16:09:38 +0000 (18:09 +0200)]
DMAWriteController: fix Demultiplexer layout
Florent Kermarrec [Mon, 20 Oct 2014 15:11:59 +0000 (23:11 +0800)]
use new direct access on endpoints
Florent Kermarrec [Mon, 20 Oct 2014 06:47:48 +0000 (08:47 +0200)]
_Endpoint: allow direct access of payload elements
Florent Kermarrec [Fri, 17 Oct 2014 09:08:37 +0000 (17:08 +0800)]
remove trailing whitespaces
Florent Kermarrec [Fri, 10 Oct 2014 18:45:18 +0000 (20:45 +0200)]
bank: add re to CSRStorage
being able to know when a register is updated is useful in many cases and avoid having to handle another register for that.
re is asserted when the the last CSR of the Compound is written. Software must also write Compound in the right order.
Sebastien Bourdeauducq [Mon, 29 Sep 2014 11:38:58 +0000 (19:38 +0800)]
genlib/fsm: make first fsm.act() the reset state, even when using after_*/before_* methods before fsm.act
Florent Kermarrec [Wed, 24 Sep 2014 20:48:36 +0000 (22:48 +0200)]
add generic CRCEngine, CRC32, CRCInserter and CRCChecker
CRCEngine implements a generic and optimized CRC LFSR. It will enable generation of CRC generators and checkers.
CRC32 is an implementation of IEEE 802.3 CRC using the CRCEngine.
CRC32Inserter and CRC32Checker have been tested on an ethernet MAC.
Florent Kermarrec [Mon, 22 Sep 2014 16:09:30 +0000 (18:09 +0200)]
flow/actor: fix eop direction
Florent Kermarrec [Wed, 17 Sep 2014 15:23:27 +0000 (17:23 +0200)]
flow/actor: add packetized parameter for Sink and Source
Florent Kermarrec [Wed, 17 Sep 2014 14:53:20 +0000 (16:53 +0200)]
actorlib/structuring: add reverse parameter to Unpack and Pack
Sebastien Bourdeauducq [Wed, 17 Sep 2014 11:59:13 +0000 (19:59 +0800)]
genlib/fifo/SyncFIFOBuffered: replace not supported
Sebastien Bourdeauducq [Wed, 17 Sep 2014 11:58:43 +0000 (19:58 +0800)]
genlib/fifo: same 'level' semantics between SyncFIFOBuffered and FWFT SyncFIFO
Florent Kermarrec [Thu, 11 Sep 2014 20:22:49 +0000 (22:22 +0200)]
setup.py: fix README filename
Sebastien Bourdeauducq [Wed, 10 Sep 2014 13:19:15 +0000 (21:19 +0800)]
genlib/fifo: add replace command to sync FIFO
Sebastien Bourdeauducq [Wed, 10 Sep 2014 12:52:19 +0000 (20:52 +0800)]
README: more markdown fixes
Sebastien Bourdeauducq [Wed, 10 Sep 2014 12:51:17 +0000 (20:51 +0800)]
README: markdown fixes
Sebastien Bourdeauducq [Wed, 10 Sep 2014 12:49:49 +0000 (20:49 +0800)]
README: use markdown
Sebastien Bourdeauducq [Mon, 8 Sep 2014 10:48:54 +0000 (18:48 +0800)]
actorlib/spi: remove unneeded import
Florent Kermarrec [Sat, 6 Sep 2014 07:06:24 +0000 (09:06 +0200)]
actorlib/spi: remove EventManager from DMAController
Robert Jordens [Sun, 7 Sep 2014 06:23:57 +0000 (00:23 -0600)]
sim/icarus: add vpi directory to module search path
This allows running the iverilog simulations from the migen top directory
without having to install the .vpi anywhere.
Robert Jordens [Sun, 7 Sep 2014 06:18:04 +0000 (00:18 -0600)]
cordic: round() constants if not power of two bitwidth, cleanup, simplify some logic
Robert Jordens [Sun, 7 Sep 2014 06:18:03 +0000 (00:18 -0600)]
test_cordic: stop spewing out numbers
Robert Jordens [Sun, 7 Sep 2014 06:09:54 +0000 (00:09 -0600)]
doc: update for NetworkX refactoring
Robert Jordens [Sun, 7 Sep 2014 06:09:53 +0000 (00:09 -0600)]
examples/dataflow: adapt to new simple MultiDiGraph implementation
Robert Jordens [Sun, 7 Sep 2014 06:09:52 +0000 (00:09 -0600)]
flow/network: replace NetworkX MultiDiGraph with simple implementation
Robert Jordens [Sun, 7 Sep 2014 06:09:51 +0000 (00:09 -0600)]
examples/dataflow/dma: fix simulation, run it for 100 cycles
Robert Jordens [Thu, 4 Sep 2014 00:27:13 +0000 (18:27 -0600)]
cordic: vivado is bad at inferring compact adder/subtractor logic
Robert Jordens [Thu, 4 Sep 2014 00:27:12 +0000 (18:27 -0600)]
vivado: add more reporting
Robert Jordens [Thu, 4 Sep 2014 00:27:11 +0000 (18:27 -0600)]
vivado: mode batch to prevent vivado from opening tcl shell on error
Sebastien Bourdeauducq [Wed, 3 Sep 2014 09:29:26 +0000 (17:29 +0800)]
platforms/kc705: use jtaghs1_fast cable