litex.git
11 years agodvisampler: expose PLL DRP to CSR
Sebastien Bourdeauducq [Mon, 18 Nov 2013 19:32:21 +0000 (20:32 +0100)]
dvisampler: expose PLL DRP to CSR

11 years agoframebuffer: unpack memory words in pixel clock domain for better perf
Sebastien Bourdeauducq [Sun, 17 Nov 2013 22:41:18 +0000 (23:41 +0100)]
framebuffer: unpack memory words in pixel clock domain for better perf

11 years agovideomixer: reduce debug output
Sebastien Bourdeauducq [Sun, 17 Nov 2013 22:40:42 +0000 (23:40 +0100)]
videomixer: reduce debug output

11 years agovideomixer: add more video modes
Sebastien Bourdeauducq [Sat, 16 Nov 2013 16:41:03 +0000 (17:41 +0100)]
videomixer: add more video modes

11 years agovideomixer: flush L2 after CPU framebuffer write
Sebastien Bourdeauducq [Sat, 16 Nov 2013 15:27:58 +0000 (16:27 +0100)]
videomixer: flush L2 after CPU framebuffer write

11 years agobios: flushl2 command
Sebastien Bourdeauducq [Sat, 16 Nov 2013 15:27:34 +0000 (16:27 +0100)]
bios: flushl2 command

11 years agoadd L2 cache size in identifier + function to flush L2
Sebastien Bourdeauducq [Sat, 16 Nov 2013 15:27:21 +0000 (16:27 +0100)]
add L2 cache size in identifier + function to flush L2

11 years agovideomixer: fix stray DMA detection
Sebastien Bourdeauducq [Sat, 16 Nov 2013 12:53:38 +0000 (13:53 +0100)]
videomixer: fix stray DMA detection

11 years agodvisampler: pack pixels in pixel clock domain to improve performance
Sebastien Bourdeauducq [Sat, 16 Nov 2013 12:53:26 +0000 (13:53 +0100)]
dvisampler: pack pixels in pixel clock domain to improve performance

11 years agovideomixer: clear framebuffers
Sebastien Bourdeauducq [Fri, 15 Nov 2013 10:25:58 +0000 (11:25 +0100)]
videomixer: clear framebuffers

11 years agoframebuffer: reset VTG
Sebastien Bourdeauducq [Fri, 15 Nov 2013 10:25:07 +0000 (11:25 +0100)]
framebuffer: reset VTG

11 years agovideomixer: check resolution and frame length
Sebastien Bourdeauducq [Wed, 13 Nov 2013 17:57:39 +0000 (18:57 +0100)]
videomixer: check resolution and frame length

11 years agodvisampler: update address CSR at end of DMA
Sebastien Bourdeauducq [Wed, 13 Nov 2013 17:57:10 +0000 (18:57 +0100)]
dvisampler: update address CSR at end of DMA

11 years agovideomixer: filter PLL lock output
Sebastien Bourdeauducq [Wed, 13 Nov 2013 15:50:09 +0000 (16:50 +0100)]
videomixer: filter PLL lock output

11 years agomicroudp: fix udp txlen
Robert Jordens [Mon, 11 Nov 2013 22:45:45 +0000 (15:45 -0700)]
microudp: fix udp txlen

* the preample length 8 is already included in sizeof(struct
ethernet_header)
* the minimum packet size is 64, exluding fcs and including
preample it is 68 (the arp functions are correct)

11 years agovideomixer: support resolution change at runtime
Sebastien Bourdeauducq [Mon, 11 Nov 2013 22:20:21 +0000 (23:20 +0100)]
videomixer: support resolution change at runtime

11 years agovideomixer: add more video modes
Sebastien Bourdeauducq [Mon, 11 Nov 2013 21:16:56 +0000 (22:16 +0100)]
videomixer: add more video modes

11 years agovideomixer: compute best m/d value for pixel clock synthesizer
Sebastien Bourdeauducq [Mon, 11 Nov 2013 20:30:12 +0000 (21:30 +0100)]
videomixer: compute best m/d value for pixel clock synthesizer

11 years agovideomixer: set established timing bits in EDID
Sebastien Bourdeauducq [Mon, 11 Nov 2013 17:56:13 +0000 (18:56 +0100)]
videomixer: set established timing bits in EDID

11 years agovideomixer: generate EDID
Sebastien Bourdeauducq [Mon, 11 Nov 2013 16:52:07 +0000 (17:52 +0100)]
videomixer: generate EDID

11 years agocpuif: add memories to csr.h
Sebastien Bourdeauducq [Mon, 11 Nov 2013 15:53:00 +0000 (16:53 +0100)]
cpuif: add memories to csr.h

