Commit Graph

9015 Commits

Author SHA1 Message Date
enjoy-digital fb1cd22ac2
Merge pull request #1638 from gatecat/jtagremote_fix
jtagremote: Add to Makefile and fix build
2023-03-08 18:47:52 +01:00
Florent Kermarrec c2325983d5 litex_sim/video: Cleanup and directly reuse VideoGenericPHY. 2023-03-08 18:45:52 +01:00
gatecat a5d85518c9 jtagremote: Add to Makefile and fix build
Signed-off-by: gatecat <gatecat@ds0.me>
2023-03-08 13:06:16 +01:00
enjoy-digital c8dcc39957
Merge pull request #1632 from jorislee/master
soc/cores/cpu/vexriscv_smp/core.py: fix variants for external incoming values and remove default timer0 and uart in standard mode.
2023-03-06 09:03:55 +01:00
enjoy-digital 847fac0a81
Merge pull request #1631 from trabucayre/fix_get_extension
add a proxy method to access bitstream extension
2023-03-06 09:03:25 +01:00
Joris Lee 5c644aeabc
fix/VexRiscvSMP_Standard_mode_update
Fix: VexRiscvSMP core variant defaults to incoming values and removes default timer0 and uart in standard mode.
2023-03-06 14:17:12 +08:00
Gwenhael Goavec-Merou c40963531c build/generic_platform build/xxx/platform soc/integration/builder:
generic_platform add a method to return extension for sram/flash
vendor platform: bitstream_ext -> _bitstream_ext and replace by a dict
when extension depends on mode
builder: use `get_bitstream_extension` instead of directly using
bitstream_ext
2023-03-04 11:36:29 +01:00
Gwenhael Goavec-Merou 1ea94ca264 build/anlogic/platform: fix extension format fs -> bit 2023-03-04 11:25:46 +01:00
enjoy-digital 2d9c880cf2
Merge pull request #1629 from trabucayre/fix_efinix_ifacewriter
build/efinix/efinity: delays iface.py execution after project xml was written
2023-03-02 09:14:08 +01:00
Gwenhael Goavec-Merou b28598289e build/efinix/efinity: delays iface.py execution after project xml was written 2023-03-02 08:42:59 +01:00
Florent Kermarrec ea2171d32b tools/litex_sim: Fix --with-etherbone --with-ethernet case (thanks @g2gps). 2023-03-01 14:49:08 +01:00
Florent Kermarrec b5fe30d694 build/xilinx/platform: Add XilinxUS/USPPlatform. 2023-03-01 09:36:56 +01:00
enjoy-digital 90cf730b6a
Merge pull request #1625 from AEW2015/master
Added US pritmives for Artix+
2023-02-28 22:10:37 +01:00
AEW2015 7da9199ea5 Added US pritmives for Artix+ 2023-02-28 13:20:26 -07:00
Florent Kermarrec 2f5481dbb9 gen/common: Add Unsigned/Signed Signal wrappers. 2023-02-28 10:17:16 +01:00
enjoy-digital 6ac8e9ec1f
Merge pull request #1616 from shenki/reinstate-cpu-tests
test: Reinstate microwatt and neorv32
2023-02-28 09:19:01 +01:00
Florent Kermarrec 2b6fcf0b90 README/sponsors: Update. 2023-02-27 11:19:21 +01:00
Florent Kermarrec 4207c37288 README/sponsors: Update. 2023-02-27 11:04:23 +01:00
Florent Kermarrec 991198ec2e tools/litex_json2dts_linux: Only generate lintc0 for rocket for now. 2023-02-27 09:13:45 +01:00
Joel Stanley 3922359ba1 test: Reinstate microwatt and neorv32
They appear to be passing CI again.

