Esempio n. 1
0
        protected override IEnumerable <RtlInstructionCluster> GetRtlStream(MemoryArea mem, IStorageBinder binder, IRewriterHost host)
        {
            var segMap = new SegmentMap(baseAddr, new ImageSegment("code", mem, AccessMode.ReadExecute));
            var state  = (RiscVState)arch.CreateProcessorState();

            return(new RiscVRewriter(arch, new LeImageReader(mem, 0), state, new Frame(arch.WordWidth), host));
        }
Esempio n. 2
0
 public void Setup()
 {
     state = (RiscVState)arch.CreateProcessorState();
 }