11 years agovideomixer: add EDID manipulation routines
Sebastien Bourdeauducq [Sun, 10 Nov 2013 22:50:18 +0000 (23:50 +0100)]
videomixer: add EDID manipulation routines

11 years agocosmetic changes
Sebastien Bourdeauducq [Sun, 10 Nov 2013 15:12:24 +0000 (16:12 +0100)]
cosmetic changes

11 years agocommon.mak: drop the echo from the version tag finding, did not work here, use python -c
Robert Jordens [Sun, 10 Nov 2013 11:25:08 +0000 (04:25 -0700)]
common.mak: drop the echo from the version tag finding, did not work here, use python -c

Signed-off-by: Robert Jordens <jordens@gmail.com>
11 years agos6ddrphy: use shorter Instance argument notation
Robert Jordens [Fri, 8 Nov 2013 07:35:47 +0000 (00:35 -0700)]
s6ddrphy: use shorter Instance argument notation

Signed-off-by: Robert Jordens <jordens@gmail.com>
11 years agocommon.mak: specify python3
Sebastien Bourdeauducq [Sun, 10 Nov 2013 10:29:27 +0000 (11:29 +0100)]
common.mak: specify python3

11 years agos6ddrphy: drop unused outputs, shortens verilog and produces more readable warnings
Robert Jordens [Fri, 8 Nov 2013 07:28:50 +0000 (00:28 -0700)]
s6ddrphy: drop unused outputs, shortens verilog and produces more readable warnings

Signed-off-by: Robert Jordens <jordens@gmail.com>
11 years agocommon.mak: -Os instead of -O3, smaller bios (<32k)
Robert Jordens [Sun, 10 Nov 2013 09:50:41 +0000 (10:50 +0100)]
common.mak: -Os instead of -O3, smaller bios (<32k)

11 years agocpuif.py: add _ADDR and _SIZE defines for each register
Robert Jordens [Fri, 8 Nov 2013 07:25:38 +0000 (00:25 -0700)]
cpuif.py: add _ADDR and _SIZE defines for each register

Signed-off-by: Robert Jordens <jordens@gmail.com>
11 years agorename milkymist-ng to MiSoC
Sebastien Bourdeauducq [Sat, 9 Nov 2013 17:51:16 +0000 (18:51 +0100)]
rename milkymist-ng to MiSoC

11 years agotop: set platform ID
Sebastien Bourdeauducq [Sat, 9 Nov 2013 17:34:36 +0000 (18:34 +0100)]
top: set platform ID

11 years agouse git commit id as version
Sebastien Bourdeauducq [Sat, 9 Nov 2013 15:38:44 +0000 (16:38 +0100)]
use git commit id as version

11 years agorename milkymist-ng to MiSoC
Sebastien Bourdeauducq [Sat, 9 Nov 2013 14:27:32 +0000 (15:27 +0100)]
rename milkymist-ng to MiSoC

11 years agos6ddrphy: improve genericity by adding wr_bitslip and dqs_ddr_alignment parameters...
Florent Kermarrec [Wed, 6 Nov 2013 14:56:53 +0000 (15:56 +0100)]
s6ddrphy: improve genericity by adding wr_bitslip and dqs_ddr_alignment parameters bitslip parameter is renamed to rd_bitslip

11 years agoplumbing: use Record.connect in Multiplexer/ Demultiplexer
Florent Kermarrec [Mon, 4 Nov 2013 12:46:37 +0000 (13:46 +0100)]
plumbing: use Record.connect in Multiplexer/ Demultiplexer

11 years agoutil: add missing __init__.py
Florent Kermarrec [Mon, 4 Nov 2013 12:45:39 +0000 (13:45 +0100)]
util: add missing __init__.py

11 years agoactorlib/spi/DMAWriteController: make ack_when_inactive a keyword-only arg
Sebastien Bourdeauducq [Sat, 2 Nov 2013 22:21:05 +0000 (23:21 +0100)]
actorlib/spi/DMAWriteController: make ack_when_inactive a keyword-only arg

11 years agoactorlib/spi: add ack_when_inactive parameter to DMA Write Controller
Florent Kermarrec [Fri, 25 Oct 2013 20:53:59 +0000 (22:53 +0200)]
actorlib/spi: add ack_when_inactive parameter to DMA Write Controller

In some cases we don't want to stall the input pipeline when the DMA is inactive, setting ack_when_inactive to True will enable acknowledge of data when the DMA is inactive.

