Exemplo n.º 1
0
 protected void SetPICModel(string picName, PICExecMode mode)
 {
     arch = new PICArchitecture(new ServiceContainer(), "pic", new Dictionary <string, object>())
     {
         Options = new PICArchitectureOptions(picName, mode)
     };
     arch.CreatePICProcessorModel();
     PICMemoryDescriptor.ExecMode = mode;
 }
Exemplo n.º 2
0
 protected void SetPICModel(string picName, PICExecMode mode)
 {
     arch = new PICArchitecture("pic")
     {
         Options = new PICArchitectureOptions(picName, mode)
     };
     arch.CreatePICProcessorModel();
     PICMemoryDescriptor.ExecMode = mode;
 }
Exemplo n.º 3
0
 protected void SetPICModel(string picName, PICExecMode mode = PICExecMode.Traditional)
 {
     arch = new PICArchitecture(new ServiceContainer(), "pic")
     {
         Options = new PICArchitectureOptions(picName, mode)
     };
     picModel = arch.ProcessorModel;
     arch.CreatePICProcessorModel();
     PICMemoryDescriptor.ExecMode = mode;
 }
Exemplo n.º 4
0
        private PICArchitecture GetArch(string picName)
        {
            var arch = new PICArchitecture("pic")
            {
                Options = new PICArchitectureOptions(picName, PICExecMode.Traditional)
            };

            Assert.NotNull(arch);
            arch.CreatePICProcessorModel();
            return(arch);
        }
Exemplo n.º 5
0
        private PICArchitecture GetArch(string picName)
        {
            var arch = new PICArchitecture(new ServiceContainer(), "pic", new Dictionary <string, object>())
            {
                Options = new PICArchitectureOptions(picName, PICExecMode.Traditional)
            };

            Assert.NotNull(arch);
            arch.CreatePICProcessorModel();
            return(arch);
        }