applies clang-format
All checks were successful
SCC Test/pipeline/head This commit looks good

This commit is contained in:
2025-08-29 07:52:45 +02:00
parent 635a8674ee
commit 2d92aabc2b
3 changed files with 4 additions and 5 deletions

2
scc

Submodule scc updated: 1b44e143ff...7a5fd95c58

View File

@@ -31,15 +31,14 @@ template <typename T> void prepare_trans(tlm::tlm_generic_payload& trans, tlm::t
trans.set_response_status(tlm::TLM_INCOMPLETE_RESPONSE);
}
template<typename T>
void do_dmi_access(T& isck, uint64_t address, uint64_t expected_size) {
template <typename T> void do_dmi_access(T& isck, uint64_t address, uint64_t expected_size) {
tlm::tlm_generic_payload gp;
tlm::tlm_dmi dmi;
gp.set_address(address);
auto res = isck->get_direct_mem_ptr(gp, dmi);
REQUIRE(res == true);
REQUIRE(dmi.get_start_address() == address);
REQUIRE(dmi.get_end_address() == (address + expected_size-1));
REQUIRE(dmi.get_end_address() == (address + expected_size - 1));
REQUIRE(dmi.is_read_write_allowed());
}

View File

@@ -5,8 +5,8 @@
#include <scc/cci_util.h>
#include <scc/configurer.h>
#include <scc/memory.h>
#include <scc/router.h>
#include <scc/observer.h>
#include <scc/router.h>
#include <scc/sc_variable.h>
#include <scc/tracer.h>
#include <string>