Helper parameter for test-suite

This commit is contained in:
Màrius Montón 2022-09-14 20:01:36 +02:00
parent d6f799e412
commit 56b00aecd8
No known key found for this signature in database
GPG Key ID: FA199E7A752699F0
1 changed files with 10 additions and 0 deletions

View File

@ -91,6 +91,10 @@ namespace riscv_tlm {
*/ */
virtual void call_interrupt(tlm::tlm_generic_payload &trans, virtual void call_interrupt(tlm::tlm_generic_payload &trans,
sc_core::sc_time &delay) = 0; sc_core::sc_time &delay) = 0;
virtual std::uint64_t getStartDumpAddress() = 0;
virtual std::uint64_t getEndDumpAddress() = 0;
public: public:
MemoryInterface *mem_intf; MemoryInterface *mem_intf;
protected: protected:
@ -155,6 +159,9 @@ namespace riscv_tlm {
*/ */
void call_interrupt(tlm::tlm_generic_payload &trans, void call_interrupt(tlm::tlm_generic_payload &trans,
sc_core::sc_time &delay) override; sc_core::sc_time &delay) override;
std::uint64_t getStartDumpAddress() override;
std::uint64_t getEndDumpAddress() override;
}; // RV32 class }; // RV32 class
/** /**
@ -206,6 +213,9 @@ namespace riscv_tlm {
*/ */
void call_interrupt(tlm::tlm_generic_payload &trans, void call_interrupt(tlm::tlm_generic_payload &trans,
sc_core::sc_time &delay) override; sc_core::sc_time &delay) override;
std::uint64_t getStartDumpAddress() override;
std::uint64_t getEndDumpAddress() override;
}; // RV64 class }; // RV64 class
} }