예제 #1
0
        public void Setup()
        {
            var configuration = new HartConfiguration();

            configuration.Architecture = Architecture.Rv64I;
            configuration.RvMode       = true;

            hart = new HartCore64();
            hart.Configure(configuration);

            te = new TestEnvironment();
        }
예제 #2
0
        public void Setup()
        {
            var configuration = new HartConfiguration();

            configuration.Architecture = Architecture.Rv32I;
            configuration.RvMode       = false;

            hart = new HartCore32(Architecture.Rv32I);
            hart.Configure(configuration);

            te = new TestEnvironment();
        }