11 years agoflow/plumbing/muxdemux: use existing connect() method instead of new function
Sebastien Bourdeauducq [Sat, 2 Nov 2013 22:15:03 +0000 (23:15 +0100)]
flow/plumbing/muxdemux: use existing connect() method instead of new function

11 years agoflow/actor: Record.connect no longer takes kwargs
Sebastien Bourdeauducq [Sat, 2 Nov 2013 22:14:32 +0000 (23:14 +0100)]
flow/actor: Record.connect no longer takes kwargs

11 years agoflow/plumbing: add Multiplexer and Demultiplexer
Florent Kermarrec [Fri, 25 Oct 2013 20:45:45 +0000 (22:45 +0200)]
flow/plumbing: add Multiplexer and Demultiplexer

11 years agoreplace use of __dict__ with dir()/xdir()
Sebastien Bourdeauducq [Sat, 2 Nov 2013 15:03:47 +0000 (16:03 +0100)]
replace use of __dict__ with dir()/xdir()

11 years agoflow: add AbstractActor busy signals
Sebastien Bourdeauducq [Fri, 25 Oct 2013 16:50:14 +0000 (18:50 +0200)]
flow: add AbstractActor busy signals

11 years agouart_isr: fix interrupts clear
Florent Kermarrec [Tue, 22 Oct 2013 17:44:58 +0000 (19:44 +0200)]
uart_isr: fix interrupts clear

11 years agoBetter record layout parameterization mechanism
Sebastien Bourdeauducq [Wed, 23 Oct 2013 10:54:50 +0000 (12:54 +0200)]
Better record layout parameterization mechanism

11 years agoRevert "genlib/record: support passing params in same object"
Sebastien Bourdeauducq [Tue, 22 Oct 2013 13:23:00 +0000 (15:23 +0200)]
Revert "genlib/record: support passing params in same object"

This reverts commit 018afe57ef52b8040934319cac848437a2ba0163.

11 years agoRevert "genlib/fifo: support RecordP"
Sebastien Bourdeauducq [Tue, 22 Oct 2013 13:22:40 +0000 (15:22 +0200)]
Revert "genlib/fifo: support RecordP"

This reverts commit c0d2b5a78947814eeb9476fe7ca4c1e3d27e02f4.

11 years agogenlib/fifo: support RecordP
Sebastien Bourdeauducq [Mon, 21 Oct 2013 20:30:06 +0000 (22:30 +0200)]
genlib/fifo: support RecordP

11 years agogenlib/record: support passing params in same object
Sebastien Bourdeauducq [Mon, 21 Oct 2013 20:05:28 +0000 (22:05 +0200)]
genlib/record: support passing params in same object

11 years agoadd CSV CSR map output
Sebastien Bourdeauducq [Sun, 20 Oct 2013 22:04:26 +0000 (00:04 +0200)]
add CSV CSR map output

11 years agouart2csr: add pads parameter
Florent Kermarrec [Wed, 25 Sep 2013 13:07:23 +0000 (15:07 +0200)]
uart2csr: add pads parameter

11 years agomila: test rle
Florent Kermarrec [Sun, 22 Sep 2013 16:41:44 +0000 (18:41 +0200)]
mila: test rle

11 years agomila: symplify usage
Florent Kermarrec [Sun, 22 Sep 2013 11:28:12 +0000 (13:28 +0200)]
mila: symplify usage

