Gwenhael Goavec-Merou
9156d7902e
tools/litex_json2dts_linux: increment interrupts value by one for rocket
2024-03-21 20:54:08 +01:00
Gwenhael Goavec-Merou
68108e396d
tools/litex_json2dts_linux: added isa-base,isa-extensions required by kernel > 6.6.0 in replacement to isa
2024-03-21 20:53:19 +01:00
enjoy-digital
29aa8f0771
Merge pull request #1906 from jdavidberger/master
...
Avoid extra timing delays for NXLRAM path
2024-03-21 09:14:39 +01:00
jdavidberger
c640efcec3
Avoid extra timing delays for NXLRAM path
2024-03-20 14:58:08 -06:00
Gwenhael Goavec-Merou
8f04542c15
Revert "build/openocd: Allow config file to be searched from local dirs"
...
This reverts commit a7d441488c
.
2024-03-20 16:44:58 +01:00
Gwenhael Goavec-Merou
46ff7cdee5
Merge pull request #1901 from FlyGoat/zynq7000_openocd
...
Zynq7000 litex_server OpenOCD JTAG fixes
2024-03-20 16:41:22 +01:00
inc
9d0fc2c7c2
litex_json2dts_linux: Add support for multiple Ethernet interfaces
2024-03-12 14:42:48 +01:00
Florent Kermarrec
c2fd1e9a49
litex_json2dts_linux: Switch to cpu_name instead of cpu_human_name.
2024-03-08 18:53:44 +01:00
Florent Kermarrec
49f12ea297
soc/add_cpu: Add CPU_NAME constant.
2024-03-08 18:51:26 +01:00
Jiaxun Yang
a7d441488c
build/openocd: Allow config file to be searched from local dirs
...
To sort out path for boards using OpenOCD config file shipped with
OpenOCD itself.
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
2024-03-07 19:54:04 +00:00
enjoy-digital
94e644ba92
Merge pull request #1902 from trabucayre/rocket_update
...
Rocket update
2024-03-07 13:38:02 +01:00
Gwenhael Goavec-Merou
68991b6a40
tools/litex_json2dts_linux: added missing rocket's nodes (align to pythondata-cpu-rocket dts)
2024-03-07 11:59:48 +01:00
Gwenhael Goavec-Merou
54f8d90d38
soc/cores/cpu/rocket/core: align config (XCACHE, XTLB) to pythondata-cpu-rocket master
2024-03-07 09:00:32 +01:00
Florent Kermarrec
149080fc8b
cpu/naxriscv/core: Minor cleanups and add xlen to human_name.
2024-03-06 16:01:38 +01:00
Jiaxun Yang
18720e29cc
build/openocd: Fix tap name for zynq_7000
...
zynq_7000 have a special tap name fpr PL defined in openocd
config file.
Just hardcode it here.
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
2024-03-05 21:44:55 +00:00
Jiaxun Yang
35dd87499c
build/openocd: Disable polling after init
...
OpenOCD's event polling mechanism may interfere with
jtagstream, as we don't expect any command sent by
openocd itself.
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
2024-03-05 21:34:56 +00:00
enjoy-digital
f304cba8a6
Merge pull request #1897 from machdyne/master
...
support TQFP144 ECP5 package
2024-03-05 21:26:22 +01:00
enjoy-digital
98c15331be
Merge pull request #1899 from meiniKi/fazyrv_path
...
FazyRV: Fix minor typo in path check
2024-03-05 21:24:49 +01:00
Gwenhael Goavec-Merou
1511c8f200
tools/litex_json2dts_linux: don't hardcode phandle for clint's interrupts-extended
2024-03-05 16:10:42 +01:00
Meinhard Kissich
12b9c8b2e7
cpu/fazyrv: Fix minor path typo
2024-03-04 21:44:18 +01:00
Gwenhael Goavec-Merou
044760e06c
build/colognechip/colognechip: check if p_r is in PATH before trying to copy dly file
2024-03-02 12:23:10 +01:00
Florent Kermarrec
62f275debd
cpu/fazyrv: Expose parameters and fix vdir.
...
On your targets: --cpu-type=fazyrv --help:
CPU options.:
--cpu-chunksize {1,2,4,8}
Size of the chunks, i.e., the data path. (default: 8)
--cpu-conf {MIN,INT,CSR}
Configuration of the processor. (default: MIN)
--cpu-rftype {LOGIC,BRAM,BRAM_BP,BRAM_DP,BRAM_DP_BP}
Implementation of the register file. (default: BRAM_DP_BP)
Then: litex_sim --cpu-type=fazyrv --cpu-chunksize=4 --cpu-rftype=LOGIC
__ _ __ _ __
/ / (_) /____ | |/_/
/ /__/ / __/ -_)> <
/____/_/\__/\__/_/|_|
Build your hardware, easily!
(c) Copyright 2012-2024 Enjoy-Digital
(c) Copyright 2007-2015 M-Labs
BIOS built on Mar 1 2024 10:49:12
BIOS CRC passed (a3cd3faa)
LiteX git sha1: 45835b4b
--=============== SoC ==================--
CPU: FazyRV-STANDARD @ 1MHz
BUS: wishbone 32-bit @ 4GiB
CSR: 32-bit data
ROM: 128.0KiB
SRAM: 8.0KiB
--============== Boot ==================--
Booting from serial...
Press Q or ESC to abort boot completely.
sL5DdSMmkekro
Timeout
No boot medium found
--============= Console ================--
litex>
2024-03-01 10:49:37 +01:00
Gwenhael Goavec-Merou
45835b4b9d
build/colognechip/colognechip: workaround for p_r complaining about a missing dly file (will be fixed by the next CologneChip's toolchain release)
2024-03-01 07:12:11 +01:00
Florent Kermarrec
697fb51a32
soc/cores/cpu: Add initial FazyRV support with default variant.
...
It will then be useful to expose the different parameters or create variants.
litex_sim --cpu-type=fazyrv:
__ _ __ _ __
/ / (_) /____ | |/_/
/ /__/ / __/ -_)> <
/____/_/\__/\__/_/|_|
Build your hardware, easily!
(c) Copyright 2012-2024 Enjoy-Digital
(c) Copyright 2007-2015 M-Labs
BIOS built on Mar 1 2024 06:49:55
BIOS CRC passed (1ee1fd74)
LiteX git sha1: 4ca66bbe
--=============== SoC ==================--
CPU: FazyRV-STANDARD @ 1MHz
BUS: wishbone 32-bit @ 4GiB
CSR: 32-bit data
ROM: 128.0KiB
SRAM: 8.0KiB
--============== Boot ==================--
Booting from serial...
Press Q or ESC to abort boot completely.
sL5DdSMmkekro
Timeout
No boot medium found
--============= Console ================--
litex>
2024-03-01 06:52:02 +01:00
inc
eeeffa9ffd
support TQFP144 ECP5 package
2024-02-29 21:30:25 +01:00
Florent Kermarrec
4ca66bbee6
interconnect/wishbone/Remapper: Fix src_adr/dst_adr signal size.
2024-02-28 19:11:59 +01:00
Florent Kermarrec
722b6da9fb
test/test_wishbone: Improve origin_region_remap_test to test more complex remapping.
2024-02-28 19:11:55 +01:00
Gwenhael Goavec-Merou
3d9db91387
build/colognechip/colognechip: add missing p_r option (-cCP)
2024-02-28 17:17:42 +01:00
Gwenhael Goavec-Merou
83c1adbc94
soc/cores/clock/colognechip: set lock_req to 1 by default and connect locked to USR_PLL_LOCKED_STDY
2024-02-28 17:17:06 +01:00
Gwenhael Goavec-Merou
54d19265a7
build/colognechip/platform: typo bitstream_ext -> _bitstream_ext
2024-02-28 16:12:30 +01:00
Gwenhael Goavec-Merou
8eb5e7b6c1
soc/cores/clock/colognechip: REF_CLK/OUT_CLK: int -> str
2024-02-28 16:11:27 +01:00
Florent Kermarrec
cd8ad3714d
soc/interconnect/packet/Dispatcher: Add missing **kwargs.
2024-02-28 13:32:09 +01:00
Florent Kermarrec
42c1046323
soc/interconnect/packet: Add **kwargs to Arbiter/Dispatcher to allow specifying keep/omit parameters for connection.
2024-02-28 13:04:48 +01:00
Florent Kermarrec
fea3a7ebc6
cpu/naxriscv/core/git_setup: Clone submodules as recursive to prevent errors with submodules during the git checkout.
2024-02-27 15:59:44 +01:00
Florent Kermarrec
253d1cfb9b
build/generic_platform/ConstraintManager: Add prepend parameter to add_extension.
...
In some cases, prepend is useful when we want to replace existing IOs.
2024-02-26 17:28:03 +01:00
Florent Kermarrec
d3ea912339
CHANGES: Update.
2024-02-22 10:24:35 +01:00
enjoy-digital
7f91baae3a
Merge pull request #1894 from mdejw/patch-1
...
Send serial data to sim uart only if rx_ready is set.
2024-02-22 10:22:05 +01:00
enjoy-digital
dc229f8df9
Merge pull request #1895 from trabucayre/json2dts_linux_fill_network
...
tools/litex_json2dts_linux.py: adding ip= bootarg when localip and remoteip are provided
2024-02-22 10:20:41 +01:00
Gwenhael Goavec-Merou
a6d015a358
tools/litex_json2dts_linux.py: adding ip= bootarg when localip and remoteip are provided
...
Signed-off-by: Gwenhael Goavec-Merou <gwenhael@enjoy-digital.fr>
2024-02-22 09:40:26 +01:00
Marcin Dawidowicz
0de87ce40d
Send serial data to sim uart only if rx_ready is set.
2024-02-21 22:32:49 +01:00
Florent Kermarrec
63f9935f17
build/sim/config: Convert periods_ps to int since otherwise too restrictive on possible frequencies generation.
2024-02-21 11:39:49 +01:00
Florent Kermarrec
129446dea2
test/test_wishbone: Run all Remapper tests in byte and word modes and simplify.
2024-02-21 11:20:01 +01:00
Florent Kermarrec
c1dad9516a
interconnect/wishbone/Remapper: Shift origin when in word mode, fixes unit-test.
2024-02-21 11:06:15 +01:00
Florent Kermarrec
6213fd2151
test/test_wishbone: Add Remapper unit-test for word addressing mode.
2024-02-21 11:05:35 +01:00
Florent Kermarrec
c0517cd1cf
interconnect/axi: Use same default parameters than wishbone.Remapper.
2024-02-20 16:58:37 +01:00
Florent Kermarrec
d1e73889f9
test/test_wishbone: Add wishbone.Remapper basic tests.
2024-02-20 16:51:32 +01:00
Florent Kermarrec
ef256c9cc2
interconnect/wishbone: Enhance Remapper to also integrate RegionsRemapper functionnality and apply operation sequentially.
2024-02-20 16:50:56 +01:00
Florent Kermarrec
d78dbd6935
soc/add_spi_flash: Revert PHY_FREQUENCY definition and use in BIOS.
2024-02-20 14:23:54 +01:00
Gwenhael Goavec-Merou
03340bcf12
soc/software/liblitespi/spiflash: replace SPIFLASH_PHY_FREQUENCY by CONFIG_CLOCK_FREQUENCY (removed by commit e498a56698
)
2024-02-19 06:34:26 +01:00
enjoy-digital
677443cef7
Merge pull request #1890 from rtucker85/fix_csr_merge
...
Fixes for errors when attempting import of Sub-SoCs .json
2024-02-16 18:27:39 +01:00