Signed-off-by: Joel Stanley <joel@jms.id.au>
2023-02-27 17:46:41 +10:30
enjoy-digital 93632465a0
Merge pull request #1540 from sensille/soc_odd_regions
soc: allow regions that are not a power of 2
2023-02-24 10:30:47 +01:00
enjoy-digital 2abb419bee
Merge branch 'master' into soc_odd_regions 2023-02-24 10:30:34 +01:00
Florent Kermarrec 50822c080f cores/gpio: Move self.ev.finalize after for loop. 2023-02-24 08:37:23 +01:00
enjoy-digital 8d3c03da08
Merge pull request #1613 from adamhlt/master
Fix GPIO IRQ CSR generation
2023-02-24 08:36:18 +01:00
Adam Henault ce087640ed
Fix GPIO IRQ CSR generation 2023-02-23 17:08:08 +01:00
Florent Kermarrec aef23c001a README: Add first list of sponsors/partners. 2023-02-22 19:50:52 +01:00
Florent Kermarrec 51326b93a5 cpu/vexriscv: Fix missing add_soc_component update. 2023-02-21 10:37:09 +01:00
Florent Kermarrec 45b9636902 integration/soc: Avoid soc_region_cls workaround and update CPUs. 2023-02-21 09:43:17 +01:00
Florent Kermarrec c1ee154340 global: Move Open definition to gen/common and use it. 2023-02-21 09:10:15 +01:00
Florent Kermarrec 653b74fe98 gen/fhdl/module: Fix typo. 2023-02-21 08:26:21 +01:00
Florent Kermarrec 22b61c39ca cpu/rocket: Fix arch (thanks @gsomlo). 2023-02-20 19:28:23 +01:00
Florent Kermarrec 2274addd8f cpu/rocket: Check/Fix opensbi region (thanks to @gsomlo). 2023-02-20 15:44:23 +01:00
Florent Kermarrec a3fbd9794c cpu/naxriscv: Generate CPU_MMU config based on xlen. 2023-02-20 15:12:43 +01:00
Florent Kermarrec 0f000a0a90 cores/cpu/json2dts: Add CPU_MMU config in cores and add initial NaxRisv support to json2dts.
Also do minor cleanups by regrouping CPU parameters at the top.
2023-02-20 14:49:35 +01:00
Florent Kermarrec 019fac5653 cores/cpu: Switch to soc.bus.add_region instead or add_memory_region (now prefered). 2023-02-20 11:19:12 +01:00
Florent Kermarrec 01e9a54321 tools/litex_json2dts_linux: Add initial CLINT DTS generation. 2023-02-20 11:04:37 +01:00
Florent Kermarrec ea308ea5b1 cpu/rocket: Use correct mapping for clint/plic. 2023-02-20 10:56:37 +01:00
Florent Kermarrec e15e115170 cpu/rocket: Add initial dcache/icache/dtlb/itlb configs for .dts generation.
Hardwired and probably incorrect, will need to be checked/fixed.
2023-02-20 10:47:09 +01:00
Florent Kermarrec f2b0bf91eb tools/litex_json2dts_linux: Switch from constants to configs. 2023-02-20 10:27:38 +01:00
Florent Kermarrec f7d468dd1c cores/cpus: Generate all CPU configs as LiteX configs (for consistency). 2023-02-20 10:27:10 +01:00
Florent Kermarrec a5d9d309e5 tools/litex_json2dts_linux: Add intial Rocket support (just to allow .dts generation as basis, now will need to be adapted). 2023-02-20 10:17:23 +01:00
Florent Kermarrec 8c79c2599f cpu/rocket/core: Initial changes for .dts generation through json2dts.
For now just add information missing by json2dts to generate the .dts similarly to VexRiscv-SMP.
2023-02-20 10:13:16 +01:00
Florent Kermarrec c6394c8f27 integration/builder: Add support for --soc-csv/--soc-json/--soc-svd arguments.
Should be prefered over csr-xy since initial export was created when we were only interested
by CSR mapping export but has been extended since then to SoC mapping in general.
2023-02-20 09:34:30 +01:00
Florent Kermarrec fbf63f2fc3 soc/cores/icap: Add UG570 reference and change _i/_o signal names. 2023-02-17 12:23:03 +01:00
Florent Kermarrec 9addd52990 soc/cores/esc: Add simple/initial ESC Dshot core supporting D150/300/600. 2023-02-17 09:29:16 +01:00
enjoy-digital 4fa0ea2fdb
Merge pull request #1598 from tpwrules/fix-litex-term
tools/litex-term: completely eliminate multiprocessing
2023-02-16 21:17:53 +01:00
enjoy-digital fa872cfae0
Merge pull request #1602 from antmicro/msieron/spd-fixes
SDRAM SPD fixes
2023-02-16 21:06:54 +01:00
Michal Sieron 23d84bf5f5 liblitedram/sdram_rcd: fix no I2C case
Remove send_stop parameter from the no-I2C case as well.

Signed-off-by: Michal Sieron <msieron@antmicro.com>
2023-02-16 15:40:07 +01:00
Michal Sieron f84ecaf707 liblitedram/sdram_spd: do not send stop symbol
According to the SPD specification, we shouldn't send
a stop symbol after the write that sets the address counter.

Signed-off-by: Michal Sieron <msieron@antmicro.com>
2023-02-16 14:35:00 +01:00
Michal Sieron cdc1152162 liblitedram/sdram_spd: use temp_len when reading SPD
This change should change anything from the point of view of
`sdram_read_spd` caller, but it makes it so less I2C reads are actually
hapenning.

With `len` we read too many bytes and write them to the `buf`.
In subsequent iterations we overwrite those bytes as all counters are
being updated by the `temp_len`. Nothing terrible, but too many
bytes were being read.

Signed-off-by: Michal Sieron <msieron@antmicro.com>
2023-02-16 14:30:23 +01:00