Florent Kermarrec [Mon, 9 Mar 2015 23:42:54 +0000 (00:42 +0100)]
mibuild/sim: get serial dev from /tmp/simserial
Florent Kermarrec [Mon, 9 Mar 2015 22:31:11 +0000 (23:31 +0100)]
mibuild/sim: add support for pty
Florent Kermarrec [Mon, 9 Mar 2015 22:29:06 +0000 (23:29 +0100)]
uart/sim: add pty (optional, to use flterm)
Florent Kermarrec [Mon, 9 Mar 2015 19:59:34 +0000 (20:59 +0100)]
liteeth/mac: fix padding limit (+1), netboot OK with sim platform
Florent Kermarrec [Mon, 9 Mar 2015 19:57:20 +0000 (20:57 +0100)]
mibuild/sim: remove hack, the issue was in gateware (padding)
Florent Kermarrec [Mon, 9 Mar 2015 19:22:14 +0000 (20:22 +0100)]
liteeth/mac: use Counter in sram and move some logic outside of fsms
Florent Kermarrec [Mon, 9 Mar 2015 19:20:25 +0000 (20:20 +0100)]
genlib/misc: add increment parameter to Counter
Florent Kermarrec [Mon, 9 Mar 2015 18:45:02 +0000 (19:45 +0100)]
fhdl/module: use r.append() in _collect_submodules
Florent Kermarrec [Mon, 9 Mar 2015 16:21:29 +0000 (17:21 +0100)]
liteeth/phy/sim: create ethernet tap in __init__ and destroy it in do_exit
Florent Kermarrec [Mon, 9 Mar 2015 16:18:42 +0000 (17:18 +0100)]
soc: do_exit is now provided by modules
Florent Kermarrec [Mon, 9 Mar 2015 16:17:21 +0000 (17:17 +0100)]
fhdl/module: avoid flushing self._submodules and create do_exit.
Florent Kermarrec [Mon, 9 Mar 2015 13:37:04 +0000 (14:37 +0100)]
mibuild/sim: clean up and move eth struct to sim
Florent Kermarrec [Mon, 9 Mar 2015 13:03:26 +0000 (14:03 +0100)]
mibuild/sim: regroup console_tb/ethernet_tb in dut_tb
Florent Kermarrec [Mon, 9 Mar 2015 12:17:21 +0000 (13:17 +0100)]
mibuild/sim: remove server and interact with tap directly in cpp tb. for now: - need to create tap manually: create tap: openvpn --mktun --dev tap0 ifconfig tap0 192.168.0.14 up mknod /dev/net/tap0 c 10 200 delete tap: openvpn --rmtun --dev tap0 - ARP request/reply OK - TFTP request OK - need to be tested with TFTP server. - need clean up
Robert Jordens [Fri, 6 Mar 2015 21:56:27 +0000 (14:56 -0700)]
vivado: permit resources without pins
This is required if the LOC is done by another, external constraints set,
as in the case of the Zynq Processing System Instance.
Florent Kermarrec [Mon, 9 Mar 2015 11:45:46 +0000 (12:45 +0100)]
liteeth: fix cnt_inc in IDLE state (we should wait sop to inc counter)
Florent Kermarrec [Mon, 9 Mar 2015 11:48:45 +0000 (12:48 +0100)]
liteeth: do not insert CRC/Preamble in simulation to allow direct connection to ethernet tap
Florent Kermarrec [Fri, 6 Mar 2015 19:16:30 +0000 (20:16 +0100)]
mibuild/sim: able to visualize arp requests with wireshark
now need to find why that is not responding...
Florent Kermarrec [Fri, 6 Mar 2015 11:49:56 +0000 (12:49 +0100)]
mibuild/sim: able to send ethernet frame from sim to server.py
Florent Kermarrec [Fri, 6 Mar 2015 11:20:17 +0000 (12:20 +0100)]
mibuild/sim: add ethernet pins to verilor.py
Florent Kermarrec [Fri, 6 Mar 2015 11:08:10 +0000 (12:08 +0100)]
uart: pass *args, **kwargs to sim phy
Florent Kermarrec [Fri, 6 Mar 2015 09:20:26 +0000 (10:20 +0100)]
platforms/sim: add ethernet pins
Florent Kermarrec [Fri, 6 Mar 2015 09:19:29 +0000 (10:19 +0100)]
uart: add phy autodetect function
Florent Kermarrec [Fri, 6 Mar 2015 09:10:58 +0000 (10:10 +0100)]
targets/simple: add MiniSoC
Florent Kermarrec [Fri, 6 Mar 2015 09:10:34 +0000 (10:10 +0100)]
liteeth: add phy autodetect function (phy can still be instanciated directly)
Florent Kermarrec [Fri, 6 Mar 2015 07:21:16 +0000 (08:21 +0100)]
soc: enforce cpu_reset_address to 0 when with_rom is True
Florent Kermarrec [Fri, 6 Mar 2015 06:51:44 +0000 (07:51 +0100)]
targets: do not implement sdram if already provided by SoC (allow use of -Ot with_sdram = True)
Sebastien Bourdeauducq [Thu, 5 Mar 2015 23:47:23 +0000 (00:47 +0100)]
genlib/cordic: fix typos
Florent Kermarrec [Wed, 4 Mar 2015 22:49:15 +0000 (23:49 +0100)]
genlib/misc: fix missing *args in Counter
Florent Kermarrec [Wed, 4 Mar 2015 22:13:14 +0000 (23:13 +0100)]
LiteXXX cores: fix test_reg.py
Sebastien Bourdeauducq [Wed, 4 Mar 2015 00:46:41 +0000 (00:46 +0000)]
Merge branch 'master' of https://github.com/m-labs/misoc
Sebastien Bourdeauducq [Wed, 4 Mar 2015 00:46:24 +0000 (00:46 +0000)]
litesata: fix permissions and imports
Florent Kermarrec [Tue, 3 Mar 2015 23:57:37 +0000 (00:57 +0100)]
uart: generate ack for rx (serialboot OK with sim)
Florent Kermarrec [Tue, 3 Mar 2015 23:55:35 +0000 (00:55 +0100)]
mibuild/sim/server_tb: use SERIAL_SINK_ACK
Florent Kermarrec [Tue, 3 Mar 2015 21:52:28 +0000 (22:52 +0100)]
mibuild/sim: use /tmp/simsocket sockaddr for server
Florent Kermarrec [Tue, 3 Mar 2015 17:01:14 +0000 (18:01 +0100)]
mibuild/sim: avoid updating end at each cycle (simulation speedup)
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.
Florent Kermarrec [Tue, 3 Mar 2015 09:44:05 +0000 (10:44 +0100)]
com/spi: use .format in tb
Florent Kermarrec [Tue, 3 Mar 2015 09:39:31 +0000 (10:39 +0100)]
targets: keep the SPI flash core even if with_rom is enabled, so that flash booting in the BIOS still works
Florent Kermarrec [Tue, 3 Mar 2015 09:29:28 +0000 (10:29 +0100)]
LiteXXX cores: use format in prints
Florent Kermarrec [Tue, 3 Mar 2015 09:24:05 +0000 (10:24 +0100)]
litesata: remove unneeded clock constraint
Florent Kermarrec [Tue, 3 Mar 2015 09:15:11 +0000 (10:15 +0100)]
soc: remove is_sim function
Florent Kermarrec [Tue, 3 Mar 2015 08:49:57 +0000 (09:49 +0100)]
sdram: move lasmibus to core, rename crossbar to lasmixbar and move it to core, move dfi to phy
Florent Kermarrec [Tue, 3 Mar 2015 08:14:30 +0000 (09:14 +0100)]
sdram: pass phy_settings to LASMIcon, MiniCON and init_sequence
Florent Kermarrec [Tue, 3 Mar 2015 08:09:14 +0000 (09:09 +0100)]
sdram: revert use of scalar values for DFIInjector
Florent Kermarrec [Tue, 3 Mar 2015 08:02:53 +0000 (09:02 +0100)]
lasmicon: better management of optional bandwidth module (automatically inserted by -Ot with_memtest True)
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
Sebastien Bourdeauducq [Tue, 3 Mar 2015 01:02:50 +0000 (01:02 +0000)]
litesata/kc705: use FMC pin names
Sebastien Bourdeauducq [Tue, 3 Mar 2015 00:54:30 +0000 (00:54 +0000)]
spiflash: style
Sebastien Bourdeauducq [Tue, 3 Mar 2015 00:17:34 +0000 (00:17 +0000)]
README: 80 columns
Sebastien Bourdeauducq [Mon, 2 Mar 2015 23:54:00 +0000 (23:54 +0000)]
make.py: use ternary getattr
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 18:53:16 +0000 (19:53 +0100)]
sdram: disable by default bandwidth_measurement on lasmicon
Florent Kermarrec [Mon, 2 Mar 2015 18:18:46 +0000 (19:18 +0100)]
README: add Pipistrello
Florent Kermarrec [Mon, 2 Mar 2015 17:39:03 +0000 (18:39 +0100)]
update README
Florent Kermarrec [Mon, 2 Mar 2015 17:38:43 +0000 (18:38 +0100)]
targets: fix mlabs_video FramebufferSoC
Florent Kermarrec [Mon, 2 Mar 2015 11:25:59 +0000 (12:25 +0100)]
cpuif: add CSR_ prefix to CSR base addresses (avoid conflicts between CSR and mems bases)
Florent Kermarrec [Mon, 2 Mar 2015 11:05:50 +0000 (12:05 +0100)]
sdram: only keep frontend logic and sdram core declaration in soc/sdram.py, move other logic to sdram/core
Florent Kermarrec [Mon, 2 Mar 2015 10:55:28 +0000 (11:55 +0100)]
soc/sdram: be more generic in naming
Florent Kermarrec [Mon, 2 Mar 2015 10:35:53 +0000 (11:35 +0100)]
sdram: create core dir and move lasmicon/minicon in it
Florent Kermarrec [Mon, 2 Mar 2015 10:21:13 +0000 (11:21 +0100)]
sdram: rename self.phy_settings to self.settings (using phy.settings instead of phy.phy_settings seems cleaner)
Florent Kermarrec [Mon, 2 Mar 2015 09:59:43 +0000 (10:59 +0100)]
sdram: reintroduce dat_ack change (it was a small issue on wishbone writes (sending data 1 clock cycle too late) that was not detected by memtest)
Florent Kermarrec [Mon, 2 Mar 2015 09:51:53 +0000 (10:51 +0100)]
sdram: improve memtest by adding 2 different writes/reads
doing only a write and read is not enough: if we reloaded a fpga with write that is not working after functional fpga, it would not trigger an error.
Florent Kermarrec [Mon, 2 Mar 2015 09:28:53 +0000 (10:28 +0100)]
sdram: for now revert dat_ack change (it seems there is an small issue, will have a closer look)
Florent Kermarrec [Mon, 2 Mar 2015 08:18:32 +0000 (09:18 +0100)]
sdram/lasmicon: create a separate file for the crossbar and remove it from lasmibus
Florent Kermarrec [Mon, 2 Mar 2015 08:08:28 +0000 (09:08 +0100)]
sdram: move dfii to phy
Florent Kermarrec [Mon, 2 Mar 2015 08:05:18 +0000 (09:05 +0100)]
sdram: fix remaining data_valid in dma_lasmi
Florent Kermarrec [Mon, 2 Mar 2015 07:42:55 +0000 (08:42 +0100)]
sdram: create test dir and move lasmicon/minicon tests to it
Florent Kermarrec [Mon, 2 Mar 2015 07:24:51 +0000 (08:24 +0100)]
sdram: create frontend dir and move dma_lasmi/memtest/wishbone2lasmi to it
Florent Kermarrec [Mon, 2 Mar 2015 07:23:02 +0000 (08:23 +0100)]
move dma_lasmi to MiSoC
Florent Kermarrec [Sun, 1 Mar 2015 20:22:12 +0000 (21:22 +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 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 17:25:47 +0000 (18:25 +0100)]
soc: add initial verilator sim support: ./make.py -t simple -p sim build-bitstream :)
Florent Kermarrec [Sun, 1 Mar 2015 16:06:24 +0000 (17:06 +0100)]
flash/spi: make bitbang optional (enabled by default)
Florent Kermarrec [Sun, 1 Mar 2015 15:56:48 +0000 (16:56 +0100)]
uart: use data instead of d on endpoint's layouts (coherency with others cores)
Florent Kermarrec [Sun, 1 Mar 2015 15:52:50 +0000 (16:52 +0100)]
uart: add sim phy
Florent Kermarrec [Sun, 1 Mar 2015 15:45:50 +0000 (16:45 +0100)]
liteXXX cores: use new uart and import FlipFlop/Counter/Timeout from Migen
Florent Kermarrec [Sun, 1 Mar 2015 15:33:46 +0000 (16:33 +0100)]
genlib/misc: add FlipFlop, Counter, Timeout
Florent Kermarrec [Sun, 1 Mar 2015 10:58:46 +0000 (11:58 +0100)]
uart: create phy directory and move phy logic to serial.py (will enable selecting uart phy, for example virtual uart with LiteEth or sim model for Verilator)
Florent Kermarrec [Sun, 1 Mar 2015 10:33:38 +0000 (11:33 +0100)]
litesata: create example design derived from SoC
Florent Kermarrec [Sun, 1 Mar 2015 10:24:58 +0000 (11:24 +0100)]
liteXXX cores: remove Identifier duplication
Florent Kermarrec [Sun, 1 Mar 2015 10:07:28 +0000 (11:07 +0100)]
liteXXX cores: share same methodology for on-board tests
Florent Kermarrec [Sun, 1 Mar 2015 10:03:15 +0000 (11:03 +0100)]
litesata: create specialized kc705 platform to avoid duplicating things already in mibuild
Florent Kermarrec [Sun, 1 Mar 2015 08:53:51 +0000 (09:53 +0100)]
litescope: avoid uart code duplication
Florent Kermarrec [Sun, 1 Mar 2015 09:01:23 +0000 (10:01 +0100)]
video: reintegrate dvisampler from mixxeo (DVI/HDMI interfaces are common in today's SoCs)
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 23:01:11 +0000 (16:01 -0700)]
pipistrello: fix lpddr parameters, crg, flash, style
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:50:00 +0000 (23:50 +0100)]
soc: fix register_rom
Florent Kermarrec [Sat, 28 Feb 2015 22:34:57 +0000 (23:34 +0100)]
kx705: add programmer parameter
Florent Kermarrec [Sat, 28 Feb 2015 22:08:50 +0000 (23:08 +0100)]
liteeth: create example design derived from SoC that can be used on all targets with Ethernet pins
Florent Kermarrec [Sat, 28 Feb 2015 21:23:48 +0000 (22:23 +0100)]
liteXXX cores: remove setup.py and relative paths (we will install misolib of use PYTHON_PATH)
Florent Kermarrec [Sat, 28 Feb 2015 21:14:02 +0000 (22:14 +0100)]
litescope: create example design derived from SoC that can be used on all targets
Florent Kermarrec [Sat, 28 Feb 2015 20:45:05 +0000 (21:45 +0100)]
liteXXX cores: remove redefinition of get_csr_csv