Compare commits
	
		
			2 Commits
		
	
	
		
			ee2ded931d
			...
			hotfix/lat
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 66dc28c239 | |||
| 40470445f4 | 
| @@ -33,10 +33,10 @@ | |||||||
| #ifndef _SYSC_SIFIVE_FE310_H_ | #ifndef _SYSC_SIFIVE_FE310_H_ | ||||||
| #define _SYSC_SIFIVE_FE310_H_ | #define _SYSC_SIFIVE_FE310_H_ | ||||||
|  |  | ||||||
|  | #include <tlm/scc/scv/tlm_rec_initiator_socket.h> | ||||||
| #include "tlm/scc/initiator_mixin.h" | #include "tlm/scc/initiator_mixin.h" | ||||||
| #include "scc/traceable.h" | #include "scc/traceable.h" | ||||||
| #include "scc/utilities.h" | #include "scc/utilities.h" | ||||||
| #include "tlm/scc/scv4tlm/tlm_rec_initiator_socket.h" |  | ||||||
| #include <cci_configuration> | #include <cci_configuration> | ||||||
| #include <tlm> | #include <tlm> | ||||||
| #include <tlm_core/tlm_1/tlm_req_rsp/tlm_1_interfaces/tlm_core_ifs.h> | #include <tlm_core/tlm_1/tlm_req_rsp/tlm_1_interfaces/tlm_core_ifs.h> | ||||||
| @@ -75,7 +75,7 @@ class core_wrapper; | |||||||
|  |  | ||||||
| class core_complex : public sc_core::sc_module, public scc::traceable { | class core_complex : public sc_core::sc_module, public scc::traceable { | ||||||
| public: | public: | ||||||
|     tlm::scc::initiator_mixin<scv4tlm::tlm_rec_initiator_socket<32>> initiator{"intor"}; |     tlm::scc::initiator_mixin<tlm::scc::scv::tlm_rec_initiator_socket<32>> initiator{"intor"}; | ||||||
|  |  | ||||||
|     sc_core::sc_in<sc_core::sc_time> clk_i{"clk_i"}; |     sc_core::sc_in<sc_core::sc_time> clk_i{"clk_i"}; | ||||||
|  |  | ||||||
|   | |||||||
| @@ -388,7 +388,7 @@ bool core_complex::read_mem(uint64_t addr, unsigned length, uint8_t *const data, | |||||||
|             if (is_fetch && tr_handle.is_active()) { |             if (is_fetch && tr_handle.is_active()) { | ||||||
|                 tr_handle.end_transaction(); |                 tr_handle.end_transaction(); | ||||||
|             } |             } | ||||||
|             auto preExt = new scv4tlm::tlm_recording_extension(tr_handle, this); |             auto preExt = new tlm::scc::scv4tlm::tlm_recording_extension(tr_handle, this); | ||||||
|             gp.set_extension(preExt); |             gp.set_extension(preExt); | ||||||
|         } |         } | ||||||
| #endif | #endif | ||||||
| @@ -434,7 +434,7 @@ bool core_complex::write_mem(uint64_t addr, unsigned length, const uint8_t *cons | |||||||
|         sc_time delay{quantum_keeper.get_local_time()}; |         sc_time delay{quantum_keeper.get_local_time()}; | ||||||
| #ifdef WITH_SCV | #ifdef WITH_SCV | ||||||
|         if (m_db != nullptr && tr_handle.is_valid()) { |         if (m_db != nullptr && tr_handle.is_valid()) { | ||||||
|             auto preExt = new scv4tlm::tlm_recording_extension(tr_handle, this); |             auto preExt = new tlm::scc::scv4tlm::tlm_recording_extension(tr_handle, this); | ||||||
|             gp.set_extension(preExt); |             gp.set_extension(preExt); | ||||||
|         } |         } | ||||||
| #endif | #endif | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user