> compile NEMU

ysyx_22040000 李心杨
Linux calcite 6.6.19 #1-NixOS SMP PREEMPT_DYNAMIC Fri Mar  1 12:35:11 UTC 2024 x86_64 GNU/Linux
 11:25:20  up  21:01,  2 users,  load average: 0.85, 3.11, 2.77
This commit is contained in:
tracer-ysyx 2024-03-26 11:25:20 +08:00 committed by xinyangli
parent 38da9c425a
commit 8a58dfc68a
2 changed files with 4 additions and 2 deletions

0
nemu/.result.tmp Normal file
View file

View file

@ -4,8 +4,7 @@ import chisel3._
import chisel3.util.{MuxLookup, Fill, Decoupled, Counter, Queue, Reverse}
import chisel3.util.{SRAM}
import chisel3.stage.ChiselOption
import npc.util.KeyboardSegController
import flowpc.components.RegisterFile
import npc.util.{ KeyboardSegController, RegisterFile }
import flowpc.components.ProgramCounter
class Switch extends Module {
@ -34,9 +33,12 @@ class Keyboard extends Module {
io.segs := seg_handler.io.segs
}
<<<<<<< Updated upstream
=======
class Flowpc extends Module {
val io = IO(new Bundle { })
val register_file = new RegisterFile(readPorts = 2);
val pc = new ProgramCounter(32);
val adder = new SRAM()
}
>>>>>>> Stashed changes