dram simulator fix
This commit is contained in:
@@ -1,22 +1,18 @@
|
||||
#pragma once
|
||||
|
||||
#include "core.h"
|
||||
|
||||
namespace vortex {
|
||||
|
||||
class Processor : public SimObject<Processor> {
|
||||
class ArchDef;
|
||||
class RAM;
|
||||
|
||||
class Processor {
|
||||
public:
|
||||
SimPort<MemReq> MemReqPort;
|
||||
SimPort<MemRsp> MemRspPort;
|
||||
|
||||
Processor(const SimContext& ctx, const ArchDef& arch);
|
||||
Processor(const ArchDef& arch);
|
||||
~Processor();
|
||||
|
||||
void attach_ram(RAM* mem);
|
||||
|
||||
bool check_exit(int* exitcode);
|
||||
|
||||
void step(uint64_t cycle);
|
||||
int run();
|
||||
|
||||
private:
|
||||
class Impl;
|
||||
|
||||
Reference in New Issue
Block a user