コード例 #1
0
ファイル: Hart64Rv64ITest.cs プロジェクト: sovr610/PatoSim
        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();
        }