enjoy-digital
6251474b39
Merge pull request #1035 from lschuermann/dev/litex-sim-gpio
...
litex_sim: optionally add GPIOTristate core
2021-09-20 17:21:29 +02:00
enjoy-digital
0daa86a8bb
Merge pull request #1038 from antmicro/crosslinknx-ddr-tristate
...
build/lattice: add DDRTristate for Crosslink-NX
2021-09-20 14:14:40 +02:00
Florent Kermarrec
49d8000d49
gowin/common: Add Differential Input/Output support.
2021-09-20 14:14:06 +02:00
Franck Jullien
b9e99f576c
efinix: use proper xml to create project file
2021-09-20 13:35:45 +02:00
Florent Kermarrec
9c373242af
gowin: Add HyperRAM integration hack to match Gowin EDA expected pattern.
2021-09-20 11:47:32 +02:00
Maciej Kurc
6c0a758468
Added syn_useioff attribute support for Oxide toolchain and for the DDRTristate in Crosslink NX
...
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2021-09-20 11:02:01 +02:00
Franck Jullien
efebefecea
efinix: add PLL reset and locked pins
2021-09-20 10:42:27 +02:00
Franck Jullien
a026dd8946
efinix: add AsyncResetSynchronizer
2021-09-20 10:41:59 +02:00
Franck Jullien
08be77caaf
efinix: ifacewriter, enable design generation
2021-09-20 10:41:00 +02:00
Florent Kermarrec
5519d908e8
cores/video: Rename VideoECP5HDMIPHY to VideoHDMIPHY since in fact generic and can be used on other FPGAs (ex Tang Nano 4k).
2021-09-20 09:29:05 +02:00
Franck Jullien
106b1f29a7
efinix: fix programmer load_bitstream
2021-09-20 08:42:27 +02:00
Florent Kermarrec
4fe085cc1c
cores/clock: Add initial GW1NSR's PLL support.
2021-09-20 08:39:25 +02:00
Florent Kermarrec
76c782c546
inetgration/builder: Check for full software re-build only when a CPU is used.
2021-09-20 08:31:22 +02:00
Franck Jullien
9b6ae2ff03
efinix: support PLL, add dbparser and ifacewriter
2021-09-20 07:56:53 +02:00
Franck Jullien
0278d3eee8
generic_platform: add a method to delete a constraint
2021-09-20 07:51:26 +02:00
Florent Kermarrec
46cd9c5a5c
tools: Minor #1030 cleanups.
2021-09-17 14:37:48 +02:00
Florent Kermarrec
8ccb1a91c9
build/openfpgaloader/flash: Add external parameter to allow flashing external SPI Flash when available.
2021-09-17 14:37:14 +02:00
enjoy-digital
24f0432253
Merge pull request #1030 from teknoman117/fix-lxserver-pcie-crossover
...
Fixes to allow crossover uart over PCIe with lxterm and litex_server
2021-09-17 14:28:25 +02:00
enjoy-digital
a7c9e4ed42
Merge pull request #1033 from caverar/patch-1
...
Linker fix for initialized global variables
2021-09-17 14:23:44 +02:00
Franck Jullien
000aabf85b
Initial Efinix Trion support
2021-09-17 09:29:53 +02:00
Florent Kermarrec
7f8e2e39f3
cores/video/VideoECP5HDMIPHY: Allow pn_swap on data lanes.
2021-09-16 18:56:05 +02:00
Pawel Sagan
e8e14d8ca5
build/lattice: add DDRTristate for Crosslink-NX
2021-09-16 14:23:02 +02:00
Michal Sieron
f2a05e92fa
Add missing include to or1k/exception.c
2021-09-16 10:44:09 +02:00
Michal Sieron
3d4a64e112
Update stdio code in libc
...
Picolibc now requires to create stdin, stdout and stderr files
ourselves instead of __iob array. Thus changes and renaming
of iob.c to stdio.c
f320a0aa17
added option to select default printf format, so using
picolibc.specs or defining PRINTF_LEVEL is no longer needed.
2021-09-16 10:44:07 +02:00
Michal Sieron
ef7b287248
Disable thread local storage (TLS) in picolibc
...
It was causing some compilation issues with lm32.
As global errno was enabled anyway, it was easier
to disable TLS whatsoever.
2021-09-16 10:43:44 +02:00
Michal Sieron
c84105f399
Disable LTO for picolibc and use picolibc.specs
...
Use picolibc.specs to specify integer only printf/scanf.
To do that, we need to pass specs file with options to
the linker. With LTO enabled, name mapping was failing,
so LTO is now disabled for picolibc compilation only.
This also means, that exchange.c and arc4random.c no
longer need to be recompiled and added back.
2021-09-16 10:43:41 +02:00
Michal Sieron
49c4ae9ec9
Add ppc64le-linux[-musl] to microwatt gcc triples
2021-09-16 10:42:54 +02:00
Michal Sieron
72e7eac0ef
Fix demo compilation
2021-09-16 10:42:54 +02:00
Michal Sieron
befd9c0e4c
Add comment documenting libc/missing.c
2021-09-16 10:42:54 +02:00
Michal Sieron
63094205d7
Add comment documenting libc/iob.c
2021-09-16 10:42:54 +02:00
Michal Sieron
c96c7f5c45
Fix machine specific directory copying
2021-09-16 10:42:54 +02:00
Michal Sieron
d3c23fb048
Remove libmisc
2021-09-16 10:42:54 +02:00
Michal Sieron
7fcc094b63
Don't filter out INCLUDE flags
2021-09-16 10:42:54 +02:00
Michal Sieron
cf59481567
Move machine specific code to their directories
2021-09-16 10:42:54 +02:00
Michal Sieron
66c54de785
Move sim_debug to the BIOS directory
2021-09-16 10:42:54 +02:00
Michal Sieron
b960ba0a67
Move stuff out of libbase
...
Removed libbase completely and moved remaining files into
libutils, libcomm and libmisc.
Libcomm is place for code used for communicating with other
devices, which doesn't yet live in its own liblite*.
Libutils is code used in multiple places, like crc calculation,
progress bar, memtests.
Libmisc is everything else like sim_debug, which is code for
litex_sim or exception.c for or1k.
2021-09-16 10:42:54 +02:00
Michal Sieron
91ce95fb49
Remove obsolete _include/dyld_
...
As per b5048f6cf1
it was necessary by libunwind, which we aren't building.
2021-09-16 10:42:54 +02:00
Michal Sieron
6dc4908d12
Remove obsolete _include/basec++_
...
As per 7a9975ab5a
it was necessary to build libunwind, which we aren't building.
2021-09-16 10:42:54 +02:00
Michal Sieron
b95acb8182
Remove obsolete _include/fdlibm_
2021-09-16 10:42:54 +02:00
Michal Sieron
1a1a81bfa0
Move _exit function up, so gcc doesn't complain
2021-09-16 10:42:54 +02:00
Michal Sieron
9f169d5520
Enable long long support in IO operations
2021-09-16 10:42:54 +02:00
Michal Sieron
351a0713af
Remove unused base/uart.h include
2021-09-16 10:42:54 +02:00
Michal Sieron
26c5a8a926
Move libbase/id.c to bios/cmd/cmd_bios.c
2021-09-16 10:42:54 +02:00
Michal Sieron
6bff5f1734
Replace inet.h with arpa/inet.h
2021-09-16 10:42:54 +02:00
Michal Sieron
082d1231f6
Remove obsolete time.c
2021-09-16 10:42:54 +02:00
Michal Sieron
823edfad22
Remove obsolete div64.c
2021-09-16 10:42:54 +02:00
Michal Sieron
8e4e3b5438
Enable LTO
...
Use gcc-ar and gcc-nm, because they have LTO plugins
Turn off LTO for libcompiler_rt, exchange.c and arc4random.c
from newlib.
Also add getentropy, dummy function, because for some reason
libbase/console.c wants it.
2021-09-16 10:42:29 +02:00
Michal Sieron
53135eb7bc
Add missing definitions if target is microwatt
...
Picolibc compilation for powerpc was missing some defines.
This adds them to gcc parameters
2021-09-16 10:41:05 +02:00
Michal Sieron
ba1d20f2ad
Add missing functions to make lm32 and or1k link
...
I added missing.c with functions that were preventing
LiteX from successfull linking on lm32 and or1k.
2021-09-16 10:41:05 +02:00
Michal Sieron
4e50c0ba00
Enable global errno
...
Brings mor1kx compilation to the same error as lm32
2021-09-16 10:41:05 +02:00