⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ide.py

📁 linux下基于c++的处理器仿真平台。具有处理器流水线
💻 PY
字号:
from m5 import *from Pci import PciDeviceclass IdeID(Enum): vals = ['master', 'slave']class IdeDisk(SimObject):    type = 'IdeDisk'    delay = Param.Latency('1us', "Fixed disk delay in microseconds")    driveID = Param.IdeID('master', "Drive ID")    image = Param.DiskImage("Disk image")    physmem = Param.PhysicalMemory(Parent.any, "Physical memory")class IdeController(PciDevice):    type = 'IdeController'    disks = VectorParam.IdeDisk("IDE disks attached to this controller")

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -