Commit graph

60 commits

Author SHA1 Message Date
bunnie
901a5a785f add updated header file 2025-04-29 03:20:59 +08:00
bunnie
db83d3810c update generated artifacts 2025-01-12 00:35:30 +08:00
bunnie
30bec2d193 update hw descs 2025-01-12 00:04:35 +08:00
bunnie
9c1d3c37c9 absorb DAR-699 (udma reset change)
Peripheral reset is now controlled by udma_global
(and actually does something, instead of being a /dev/null)
2024-12-06 03:27:25 +08:00
bunnie
b8ecabedcf add more peripherals to register set 2024-12-03 01:05:50 +08:00
bunnie
33f3e2fed8 pull in the actually corrected iox block 2024-12-02 02:50:31 +08:00
bunnie
dbbd3d11a1 remove coreuser compression from the CPU
NTO can interpret the nearly full-width ASID (lower 8 bits)
as the lock target for key material, so no need to compress it
down to 1 bits anymore.
2024-11-30 02:17:35 +08:00
bunnie
2a533d2e1c bump utralib to include filter registers 2024-08-02 17:27:10 +08:00
bunnie
83f5205a2d update artifacts with latest generated output 2024-07-13 22:35:14 +08:00
bunnie
529cdcc67d regenerate svd files for other targets 2024-06-06 18:07:08 +08:00
bunnie
397596c8e9 regenerate the cramium-soc utralib to contain the additional debug access methods 2024-06-06 17:56:52 +08:00
bunnie
9c90994bd5 reduce size of XIP region
in practice, we're not putting a 128M part out there, but merely
saving space for that amount of memory chews up 32k of page tracking
for something we will never use.

Tune that down to 64M, reducing the overhead to 16k. This also
matches the largest available HyperRam / FLASH part that we might
put into the XIP memory range.
2024-05-21 15:59:17 +08:00
bunnie
fbce3f774c update cramium soc target to latest svd spec 2024-04-06 22:57:38 +08:00
bunnie
0a31875a19 add snap to quantum and extclock select to BIO 2024-03-03 02:38:55 +08:00
bunnie
dbfaa60429 initial register mods for BIO to Daric target 2024-03-01 00:40:35 +08:00
bunnie
017e7b1492 add missing register ranges: iox, aoc 2024-01-28 16:02:34 +08:00
bunnie
35d5c56d27 upgrade SVD/header files to use symbolic IRQ names 2024-01-22 23:25:08 +08:00
bunnie
48a839b7e8 bump the cramium targets
reflects bug fixes and improvements in the target header
file extractors.
2024-01-21 01:13:22 +08:00
bunnie
002a621181 change order of imports (work around rust-analyzer bug?)
I can't figure out why rust-analyzer on my system isn't work
correctly but if I change the order of imports things work better.

If this breaks things for Foundation Devices (@eupn) let me know,
I will poke at this some more and try to figure it out. In theory
it should have no impact but somehow I'm getting the atsamd target
*always* live in my vscode environment, even when it is switched
off when it isn't the last target in the list (and this overrides
all of the rust-analyzer settings for other targets).
2024-01-21 01:10:46 +08:00
bunnie
0c50581e9c more rustfmt-related fixes 2024-01-15 00:43:52 +08:00
bunnie
e72bd86bb1 renode regenerated, add the format exclusion 2024-01-14 23:23:28 +08:00
bunnie
8ca1ee9bc2 suppress formatting of utralib files 2024-01-14 23:08:57 +08:00
bunnie
01853a500d format utralib
formatting of generated files is suppressed with a `rustfmt::skip`
directive on the `mod` import. HOWEVER, if a change is made to the
file and saved, it may still be formatted automatically until the
files are updated with codegens that put a format suppression
directive at the top
2024-01-14 23:05:01 +08:00
bunnie
8ec08c9c76 fix rust v1.75.0 warnings that are probably benign
a lot of re-import warnings have cropped up. While I appreciate
their studiousness on this, the problem is that removing some
of these exports in the API crate could mean that future users
who want access to some API features that aren't used in this
configuration are now unaccessible.

