87a88,92
> elif buildEnv['TARGET_ISA'] == 'riscv':
> from RiscvTLB import RiscvTLB
> from RiscvInterrupts import RiscvInterrupts
> from RiscvISA import RiscvISA
> isa_class = RiscvISA
187a193,198
> elif buildEnv['TARGET_ISA'] == 'riscv':
> dtb = Param.RiscvTLB(RiscvTLB(), "Data TLB")
> itb = Param.RiscvTLB(RiscvTLB(), "Instruction TLB")
> interrupts = VectorParam.RiscvInterrupts(
> [], "Interrupt Controller")
> isa = VectorParam.RiscvISA([ isa_class() ], "ISA instance")
244a256,258
> elif buildEnv['TARGET_ISA'] == 'riscv':
> self.interrupts = \
> [RiscvInterrupts() for i in xrange(self.numThreads)]