Shawn Hoffman
fc75e57d9a
lattice: use pnmainc on windows
2021-03-27 04:36:02 -07:00
Florent Kermarrec
f7f277548e
Compat: Add litex.compat to handle retro-compatibility on API changes and move integration/soc_sdram to it.
...
Compat Notice is not yet enabled for soc_sdram since targets first need to be updated.
2021-03-24 17:21:13 +01:00
Jędrzej Boczar
bea82efc5d
gtkwave: fix error when prefix is empty, make treeopen optional
2021-03-23 10:08:06 +01:00
Florent Kermarrec
da1277021a
build/generic_platform: Minor cosmetic cleanups.
2021-03-10 19:21:02 +01:00
Florent Kermarrec
9d08c65e8a
build/generic_platform: Make sure default_clk_period constraint is only applied when default_clk_period exists.
...
In simulation, default_clk_period is not necessarily required.
2021-03-10 12:25:35 +01:00
Florent Kermarrec
e48b269d77
build/generic_platform: Fix use_default_clk set when not user provided sys_clk.
...
Prevented the default timing constraint to be generated in the timing constraint file.
2021-03-10 10:47:22 +01:00
gatecat
c64e2d3a85
build/radiant: Skip location constraint for X pins
...
Signed-off-by: gatecat <gatecat@ds0.me>
2021-03-08 14:27:32 +00:00
Florent Kermarrec
a1e54671be
sim/serial2console: Remove \r workaround since no longer required and generating double carrier return in simulation.
2021-03-06 17:36:21 +01:00
Florent Kermarrec
d3407c67b1
build/sim/core: Cast main_time to vluint64_t to avoid ambiguity error of the dump function to be used.
2021-03-03 09:25:54 +01:00
Vamsi Vytla
385dec8560
Merge remote-tracking branch 'upstream/master'
2021-02-15 09:29:47 -08:00
Vamsi Vytla
1fde282291
build/xilinx/vivado.py: Allow a tcl script to be added as ip. These tcl scripts tend to generate .xci's on the fly. The tcl script can be looked up in the vivado console as the ip is generated
2021-02-15 09:29:00 -08:00
Jan Kowalewski
ad760d491c
build/xilinx/symbiflow: fix bitstream_device select
...
Signed-off-by: Jan Kowalewski <jkowalewski@antmicro.com>
2021-02-08 15:38:30 +01:00
enjoy-digital
92f4cd1423
Merge pull request #799 from antmicro/add_xc7a200t_to_symbiflow
...
build/xilinx: add xc7a200t-sbg484-1 to symbiflow toolchain
2021-02-04 16:41:45 +01:00
Florent Kermarrec
4d1deffbb0
jtagbone/openocd: add binary mode on JTAGUART to fix "\n" to "\r" remapping that is not wanted in binary mode.
2021-02-04 11:44:43 +01:00
Jan Kowalewski
57915db746
build/xilinx: add xc7a200t-sbg484-1 to symbiflow toolchain
...
Signed-off-by: Jan Kowalewski <jkowalewski@antmicro.com>
2021-02-03 15:18:48 +01:00
Jędrzej Boczar
b1fb141d1f
Fix gtkwave.py to be compatible with python 3.6
2021-02-02 11:14:16 +01:00
Jędrzej Boczar
01b900f4e0
Add GTKWave savefile generator
2021-02-01 13:22:30 +01:00
Florent Kermarrec
8623536a8a
build/generic_platform: avoid removing X pins from named_sc.
...
We need them on Gowin FPGAs with embedded SDRAM where SDRAM pins are not real IOs.
2021-02-01 13:12:25 +01:00
Florent Kermarrec
f324f9531a
build/gowin: Don't generate IO_LOC is pin name is X.
2021-02-01 13:08:37 +01:00
Guillaume REMBERT
18a5ace637
Add flash method to openFPGALoader class for support with generic_programmer usage (needed for linux-on-litex-vexriscv) + add offset/address support for firmware load
2021-01-30 13:20:30 +01:00
Florent Kermarrec
2a542e150d
jtag_uart/openocd: switch to raw tcp socket and get litex_server --jtag-uart working.
2021-01-25 16:33:43 +01:00
Florent Kermarrec
81f4ffafdb
build/tools/language_by_filename: add svo to system-verilog extensions.
2021-01-18 16:29:52 +01:00
Karol Gugala
7f6af0a437
Quartus: handle vh and svh files
...
Signed-off-by: Karol Gugala <kgugala@antmicro.com>
2020-12-20 11:53:08 +01:00
enjoy-digital
7fccf9fcd0
Merge pull request #736 from Disasm/ecpdap
...
Add ECPDAP programmer
2020-12-18 15:39:24 +01:00
enjoy-digital
f055b1be69
Merge pull request #732 from Disasm/ecp5-compress
...
Add option for ECP5 bistream compression
2020-12-18 14:42:34 +01:00
Vadim Kaushan
0fe2477f69
Add ECPDAP programmer
2020-12-18 15:42:18 +03:00
Vadim Kaushan
2bc76f3245
Add option for ECP5 bistream compression
2020-12-18 00:21:05 +03:00
Gwenhael Goavec-Merou
b896b20e46
don't add pins without pad location in constraints file
2020-12-02 13:24:15 +01:00
Florent Kermarrec
e2dcdcf917
build/lattice/programmer/load_bitstream: convert .bit to .svf with bit_to_svf it bitstream_file provided as .bit.
2020-11-28 08:58:57 +01:00
Florent Kermarrec
289234b102
build/lattice: add bit_to_svf script from Project Trellis to allow using OpenOCD with Diamond.
2020-11-28 08:58:04 +01:00
Florent Kermarrec
785bc7e86c
build/lattice/diamond: set timingstrict default value to False (similar to others build backends)
2020-11-28 07:56:30 +01:00
David Shah
c0822bac1a
Add Yosys/nextpnr-nexus/oxide flow for CrossLink-NX
...
Signed-off-by: David Shah <dave@ds0.me>
2020-11-25 09:44:51 +00:00
Robert Winkler
6684e7ae7a
symbiflow: restore add_false_path_constraint
...
Restore the method to fix SymbiflowToolchain class API
Signed-off-by: Robert Winkler <rwinkler@antmicro.com>
2020-11-24 15:34:32 +01:00
Alessandro Comodi
0431af729c
symbiflow: remove workarounds for symbiflow
...
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-11-23 10:33:11 +01:00
Florent Kermarrec
444a605dea
build/xilinx: fix build with LITEX_ENV_VIVADO/LITEX_ENV_ISE set by user.
2020-11-18 15:40:15 +01:00
Florent Kermarrec
9c0f687922
build/generic_platform: use script filename as name when no Platform file.
2020-11-11 09:45:21 +01:00
Florent Kermarrec
2741fc2ba5
build/generic_programmer: add call method that raises OSError when failing and use it on specific programmers.
...
This will avoid programming errors to be silently ignored and will raise the following error:
OSError: Error occured during OpenOCD's call, please check:
- OpenOCD installation.
- access permissions.
- hardware and cable.
2020-11-10 10:22:57 +01:00
Florent Kermarrec
3dffdbf628
build/xilinx: add missing \n on error reporting.
2020-11-04 11:32:25 +01:00
Florent Kermarrec
db836e8e5d
build: add toolchain check before running build script and improve error reporting.
2020-11-04 09:42:18 +01:00
David Shah
66eb38cf84
radiant: Escape bus port names
...
Signed-off-by: David Shah <dave@ds0.me>
2020-10-21 14:05:33 +01:00
David Shah
15dc97476c
build/radiant: Allow synthesis with Yosys
...
Signed-off-by: David Shah <dave@ds0.me>
2020-10-13 12:11:48 +01:00
enjoy-digital
83b4447f0e
Merge pull request #662 from fidergo-stephane-gourichon/dfu-util_with_-R
...
Unconditionally ask dfu-util to "Issue USB Reset"
2020-10-07 12:37:53 +02:00
enjoy-digital
6916674ff6
Merge pull request #664 from antmicro/symbiflow_a100T
...
build/xilinx/symbiflow: Add xc7a100tscg324-1 to supported devices
2020-10-05 19:25:18 +02:00
enjoy-digital
1a603b3fee
Merge pull request #654 from pepijndevos/gowin
...
Build support for Gowin
2020-10-05 19:23:47 +02:00
Stephane Gourichon
e47f84ea79
Unconditionally ask dfu-util to "Issue USB Reset signalling once we're finished".
...
Some host machines need it.
If issuing -R always does not cause any trouble, then do it.
2020-10-05 17:16:10 +02:00
Robert Winkler
ff4afda305
build/xilinx/symbiflow: Add xc7a100tscg324-1 to supported devices
...
Signed-off-by: Robert Winkler <rwinkler@antmicro.com>
2020-10-05 17:02:51 +02:00
Michael Betz
6e3e979a0b
serial2tcp.c json error handling, respect rx.ready
2020-10-04 18:17:28 -07:00
Pepijn de Vos
890ccaf4bd
support writing bitstream to flash
2020-10-01 08:39:32 +02:00
Pepijn de Vos
eca5a25e27
add dummy attr_translate
2020-09-29 15:55:07 +02:00
Pepijn de Vos
dd2b1f21f0
typo and dead code
2020-09-29 15:24:36 +02:00