I think it's not a huge problem at the moment, just spam-cleaning
the warnings because there are too many to deal with carefully
at the moment.
2024-01-04 19:15:28 +08:00
bunnie
7db56d59f9 update generated soc utralib file 2023-09-15 20:45:43 +08:00
bunnie
f04d7bebe7 update latest SVDs to RTL 2023-09-15 20:45:15 +08:00
bunnie
c79edf3fa5 harmonize simulation models to soc description 2023-08-09 03:10:11 +08:00
bunnie
162b87b9b0 update cramium register descriptions 2023-08-08 18:18:48 +08:00
bunnie
e05c34c6be more fixes on the register space for cramium target 2023-08-04 01:31:28 +08:00
bunnie
2e3c774604 pull in latest cramium artifacts 2023-08-03 13:28:04 +08:00
bunnie
bead89a6ac update utralib with latest soc model for cramium target 2023-07-29 01:02:19 +08:00
bunnie
56de4c586f bump utralib artifacts 2023-07-18 03:56:52 +08:00
bunnie
2c53eb0508 add cramium targets to utralib 2023-07-17 18:24:10 +08:00
bunnie
5a2df4432c technical debt: cleanup UTRA package
- make the "base" field no longer public. It is accessible, but only
through an `unsafe` method, because, it is unsafe.
- add accessors to offest/mask fields. Because, it's not at all
unsafe to access these, and it can be useful for bit-ops that are
not part of the generic set of UTRA.
- add Arc to AtomicCSR, and require `std` for AtomicCSR types.
This should not break anything, I checked inside @foundation-devices
keyOS and they don't seem to be using AtomicCSR anywhere.

The Arc makes it a bit safer to clone the AtomicCSR base pointer
and share it between threads, but it will have an impact on performance.
The USB stack (which requires AtomicCSR) was regression testing and the
impact seems minimal.

Recall that the main purpose of AtomicCSR is to provide a CSR accessor
that does not require a mutable reference to the base object. This
can make certain Rust idioms a bit cleaner. We wrap the base accessor
in Arc+Atomic to try and improve the safety of throwing the borrow
checker under the bus, but it's still not perfect because hardware
mutable state can have side-effects within hardware itself that cannot
be modeled or checked by Rust's borrow checker.
2023-05-23 18:11:24 +08:00
bunnie
f3dc258a6a reinstate app-uart into the svd tree 2023-04-09 00:46:28 +08:00
bunnie
dc58abfa04 commit latest renode.rs version 2023-03-14 16:37:45 +08:00
bunnie
7af6749877 harmonize renode.rs *again* 2023-03-14 16:18:12 +08:00
bunnie
1c67712912 fix renode harmonization issue 2023-03-08 04:37:21 +08:00
bunnie
b36290fd79 update the precursor_pvt.rs file with the autogen version to avoid errors on publish 2023-03-08 04:02:36 +08:00
bunnie
dc75d8cd54 these were supposed to be renamed, not deleted 2023-03-08 03:48:06 +08:00
bunnie
0dd74fe7b3 remove gitrev from precursor soc type
in practice this has not been a useful indicator, and we
have stabilized the SVD format so that changes in the code don't
cause the SVD files to go incompatible anymore.

this should make maintenance a bit easier going forward, hopefully.

also merge in cramium support to harmonize the forks for easier
cross-patches in the future.
2023-03-08 03:46:03 +08:00
eupn
de296fb6c0
utralib: add SAMA5D27 svd and cargo feature 2023-03-05 16:39:23 +04:00
bunnie
08cf863ff5 update SoC artifacts for 0.9.11 build 2022-12-12 16:05:15 +08:00
bunnie
156e60d1dd fix regressions from litex 2022.08 2022-11-17 22:12:32 +08:00
bunnie
280d61db34 trial commit latest soc artifacts
updating Litex, seems to have broken things. trying to see
if a rebuild with new SVD file helps.
2022-11-17 19:37:17 +08:00
bunnie
b5f4814bb4 cleanup some stragglers in utralib push 2022-10-28 15:10:00 +08:00
bunnie
a8fde09229 adjust build states to match 2022-10-27 03:30:11 +08:00
bunnie
7d80fb7598 rebuild and commit all the prebuild utralib artifacts 2022-10-27 03:27:39 +08:00
bunnie
87d3a32b3d commit utralib mods 2022-10-27 03:11:01 +08:00
bunnie
820f2d6180 ...and commit the artifacts referenced in the previous commit :P 2022-10-20 04:59:17 +08:00