Florent Kermarrec [Wed, 25 Mar 2015 09:59:31 +0000 (10:59 +0100)]
tools: add minimal flterm.py (basic flterm.c clone with kernel loading for now)
flterm.c is not portable, we need a portable alternative. Once flterm.py will support all flterm features, it will be possible to remove flterm.c.
Florent Kermarrec [Wed, 25 Mar 2015 15:39:30 +0000 (16:39 +0100)]
linker-sdram.ld: sdram mem region is now called main_ram
Florent Kermarrec [Sun, 22 Mar 2015 10:20:22 +0000 (11:20 +0100)]
platforms/minispartan6: add ftdi_fifo pins
Florent Kermarrec [Sun, 22 Mar 2015 10:08:47 +0000 (11:08 +0100)]
liteusb: give more generic names to modules: FtdiXXX becomes LiteUSBXXX, move PHY outside of core (builds on minispartan6)
Florent Kermarrec [Sun, 22 Mar 2015 09:56:56 +0000 (10:56 +0100)]
liteusb: make oe_n optional on ft2232h phy
Florent Kermarrec [Sun, 22 Mar 2015 09:56:29 +0000 (10:56 +0100)]
liteusb: fix imports
Florent Kermarrec [Sun, 22 Mar 2015 02:23:17 +0000 (03:23 +0100)]
platforms/minispartan6: fix IOStandard/Slew, add FpgaProg programmer, change default clock to 32MHz
Florent Kermarrec [Sun, 22 Mar 2015 02:29:11 +0000 (03:29 +0100)]
targets: add minispartan6 (SDRAM working)
Florent Kermarrec [Sun, 22 Mar 2015 02:20:02 +0000 (03:20 +0100)]
sdram/module: fix tREFI on AS4C16M16
Florent Kermarrec [Sun, 22 Mar 2015 07:32:38 +0000 (08:32 +0100)]
targets: pipistrello/ppro, fix stupid mistake 10ex --> 1ex...
Florent Kermarrec [Sat, 21 Mar 2015 23:30:21 +0000 (00:30 +0100)]
targets: fix CLKIN1_PERIOD on ppro and pipistrello
Florent Kermarrec [Sat, 21 Mar 2015 21:51:24 +0000 (22:51 +0100)]
sdram: pass sdram_controller_settings to SDRAMSoC
Florent Kermarrec [Sat, 21 Mar 2015 20:32:39 +0000 (21:32 +0100)]
sdram: simplify the way we pass settings to controller and rename ramcon_type to sdram_controller_type (more explicit)
Florent Kermarrec [Sat, 21 Mar 2015 20:00:12 +0000 (21:00 +0100)]
rename sdram mapping to main_ram
Florent Kermarrec [Sat, 21 Mar 2015 19:51:26 +0000 (20:51 +0100)]
misoclib/soc: add _integrated_ to cpu options to avoid confusion
Florent Kermarrec [Sat, 21 Mar 2015 18:26:10 +0000 (19:26 +0100)]
software/bios/memtest: add data bus test (0xAAAAAAAA, 0x55555555) on a small portion of the test zone.
we now need to add another random addressing test to avoid linear access on L2 cache
Florent Kermarrec [Sat, 21 Mar 2015 19:27:11 +0000 (20:27 +0100)]
mibuild/xilinx/programmer: add iMPACT programmer (for sb: I need it in Windows for now since I was not able to get XC3SPROG working)
Florent Kermarrec [Sat, 21 Mar 2015 17:59:16 +0000 (18:59 +0100)]
sdram/module: add tREFI uniformization to TODO
Florent Kermarrec [Sat, 21 Mar 2015 17:52:10 +0000 (18:52 +0100)]
sdram/module: add MT47H128M8 DDR2 (used for a customer)
Florent Kermarrec [Sat, 21 Mar 2015 17:41:59 +0000 (18:41 +0100)]
sdram/module: add speedgrate note for IS42S16160 and AS4C16M16
Florent Kermarrec [Sat, 21 Mar 2015 17:38:53 +0000 (18:38 +0100)]
sdram/module: add AS4C16M16 for minispartan6
Florent Kermarrec [Sat, 21 Mar 2015 17:31:50 +0000 (18:31 +0100)]
mibuild/platforms/minispartan6: adapt to recent changes (able to build simple example)
Florent Kermarrec [Sat, 21 Mar 2015 17:28:09 +0000 (18:28 +0100)]
mibuild/platforms/minispartan6: add device parameter (board can be populated with lx9 or lx25)
Florent Kermarrec [Sat, 21 Mar 2015 17:23:35 +0000 (18:23 +0100)]
mibuild/platforms: review and fix small mistakes
Florent Kermarrec [Sat, 21 Mar 2015 17:22:26 +0000 (18:22 +0100)]
mibuild/platforms: add minispartan6 (from Matt O'Gorman)
Florent Kermarrec [Sat, 21 Mar 2015 17:10:56 +0000 (18:10 +0100)]
targets/mlabs_video: rename sdram_module to sdram_modules to reflect that we have 2 modules sharing the same characteristics
Florent Kermarrec [Sat, 21 Mar 2015 17:07:10 +0000 (18:07 +0100)]
targets/kc705: rename sdram_module to sdram_modules to reflect that we have 8 modules sharing the same characteristics
Florent Kermarrec [Sat, 21 Mar 2015 16:44:04 +0000 (17:44 +0100)]
sdram/module: add description and TODO list
Florent Kermarrec [Sat, 21 Mar 2015 16:25:36 +0000 (17:25 +0100)]
sdram: define MT46V32M16/MT8JTF12864 and use it on pipistrello/kc705
Florent Kermarrec [Sat, 21 Mar 2015 16:04:58 +0000 (17:04 +0100)]
sdram: define MT46V32M16 and use it on m1/mixxeo
Florent Kermarrec [Sat, 21 Mar 2015 15:56:53 +0000 (16:56 +0100)]
sdram: create module.py to define SDRAM modules and use it on de0nano/ppro targets
Florent Kermarrec [Sat, 21 Mar 2015 11:55:39 +0000 (12:55 +0100)]
sdram: split sdram_timing in sdram_timing_settings/sdram_controller_settings
req_queue_size, read_time, write_time settings are not sdram_timing settings but sdram controller settings
Robert Jordens [Fri, 20 Mar 2015 21:10:41 +0000 (15:10 -0600)]
test_actor: add unittests for SimActor
* also implicitly tests for the access of signals during simulation that are
not referenced in any statements
* before, if the busy signal is never used, it is stripped
and could not be accessed in simulation
Robert Jordens [Fri, 20 Mar 2015 21:10:40 +0000 (15:10 -0600)]
sim: keep track of unreferenced items
* items that are never referenced in any statements do not end up in the
namespace or in the verilog
* this memorizes items if they can not be found in the namespace and keeps
track of their values
Florent Kermarrec [Fri, 20 Mar 2015 11:21:29 +0000 (12:21 +0100)]
litexxx cores: use default baudrate of 115200 for all tests
Robert Jordens [Thu, 19 Mar 2015 17:36:34 +0000 (11:36 -0600)]
pipistrello: add user reset
apparently needed for flashed bitstream, xiped bios, mor1kx
Robert Jordens [Thu, 19 Mar 2015 17:36:33 +0000 (11:36 -0600)]
pipistrello: fix flash, ddram pin naming
Robert Jordens [Thu, 19 Mar 2015 17:27:05 +0000 (11:27 -0600)]
pipistrello: switch is a button
Robert Jordens [Thu, 19 Mar 2015 17:48:43 +0000 (18:48 +0100)]
pipistrello: compress and load bitstream at 6MHz
Robert Jordens [Thu, 19 Mar 2015 17:47:54 +0000 (18:47 +0100)]
pipistrello: rename sdram->ddram
Florent Kermarrec [Thu, 19 Mar 2015 15:08:03 +0000 (16:08 +0100)]
sdram: raise NotImplementedError if Minicon is used others memories than SDR (not functional for now)
Florent Kermarrec [Thu, 19 Mar 2015 14:58:04 +0000 (15:58 +0100)]
targets/kc705: add external reset
Florent Kermarrec [Thu, 19 Mar 2015 13:50:53 +0000 (14:50 +0100)]
liteeth/mac/core: add with_padding option (enabled by default) and change with_hw_preamble_crc option to with_preamble_crc
Florent Kermarrec [Thu, 19 Mar 2015 12:03:27 +0000 (13:03 +0100)]
liteeth/mac/core: fix hw_preamble_crc register generation
Sebastien Bourdeauducq [Wed, 18 Mar 2015 23:24:30 +0000 (00:24 +0100)]
fhdl/verilog: fix dummy signal initial event
Florent Kermarrec [Wed, 18 Mar 2015 17:54:22 +0000 (18:54 +0100)]
mibuild/lattice/diamond: add verilog include path (thanks Lattice's FAE since it's not documented)
Florent Kermarrec [Wed, 18 Mar 2015 17:18:43 +0000 (18:18 +0100)]
liteeth: use bios ip_address in example designs
Florent Kermarrec [Wed, 18 Mar 2015 14:16:11 +0000 (15:16 +0100)]
fhdl/specials/memory: use $readmemh to initialize memories
Florent Kermarrec [Wed, 18 Mar 2015 14:04:58 +0000 (15:04 +0100)]
fhdl/verilog: change the way we initialize reg: reg name = init_value;
This allows simplifications (init in _printsync and _printinit no longer needed)
Florent Kermarrec [Wed, 18 Mar 2015 13:58:40 +0000 (14:58 +0100)]
fhdl/verilog: revert "fhdl/verilog: add simulation parameter to avoid simulation tricks in synthetizable code"
This probably breaks simulation with Icarus Verilog (and others simulators?)
Florent Kermarrec [Wed, 18 Mar 2015 13:41:43 +0000 (14:41 +0100)]
migen/genlib/io: use 0 instead of Signal() for default rst value (immutable thanks sb)
Sebastien Bourdeauducq [Wed, 18 Mar 2015 11:08:25 +0000 (12:08 +0100)]
Revert "fhdl/verilog: do not use initial begin in _printinit (not accepted by all synthesis tools ex: Synplify Pro does not accept it)"
This breaks simulations, and we will try to use the "reg name = value" syntax instead.
This reverts commit
e946f6e4538277308e374cd1f0b1b9a31f66dc5a.
Florent Kermarrec [Tue, 17 Mar 2015 18:08:31 +0000 (19:08 +0100)]
targets: add Lattice ECP3 versa
Florent Kermarrec [Tue, 17 Mar 2015 15:22:22 +0000 (16:22 +0100)]
genlib/io: add optional external rst to CRG
Florent Kermarrec [Tue, 17 Mar 2015 15:04:07 +0000 (16:04 +0100)]
litescope/drivers: do not build regs when addrmap is None
Florent Kermarrec [Tue, 17 Mar 2015 15:01:12 +0000 (16:01 +0100)]
LiteXXX cores: fix frequency print in test/test_regs.py
Florent Kermarrec [Tue, 17 Mar 2015 14:58:21 +0000 (15:58 +0100)]
LiteXXX cores: convert port parameter to int if is digit in test/make.py
Florent Kermarrec [Tue, 17 Mar 2015 14:25:10 +0000 (15:25 +0100)]
mibuild/platform/versa: fix clock_constraints
Florent Kermarrec [Tue, 17 Mar 2015 13:59:36 +0000 (14:59 +0100)]
mibuild/lattice: use ODDRXD1 and new synthesis directive
Florent Kermarrec [Tue, 17 Mar 2015 13:59:05 +0000 (14:59 +0100)]
fhdl/special: add optional synthesis directive (needed by Synplify Pro)
Florent Kermarrec [Tue, 17 Mar 2015 11:42:36 +0000 (12:42 +0100)]
mibuild/lattice: add LatticeAsyncResetSynchronizer
Florent Kermarrec [Tue, 17 Mar 2015 11:24:06 +0000 (12:24 +0100)]
liteeth/phy/gmii : set tx_er to 0 only if it exits
Florent Kermarrec [Tue, 17 Mar 2015 11:12:21 +0000 (12:12 +0100)]
liteeth: use default programmer in make.py
Florent Kermarrec [Tue, 17 Mar 2015 11:11:51 +0000 (12:11 +0100)]
liteeth: use CRG from Migen in base example
Florent Kermarrec [Tue, 17 Mar 2015 11:04:00 +0000 (12:04 +0100)]
mibuild/platforms/versa: add ethernet clock constraints
Florent Kermarrec [Tue, 17 Mar 2015 10:52:54 +0000 (11:52 +0100)]
litescope: use CRG from Migen
Florent Kermarrec [Tue, 17 Mar 2015 10:51:34 +0000 (11:51 +0100)]
mibuild/platforms/versa: add rst_n
Florent Kermarrec [Tue, 17 Mar 2015 08:40:25 +0000 (09:40 +0100)]
mibuild/lattice: fix LatticeDDROutput
Florent Kermarrec [Tue, 17 Mar 2015 00:07:44 +0000 (01:07 +0100)]
targets/simple: manual instantiation of CRG (automatic insertion works for BaseSoC but not for MiniSoC since this one define clock_domains)
Florent Kermarrec [Mon, 16 Mar 2015 23:25:19 +0000 (00:25 +0100)]
fhdl/verilog: add simulation parameter to avoid simulation tricks in synthetizable code
it's generally better to have identical code between simulations and synthesis, but here tricks inserted for simulation are clearly expected to be simplified by synthesis tools, so it's better not inserting them.
Florent Kermarrec [Mon, 16 Mar 2015 22:39:32 +0000 (23:39 +0100)]
fhdl/verilog: do not use initial begin in _printinit (not accepted by all synthesis tools ex: Synplify Pro does not accept it)
Florent Kermarrec [Mon, 16 Mar 2015 22:04:37 +0000 (23:04 +0100)]
liteeth: make gmii phy generic
Florent Kermarrec [Mon, 16 Mar 2015 21:57:18 +0000 (22:57 +0100)]
mibuild/xilinx/common: add LatticeDDROutput
Florent Kermarrec [Mon, 16 Mar 2015 21:53:05 +0000 (22:53 +0100)]
mibuild/xilinx/common: add XilinxDDROutput
Florent Kermarrec [Mon, 16 Mar 2015 21:47:13 +0000 (22:47 +0100)]
migen/genlib/io: add DDRInput and DDROutput
Florent Kermarrec [Mon, 16 Mar 2015 21:23:20 +0000 (22:23 +0100)]
mibuild/platforms: add ethernet to versa
Florent Kermarrec [Mon, 16 Mar 2015 21:11:15 +0000 (22:11 +0100)]
mibuild/platforms: add user_dip_btn to versa
Florent Kermarrec [Mon, 16 Mar 2015 20:13:54 +0000 (21:13 +0100)]
mibuild/lattice: use new Toolchain/Platform architecture
Florent Kermarrec [Mon, 16 Mar 2015 19:44:29 +0000 (20:44 +0100)]
mibuild/altera: use new Toolchain/Platform architecture
Florent Kermarrec [Mon, 16 Mar 2015 11:01:27 +0000 (12:01 +0100)]
mibuild: add initial Lattice Diamond support (with ECP3 Versa board platform skeleton)
Sebastien Bourdeauducq [Sat, 14 Mar 2015 21:48:03 +0000 (22:48 +0100)]
move pytholite to separate repos
Sebastien Bourdeauducq [Sat, 14 Mar 2015 16:45:11 +0000 (17:45 +0100)]
fhdl/visit: fix TransformModule
Sebastien Bourdeauducq [Sat, 14 Mar 2015 09:45:11 +0000 (10:45 +0100)]
mibuild/xilinx: export special_overrides dictionary
Florent Kermarrec [Sat, 14 Mar 2015 00:08:36 +0000 (01:08 +0100)]
litesata: avoid hack on kc705 platform with new mibuild toolchain management
Florent Kermarrec [Fri, 13 Mar 2015 23:46:52 +0000 (00:46 +0100)]
soc: rename with_sdram option to with_main_ram (with_sdram was confusing)
Sebastien Bourdeauducq [Fri, 13 Mar 2015 23:27:24 +0000 (00:27 +0100)]
mibuild/xilinx: remove obsolete CRG_DS
Sebastien Bourdeauducq [Fri, 13 Mar 2015 23:11:59 +0000 (00:11 +0100)]
targets/simple: use mibuild default clock
Sebastien Bourdeauducq [Fri, 13 Mar 2015 23:10:08 +0000 (00:10 +0100)]
mibuild: sanitize default clock management
Sebastien Bourdeauducq [Fri, 13 Mar 2015 22:17:45 +0000 (23:17 +0100)]
mibuild: get rid of Platform factory function, cleanup
Sebastien Bourdeauducq [Fri, 13 Mar 2015 22:19:08 +0000 (23:19 +0100)]
soc/sdram: sync with new mibuild toolchain management
Florent Kermarrec [Thu, 12 Mar 2015 20:54:10 +0000 (21:54 +0100)]
liteeth/phy: typo (thanks sb)
Florent Kermarrec [Thu, 12 Mar 2015 18:30:57 +0000 (19:30 +0100)]
migen/genlib/io: add DifferentialOutput and Xilinx implementation
Florent Kermarrec [Thu, 12 Mar 2015 17:49:49 +0000 (18:49 +0100)]
genlib/io.py: fix copy/paste error (thanks rjo)
Florent Kermarrec [Thu, 12 Mar 2015 17:32:49 +0000 (18:32 +0100)]
migen/genlib: add io.py to define generic I/O specials to be lowered by mibuild
Florent Kermarrec [Thu, 12 Mar 2015 17:36:04 +0000 (18:36 +0100)]
targets/simple: use new generic DifferentialInput
Florent Kermarrec [Thu, 12 Mar 2015 16:25:01 +0000 (17:25 +0100)]
targets/simple: insert IBUFDS for Xilinx devices (not implemented for others vendors)
Florent Kermarrec [Thu, 12 Mar 2015 16:12:35 +0000 (17:12 +0100)]
soc/sdram: add workaround for Vivado issue with our L2 cache, reported to Xilinx in november 2014, remove it when fixed by Xilinx
Florent Kermarrec [Thu, 12 Mar 2015 15:57:38 +0000 (16:57 +0100)]
uart/liteeth: only import the phy we are going to use (UARTPHYSim cannot be imported on Windows since based on pty).
Florent Kermarrec [Tue, 10 Mar 2015 15:41:52 +0000 (16:41 +0100)]
mibuild/sim: clean up (thanks sb)
Sebastien Bourdeauducq [Tue, 10 Mar 2015 10:06:55 +0000 (11:06 +0100)]
mibuild/sim/dut_tb: fix permissions