Device.py (9165:f9e3dac185ba) Device.py (9198:dd9d98c16121)
1# Copyright (c) 2005-2007 The Regents of The University of Michigan
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

--- 26 unchanged lines hidden (view full) ---

35 abstract = True
36 pio = SlavePort("Programmed I/O port")
37 system = Param.System(Parent.any, "System this device is part of")
38
39class BasicPioDevice(PioDevice):
40 type = 'BasicPioDevice'
41 abstract = True
42 pio_addr = Param.Addr("Device Address")
1# Copyright (c) 2005-2007 The Regents of The University of Michigan
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

--- 26 unchanged lines hidden (view full) ---

35 abstract = True
36 pio = SlavePort("Programmed I/O port")
37 system = Param.System(Parent.any, "System this device is part of")
38
39class BasicPioDevice(PioDevice):
40 type = 'BasicPioDevice'
41 abstract = True
42 pio_addr = Param.Addr("Device Address")
43 pio_latency = Param.Latency('1ns', "Programmed IO latency")
43 pio_latency = Param.Latency('100ns', "Programmed IO latency")
44
45class DmaDevice(PioDevice):
46 type = 'DmaDevice'
47 abstract = True
48 dma = MasterPort("DMA port")
49
50
51class IsaFake(BasicPioDevice):

--- 17 unchanged lines hidden ---
44
45class DmaDevice(PioDevice):
46 type = 'DmaDevice'
47 abstract = True
48 dma = MasterPort("DMA port")
49
50
51class IsaFake(BasicPioDevice):

--- 17 unchanged lines hidden ---