mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
Merge branch 'main' into bunnie-dev
This commit is contained in:
commit
3f998dd6e4
2 changed files with 8 additions and 2 deletions
|
|
@ -19,8 +19,8 @@ Since there is no external compiler, it can be difficult to know if your code is
|
|||
Fortunately, Visual Studio Code is free and has excellent C# tooling. All you need to do is point it at your Renode installation, load the C# plugin, and open a `.cs` file.
|
||||
|
||||
1. Copy `peripherals.csproj.template` to `peripherals.csproj`
|
||||
2. Open `peripherals.csproj` and point `<RenodePath>` to your Renode installation directory
|
||||
3. Install [C# for VSCode](vscode:extension/ms-dotnettools.csharp)
|
||||
2. Open `peripherals.csproj` and point `<RenodePath>` to your Renode installation directory. On ubuntu, this may be `/opt/renode/bin/`.
|
||||
3. Install [C# for VSCode](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csharp)
|
||||
4. You can refer to [core Renode peripherals](https://github.com/renode/renode-infrastructure/tree/master/src/Emulator/Peripherals/Peripherals) as examples of what C# code looks like.
|
||||
|
||||
## Debugging with GDB
|
||||
|
|
|
|||
|
|
@ -455,6 +455,12 @@ namespace Antmicro.Renode.Peripherals.Miscellaneous
|
|||
this.illegalOpcodeStatus = true;
|
||||
throw new Exception("Unhandled opcode");
|
||||
}
|
||||
//this.Log(LogLevel.Error, "RAM[0x{0:X}] {1}\n Ra:{2:x}\n Rb:{3:x}\n W:{4:x}", this.mpc, op,
|
||||
// this.engineRam.ReadRegister(op.Ra, op.Ca),
|
||||
// this.engineRam.ReadRegister(op.Rb, op.Cb),
|
||||
// this.engineRam.ReadRegister(op.Wd, false)
|
||||
//);
|
||||
|
||||
// Interlocked.Increment(ref this.mpc);
|
||||
this.mpc += 1;
|
||||
if (op.Op == 10)
|
||||
|
|
|
|||
Loading…
Reference in a new issue