Exemplo n.º 1
0
class LupioIPI(BasicPioDevice):
    type = 'LupioIPI'
    cxx_class='gem5::LupioIPI'
    cxx_header = 'dev/lupio/lupio_ipi.hh'
    pio_size = Param.Addr(0x1000, "PIO Size")
    int_type = Param.Int("Type of interrupt")
    num_threads = Param.Int("Number of threads")
Exemplo n.º 2
0
class LupioTMR(BasicPioDevice):
    type = 'LupioTMR'
    cxx_class = 'gem5::LupioTMR'
    cxx_header = 'dev/lupio/lupio_tmr.hh'
    pio_size = Param.Addr(0x1000, "PIO Size")
    num_threads = Param.Int("Number of threads in the system.")
    int_type = Param.Int("Type of interrupt.")
Exemplo n.º 3
0
class LupioPIC(BasicPioDevice):

    type = 'LupioPIC'
    cxx_class = 'gem5::LupioPIC'
    cxx_header = 'dev/lupio/lupio_pic.hh'
    pio_size = Param.Addr(0x1000, "PIO Size")
    n_src = Param.Int("Number of interrupt sources")
    num_threads = Param.Int("Number of threads")
    int_type = Param.Int("Type of interrupt")
Exemplo n.º 4
0
class LupioRNG(BasicPioDevice):

    type = 'LupioRNG'
    cxx_class='gem5::LupioRNG'
    cxx_header = 'dev/lupio/lupio_rng.hh'
    pio_size = Param.Addr(0x1000, "PIO Size")
    seed = Param.Int(0, "Initial seed for the random number generator")
    platform = Param.Platform(Parent.any,
                              "Platform this device is part of.")
    int_id = Param.Int("Interrupt ID to be used by the PIC")
Exemplo n.º 5
0
class LupioTTY(BasicPioDevice):
    type = 'LupioTTY'
    cxx_class = 'gem5::LupioTTY'
    cxx_header = "dev/lupio/lupio_tty.hh"
    terminal = Param.SerialDevice(Parent.any, "The terminal")
    pio_size = Param.Addr(0x1000, "PIO size")
    platform = Param.Platform(Parent.any,
                              "Platform this device is part of.")
    int_id = Param.Int("Interrupt ID for the PIC to use")
Exemplo n.º 6
0
class LupioBLK(DmaDevice):

    type = 'LupioBLK'
    cxx_class = 'gem5::LupioBLK'
    cxx_header = 'dev/lupio/lupio_blk.hh'
    pio_size = Param.Addr(0x1000, "PIO Size")
    image = Param.DiskImage("Disk image")
    pio_addr = Param.Addr("Device Address")
    latency = Param.Latency('0ns', "DMA Device Latency")
    platform = Param.Platform(Parent.any, "Platform this device is part of.")
    int_id = Param.Int("Interrupt ID for the PIC to use")
Exemplo n.º 7
0
class LupV(Platform):
    type = 'LupV'
    cxx_header = "dev/riscv/lupv.hh"
    cxx_class = 'gem5::LupV'
    pic = Param.LupioPIC("PIC")
    uart_int_id = Param.Int("Interrupt ID to be used if the PLIC is used here")