11 years agouse custom Records instead of Sink/Source (semms easier, but will be reverted if...
Florent Kermarrec [Sun, 22 Sep 2013 11:04:18 +0000 (13:04 +0200)]
use custom Records instead of Sink/Source (semms easier, but will be reverted if not)

11 years agostorage: add run length encoder
Florent Kermarrec [Sun, 22 Sep 2013 10:35:46 +0000 (12:35 +0200)]
storage: add run length encoder

11 years agotrigger: add range_detector / edge_detector
Florent Kermarrec [Sun, 22 Sep 2013 10:15:11 +0000 (12:15 +0200)]
trigger: add range_detector / edge_detector

11 years agomove trigger/recorder
Florent Kermarrec [Sun, 22 Sep 2013 09:45:30 +0000 (11:45 +0200)]
move trigger/recorder

11 years agocom: add lm32 uart2wb bridge
Florent Kermarrec [Sun, 22 Sep 2013 09:36:13 +0000 (11:36 +0200)]
com: add lm32 uart2wb bridge

11 years agoclean up/ simplify
Florent Kermarrec [Sun, 22 Sep 2013 09:35:02 +0000 (11:35 +0200)]
clean up/ simplify

11 years agorefactoring
Florent Kermarrec [Sat, 21 Sep 2013 11:04:07 +0000 (13:04 +0200)]
refactoring

11 years agoframebuffer/dvi: minor fixes
Sebastien Bourdeauducq [Wed, 18 Sep 2013 15:14:11 +0000 (17:14 +0200)]
framebuffer/dvi: minor fixes

11 years agoadd DVI output
Sebastien Bourdeauducq [Wed, 18 Sep 2013 14:56:07 +0000 (16:56 +0200)]
add DVI output

11 years agoframebuffer/phy: fix DVI clocking
Sebastien Bourdeauducq [Tue, 17 Sep 2013 17:28:18 +0000 (19:28 +0200)]
framebuffer/phy: fix DVI clocking

11 years agoframebuffer: prepare for DVI out
Sebastien Bourdeauducq [Tue, 17 Sep 2013 16:15:22 +0000 (18:15 +0200)]
framebuffer: prepare for DVI out

11 years agomixxeo: add DVI output pins
Sebastien Bourdeauducq [Tue, 17 Sep 2013 16:14:41 +0000 (18:14 +0200)]
mixxeo: add DVI output pins

11 years agoframebuffer/dvi: TMDS encoder test bench
Sebastien Bourdeauducq [Mon, 16 Sep 2013 22:25:07 +0000 (00:25 +0200)]
framebuffer/dvi: TMDS encoder test bench

11 years agoframebuffer/dvi: add TMDS encoder (untested)
Sebastien Bourdeauducq [Mon, 16 Sep 2013 21:51:37 +0000 (23:51 +0200)]
framebuffer/dvi: add TMDS encoder (untested)

11 years agoMerge branch 'master' of github.com:milkymist/mibuild
Sebastien Bourdeauducq [Mon, 16 Sep 2013 17:17:09 +0000 (19:17 +0200)]
Merge branch 'master' of github.com:milkymist/mibuild

11 years agomixxeo: use -2 speed grade
Sebastien Bourdeauducq [Mon, 16 Sep 2013 17:17:00 +0000 (19:17 +0200)]
mixxeo: use -2 speed grade

11 years agodvisampler: do more deserialization with the ISERDES
Sebastien Bourdeauducq [Sat, 14 Sep 2013 18:50:27 +0000 (20:50 +0200)]
dvisampler: do more deserialization with the ISERDES

11 years agomixxeo: swap pairs 0 and 1 on DVI1
Sebastien Bourdeauducq [Sat, 14 Sep 2013 17:36:02 +0000 (19:36 +0200)]
mixxeo: swap pairs 0 and 1 on DVI1

11 years agodvisampler: use hard differential phase detector
Sebastien Bourdeauducq [Sat, 14 Sep 2013 15:14:20 +0000 (17:14 +0200)]
dvisampler: use hard differential phase detector

11 years agodvisampler: disable EDID when HPD_EN is low
Sebastien Bourdeauducq [Fri, 13 Sep 2013 21:43:28 +0000 (23:43 +0200)]
dvisampler: disable EDID when HPD_EN is low

11 years agotop: DVI samplers and 2-channel FB on Mixxeo only
Sebastien Bourdeauducq [Fri, 13 Sep 2013 21:07:46 +0000 (23:07 +0200)]
top: DVI samplers and 2-channel FB on Mixxeo only

11 years agosoftware/videomixer: 1024x768 by default
Sebastien Bourdeauducq [Fri, 13 Sep 2013 16:32:23 +0000 (18:32 +0200)]
software/videomixer: 1024x768 by default

11 years agosoftware/videomixer: support test mode without pots
Sebastien Bourdeauducq [Fri, 13 Sep 2013 16:32:01 +0000 (18:32 +0200)]
software/videomixer: support test mode without pots

11 years agolasmicon/multiplexer: fix rdcmdphase/wrcmdphase inversion
Florent Kermarrec [Sun, 8 Sep 2013 10:48:35 +0000 (12:48 +0200)]
lasmicon/multiplexer: fix rdcmdphase/wrcmdphase inversion

11 years agodvisampler: reset PLL at startup
Sebastien Bourdeauducq [Sun, 8 Sep 2013 10:55:26 +0000 (12:55 +0200)]
dvisampler: reset PLL at startup

11 years agovideomixer: handle HPD
Sebastien Bourdeauducq [Sun, 8 Sep 2013 10:54:48 +0000 (12:54 +0200)]
videomixer: handle HPD

11 years agodvisampler: add HPD registers
Sebastien Bourdeauducq [Sat, 7 Sep 2013 20:40:03 +0000 (22:40 +0200)]
dvisampler: add HPD registers

11 years agoplatforms/mixxeo: add LED
Sebastien Bourdeauducq [Fri, 6 Sep 2013 21:10:01 +0000 (23:10 +0200)]
platforms/mixxeo: add LED

11 years agogenlib/fsm: add entering/ongoing/leaving methods
Sebastien Bourdeauducq [Fri, 6 Sep 2013 12:51:18 +0000 (14:51 +0200)]
genlib/fsm: add entering/ongoing/leaving methods

11 years agoactorlib/fifo: do not duplicate safe write logic
Sebastien Bourdeauducq [Wed, 4 Sep 2013 15:33:53 +0000 (17:33 +0200)]
actorlib/fifo: do not duplicate safe write logic

11 years agoactorlib/spi/DMAController: use EventSourceProcess
Sebastien Bourdeauducq [Wed, 4 Sep 2013 15:29:42 +0000 (17:29 +0200)]
actorlib/spi/DMAController: use EventSourceProcess

11 years agoactorlib/spi: add optional irq generation on DMAController
Florent Kermarrec [Tue, 3 Sep 2013 22:06:53 +0000 (00:06 +0200)]
actorlib/spi: add optional irq generation on DMAController

11 years agoactorlib/fifo: rewrite
Sebastien Bourdeauducq [Wed, 4 Sep 2013 15:22:50 +0000 (17:22 +0200)]
actorlib/fifo: rewrite

* use classes for less code duplication
* the idea of decorator is to avoid passing common parameters (e.g. clock domain names) in module constructors, so remove those parameters
* style

11 years agoexamples/basic/namer: cleanup
Sebastien Bourdeauducq [Wed, 4 Sep 2013 15:20:40 +0000 (17:20 +0200)]
examples/basic/namer: cleanup

11 years agoactorlib: add fifo
Florent Kermarrec [Tue, 3 Sep 2013 22:01:33 +0000 (00:01 +0200)]
actorlib: add fifo

11 years agolasmicon/multiplexer/steerer_sel: replace STEER_ with string
Sebastien Bourdeauducq [Mon, 26 Aug 2013 19:21:00 +0000 (21:21 +0200)]
lasmicon/multiplexer/steerer_sel: replace STEER_ with string

11 years agolasmicon: remove limitations on the number of phases
Florent Kermarrec [Mon, 26 Aug 2013 13:01:48 +0000 (15:01 +0200)]
lasmicon: remove limitations on the number of phases

11 years agotb/lasmicon: update simu
Florent Kermarrec [Mon, 26 Aug 2013 12:33:45 +0000 (14:33 +0200)]
tb/lasmicon: update simu

11 years agobus/wb2lasmi: use existing interface to determine WB width to be consistent with...
Sebastien Bourdeauducq [Mon, 26 Aug 2013 18:33:34 +0000 (20:33 +0200)]
bus/wb2lasmi: use existing interface to determine WB width to be consistent with other modules

11 years agowishbone/SRAM: fix non-32-bit bus
Sebastien Bourdeauducq [Mon, 26 Aug 2013 18:32:59 +0000 (20:32 +0200)]
wishbone/SRAM: fix non-32-bit bus

11 years agowishbone2lasmi: configurable data width
Florent Kermarrec [Mon, 26 Aug 2013 12:25:03 +0000 (14:25 +0200)]
wishbone2lasmi: configurable data width

11 years agowishbone : add DownConverter
Florent Kermarrec [Mon, 26 Aug 2013 12:22:54 +0000 (14:22 +0200)]
wishbone : add DownConverter

11 years agoaltera_quartus: fix import _Fragment
Florent Kermarrec [Mon, 26 Aug 2013 16:08:01 +0000 (18:08 +0200)]
altera_quartus: fix import _Fragment

11 years agos6ddrphy: drive ODT (if it exists)
Florent Kermarrec [Thu, 22 Aug 2013 20:55:36 +0000 (22:55 +0200)]
s6ddrphy: drive ODT (if it exists)

11 years agowishbone2lasmi : add support for 32 bits lasmim data width
Florent Kermarrec [Tue, 20 Aug 2013 14:53:55 +0000 (16:53 +0200)]
wishbone2lasmi : add support for 32 bits lasmim data width

11 years agogenlib/misc: improve genericity of split/displacer/chooser
Florent Kermarrec [Tue, 20 Aug 2013 14:52:48 +0000 (16:52 +0200)]
genlib/misc: improve genericity of split/displacer/chooser

11 years agoUpdate LM32 submodule
Sebastien Bourdeauducq [Wed, 14 Aug 2013 17:16:44 +0000 (19:16 +0200)]
Update LM32 submodule