Commit Graph

4103 Commits

Author SHA1 Message Date
David Shah 321dd8fcf6 versa_ecp5: Remove negative diff IO pins
In Lattice FPGAs only the positive side of differential pairs should
be specified (unlike Xilinx)

These are a warning on Diamond (which trims unused IO) and an error
with Yosys/nextpnr (which doesn't so they conflict when the positive
pin is 'expanded').

Already this is the case for the clock input, this commit performs
the same change for the DDR3 pins.
2019-02-22 12:12:10 +00:00
Florent Kermarrec c03b1ad13a platforms/versa_ecp5: add ddram pins 2019-02-20 22:45:19 +01:00
Florent Kermarrec ff155a474d soc/tools/remote/comm_uart: be sure to flush in waiting bytes before read and write 2019-02-16 00:08:24 +01:00
Florent Kermarrec d3ecdd9995 soc/cores/clock: add actual clk_freqs to config 2019-02-14 10:41:27 +01:00
Florent Kermarrec af52842fbb soc_sdram: add use_full_memory_we parameter to allow disabling vivado workaround on small l2 caches 2019-02-12 12:12:40 +01:00
Florent Kermarrec 32543430c0 build/lattice/common/LatticeECXTrellisImpl: add support for nbits == 1 2019-02-11 19:41:12 +01:00
Florent Kermarrec aabf042d38 soc_sdram: don't generate sdram initialization error message when integrated_main_ram is used 2019-02-11 09:23:39 +01:00
Florent Kermarrec f51ad43607 build/lattice/common: add LatticeiCE40DDROutput 2019-02-07 16:23:55 +01:00
Florent Kermarrec 22ccf9ddf1 platforms/nexys_video: add LPC transceivers pins 2019-02-01 23:39:17 +01:00
Florent Kermarrec 1d9c55888f build/sim: add jtagremote module (thanks LamdaConcept) 2019-01-30 14:01:19 +01:00
Florent Kermarrec 57b8bdd530 soc/integration/soc_core: allow disabling wishbone timeout 2019-01-29 12:47:11 +01:00
Florent Kermarrec 05dcb5cadc soc/interconnect/wishbone: increase bus error timeout to 1e6 cycles 2019-01-27 08:28:01 +01:00
Florent Kermarrec 02708d3b0f boards/platform/kc705: add sfp pins (both tx and rx) 2019-01-23 08:40:47 +01:00
Florent Kermarrec 8344a6a4ef soc/cores/clock: add USIDELAYCTRL 2019-01-22 12:50:05 +01:00
Florent Kermarrec 7e0dd37616 soc/integration/soc_sdram: round port.data_width/l2_size to nearest power of 2 when it's not the case
With ECC configurations, native port data_width is not necessarily a power of 2.
2019-01-22 09:08:35 +01:00
Florent Kermarrec 871b958f85 boards/targets: improve presentation 2019-01-21 10:40:41 +01:00
Florent Kermarrec a318343afb boards/platforms/kcu105: add si570_refclk 2019-01-21 10:40:37 +01:00
Florent Kermarrec 48312890e5 boards/platforms/kc705: use vivado as default programmer 2019-01-21 10:40:32 +01:00
Florent Kermarrec 1b23890e0d soc/cores/clock: allow ClockSignal to be used for clkin 2019-01-16 22:05:52 +01:00
Florent Kermarrec 387ee04130 build/sim/core: fix coverage 2019-01-11 15:01:58 +01:00
Florent Kermarrec 482abf9b43 build/sim/core: set -Wno-BLKANDNBLK (prevent blocking/non-blocking assigns on a same structure in system verilog) 2019-01-11 13:51:15 +01:00
Florent Kermarrec 9c5f654773 build/sim/core: set unroll-count to 256 to prevent Error-BLKLOOPINIT 2019-01-11 13:39:09 +01:00
Florent Kermarrec f132012de1 build/sim: disable Warning-WIDTH 2019-01-10 16:03:09 +01:00
Florent Kermarrec 7c67bac723 soc/cores/cpu/vexriscv: set default variant to None in add_sources 2019-01-09 10:28:24 +01:00
Florent Kermarrec 648015d78e soc/cores/cpu/vexriscv: move verilog variant selection to add_sources 2019-01-09 09:19:40 +01:00
Florent Kermarrec 2b5a6f1058 targets/kcu105: use USMMCM 2019-01-08 14:14:28 +01:00
Florent Kermarrec 86e19e6232 targets: pass speedgrade to S7PLL/S7MMCM 2019-01-08 13:50:12 +01:00
Florent Kermarrec 2581a00380 soc/cores/clock: add Xilinx Ultrascale PLL/MMCM 2019-01-08 13:21:53 +01:00
Florent Kermarrec 68e1dfca28 boards: avoid duplicating platforms that can be found in migen/litex-buildenv
The platforms that are kept are the ones used for litex development.
2019-01-06 19:01:19 +01:00
Florent Kermarrec 041bf41226 soc/integration/cpu_interface: generate name for Memories in get_csr_header 2019-01-05 10:57:37 +01:00
Florent Kermarrec 9f5d0cef6b utils/litex_server: allow specify uart_baudrate as float 2019-01-03 10:38:14 +01:00
Florent Kermarrec 2c43f6f7dc targets/ulx3s: use pll for phase shift, enable refresh, memtest ok 2018-12-28 15:58:28 +01:00
Florent Kermarrec 5ef4d09caa targets/versa_ecp5: use pll for phase shift, enable refresh, memtest ok 2018-12-28 15:39:20 +01:00
Florent Kermarrec 9c801fbe50 soc/cores/clock/ECP5PLL: add basic phase support 2018-12-28 15:03:12 +01:00
Florent Kermarrec a7b5b9d212 litex_sim: simplify, change sdram module and enable sdram refresh. 2018-12-27 20:36:50 +01:00
Florent Kermarrec a7378a721c .gitmodules: use our copy of tapcfg since https://github.com/nizox/tapcfg no longer exists. 2018-12-23 19:47:48 +01:00
Florent Kermarrec 2deffd8c8a build/sim/verilator: compile sim just before running and not when building. 2018-12-21 09:59:34 +01:00
Tim Ansell 291843ee76
Merge pull request #144 from mithro/nextpnr-migen-update
Integrate latest migen changes for lattice/icestorm.
2018-12-20 11:35:42 -08:00
Tim 'mithro' Ansell 53731b792b Integrate latest migen changes for lattice/icestorm.
Integrated up to 37db6bb52532b6d1c6bc8b724c2e8c6a38546c2a.
2018-12-20 11:33:19 -08:00
Florent Kermarrec 180912a7a3 build/sim: handle verilog $finish and if coverage is enabled, write report at the end of the simulation. 2018-12-20 10:38:40 +01:00
Florent Kermarrec b6c98cab0d platforms/kcu105: change internal vref to 0.84v (recommended value for ddr4) 2018-12-19 11:33:32 +01:00
Florent Kermarrec ebe0d567f8 bios/sdram: only show read delays when they are valid. 2018-12-19 11:19:47 +01:00
Florent Kermarrec 67a2590235 bios/sdram: reduce write leveling scan range 2018-12-19 11:18:19 +01:00
Florent Kermarrec fe5cef4294 soc/cores/clock: remove return on S7PLL.create_clkout 2018-12-19 09:14:26 +01:00
Florent Kermarrec eda1a83ea9 platforms/kcu105: set internal vref on ddr4 banks 2018-12-18 21:38:23 +01:00
Florent Kermarrec a27b5a3be1 update Ultrascale DDRPHY 2018-12-18 11:25:21 +01:00
Tim Ansell 1c1c1bd122
Merge pull request #141 from mithro/xst-fix
Fix `-vlgincdir` for xst.
2018-12-17 21:24:15 -08:00
Tim 'mithro' Ansell 8b2abc7e89 Fix `-vlgincdir` for xst.
The command line is of the form;
```
-vlgincdir {"path1" "path2"}
```

Fixes the following error;
```
WARNING:Xst:3164 - Option "-vlgincdir" found multiple times in the command line. Only the first occurence is considered.
```
2018-12-17 21:11:14 -08:00
Florent Kermarrec f8f3683aaa bios/sdram: reduce scans verbosity on ultrascale 2018-12-17 16:00:44 +01:00
Florent Kermarrec efce434aa9 bios/sdram: use ddrphy_half_sys8x_taps_read() for KUSDDRPHY 2018-12-17 11:43:21 +01:00