-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FPGA: Add CPU instruction address SPI access control #243
Commits on Jul 4, 2024
-
FPGA: Add CPU instruction address SPI access control
Add logic that checks if the CPU is reading an instruction to execute from ROM or not. If instructions are read from ROM, access to the SPI from the API is granted, and signals between the SPI master and a slave are allowed. If instructions are not read from ROM, any API access is blocked. and between the SPI master and a slave are disabled. Signed-off-by: Joachim Strömbergson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 82c0c14 - Browse repository at this point
Copy the full SHA 82c0c14View commit details -
fpga: block control inputs to SPI-master, not external interface
Signed-off-by: Joachim Strömbergson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ac8bf9f - Browse repository at this point
Copy the full SHA ac8bf9fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 771f588 - Browse repository at this point
Copy the full SHA 771f588View commit details
Commits on Jul 8, 2024
-
fpga: Always allow access to SPI-master
Signed-off-by: Joachim Strömbergson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for be14e88 - Browse repository at this point
Copy the full SHA be14e88View commit details -
fpga: Remove cpu_instr from SPI access control condition
Signed-off-by: Joachim Strömbergson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 52a2e1b - Browse repository at this point
Copy the full SHA 52a2e1bView commit details -
Remove cpu_valid from SPI access control condition
Signed-off-by: Joachim Strömbergson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3a2d52d - Browse repository at this point
Copy the full SHA 3a2d52dView commit details
Commits on Jul 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5442e90 - Browse repository at this point
Copy the full SHA 5442e90View commit details -
Configuration menu - View commit details
-
Copy full SHA for c6abfbc - Browse repository at this point
Copy the full SHA c6abfbcView commit details -
fpga: Add stateful access control
Add access stateful control register that toggles if access to a resources is granted based on if code is excuted from ROM or RAM. The register is used to enable or block access to SPI but potentially other HW resources. Signed-off-by: Joachim Strömbergson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fbd1620 - Browse repository at this point
Copy the full SHA fbd1620View commit details -
Use the access_ok_reg, not obsolete spi_acces_ok wire Remove now obsolete ROM_PREFIX define Signed-off-by: Joachim Strömbergson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 15554ec - Browse repository at this point
Copy the full SHA 15554ecView commit details -
fpga: Include SPI master during linting
Signed-off-by: Joachim Strömbergson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 54b113a - Browse repository at this point
Copy the full SHA 54b113aView commit details -
fpga: Apply access_ok_reg on API reads
Signed-off-by: Joachim Strömbergson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5ec1916 - Browse repository at this point
Copy the full SHA 5ec1916View commit details -
fpga: Add testcase for access control
Signed-off-by: Joachim Strömbergson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e0a32da - Browse repository at this point
Copy the full SHA e0a32daView commit details
Commits on Jul 10, 2024
-
fpga: Add API to enable and disable SPI access
Signed-off-by: Joachim Strömbergson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bc9fcb7 - Browse repository at this point
Copy the full SHA bc9fcb7View commit details
Commits on Jul 11, 2024
-
fpga: Add new SPI access control logis
New logic looks at instruction execution from a defined trampoline address to enable stateful SPI access. The access is disabled as soon as an instruction is executed from any address in RAM. Signed-off-by: Joachim Strömbergson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7e26c74 - Browse repository at this point
Copy the full SHA 7e26c74View commit details -
fpga: Add testcase for SPI access control
Add testcase that checks that access control is enabled and disabled as expected. Signed-off-by: Joachim Strömbergson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4233777 - Browse repository at this point
Copy the full SHA 4233777View commit details