Compare commits
	
		
			2 Commits
		
	
	
		
			6f08f4010c
			...
			hotfix/lat
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 66dc28c239 | |||
| 40470445f4 | 
@@ -33,10 +33,10 @@
 | 
			
		||||
#ifndef _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 "scc/traceable.h"
 | 
			
		||||
#include "scc/utilities.h"
 | 
			
		||||
#include "tlm/scc/scv4tlm/tlm_rec_initiator_socket.h"
 | 
			
		||||
#include <cci_configuration>
 | 
			
		||||
#include <tlm>
 | 
			
		||||
#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 {
 | 
			
		||||
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"};
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -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()) {
 | 
			
		||||
                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);
 | 
			
		||||
        }
 | 
			
		||||
#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()};
 | 
			
		||||
#ifdef WITH_SCV
 | 
			
		||||
        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);
 | 
			
		||||
        }
 | 
			
		||||
#endif
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user