VIRTUTECH CONFIDENTIAL    Previous - Up - Next

DS12887-dml

Provided by
DS12887-dml
Class Hierarchy
conf-objectlog-objectDS12887-dml
Interfaces Implemented
log_object, io_memory, event_poster
Description
DS12887 real-time clock.

Attributes

Attributes inherited from class conf-object
attributes, classname, component, iface, name, object_id, queue
Attributes inherited from class log-object
access_count, log_buffer, log_buffer_last, log_buffer_size, log_group_mask, log_groups, log_level, log_type_mask
Attribute List
base_rtc_time
Optional attribute; read/write access; type: Integer.

The real-time clock time when the oscillator was enabled, in seconds since 1970-01-01 00:00:00.

base_time
Optional attribute; read/write access; type: Float.

The simulated time when the oscillator was enabled, in seconds since the start of the simulation.

irq_dev
Required attribute; read/write access; type: Object.

The device that interrupts are sent to.

irq_level
Required attribute; read/write access; type: Integer.

The level at which interrupts are sent.

port_registers_address
Optional attribute; read/write access; type: Integer.

Port space address register. Specifies the DS12887 register that reads and writes to the port space data register are forwarded to.

registers_a
Optional attribute; read/write access; type: Integer.

Register A.

registers_b
Optional attribute; read/write access; type: Integer.

Register B.

registers_c
Optional attribute; read/write access; type: Integer.

Register C.

registers_d
Optional attribute; read/write access; type: Integer.

Register D.

registers_date_of_the_month
Optional attribute; read/write access; type: Integer.

Day of the month register. In binary format in the range 1-31, regardless of the current register mode.

registers_day_of_the_week
Optional attribute; read/write access; type: Integer.

Day of the week register. In binary format in the range 1-7, regardless of the current register mode.

registers_hours
Optional attribute; read/write access; type: Integer.

Hours register. In binary format in the range 0-23, regardless of the current register mode.

registers_hours_alarm
Optional attribute; read/write access; type: Integer.

Hours alarm register. In binary format in the range 0-23, regardless of the current register mode.

registers_minutes
Optional attribute; read/write access; type: Integer.

Minutes register. In binary format in the range 0-59, regardless of the current register mode.

registers_minutes_alarm
Optional attribute; read/write access; type: Integer.

Minutes alarm register. In binary format in therange 0-59, regardless of the current register mode.

registers_month
Optional attribute; read/write access; type: Integer.

Month register. In binary format in the range 1-12, regardless of the current register mode.

registers_nvram
Optional attribute; read/write access; type: [i{114}].

NVRAM registers, corresponding to the offsets 14 to 127.

registers_seconds
Optional attribute; read/write access; type: Integer.

Seconds register. In binary format in the range 0-59, regardless of the current register mode.

registers_seconds_alarm
Optional attribute; read/write access; type: Integer.

Seconds alarm register. In binary format in the range 0-59, regardless of the current register mode.

registers_year
Optional attribute; read/write access; type: Integer.

Year register. In binary format in the range 0-99, regardless of the current register mode.

time
Pseudo attribute; read/write access; type: String.

The internal time of the real-time clock on the format "YY-MM-DD hh:mm:ss".

Command List

Commands defined by interface log_object
log, log-group, log-level, log-size, log-type
Commands
cmos-base-memdeprecated — set base memory size
cmos-boot-devdeprecated — set boot drive
cmos-centurydeprecated — set date century
cmos-extended-memdeprecated — set extended memory size
cmos-floppydeprecated — set floppy parameters
cmos-hddeprecated — set fixed disk paramters
cmos-infodeprecated — print information about the CMOS area
cmos-initdeprecated — initialize some CMOS values
get-date-timeget date and time
infoprint information about the device
set-date-timeset date and time
statusprint status of the device

Command Descriptions

<DS12887-dml>.cmos-base-mem — deprecated
Synopsis
<DS12887-dml>.cmos-base-mem kilobytes
Description
This command is deprecated, use <x86-system>.cmos-base-mem or <x86-apic-system>.cmos-base-mem instead.

<DS12887-dml>.cmos-boot-dev — deprecated
Synopsis
<DS12887-dml>.cmos-boot-dev "drive"
Description
This command is deprecated, use <x86-system>.cmos-boot-dev or <x86-apic-system>.cmos-boot-dev instead.

<DS12887-dml>.cmos-century — deprecated
Synopsis
<DS12887-dml>.cmos-century century
Description
This command is deprecated, use <DS12887-dml>.set-date-time instead.

<DS12887-dml>.cmos-extended-mem — deprecated
Synopsis
<DS12887-dml>.cmos-extended-mem megabytes
Description
This command is deprecated, use <x86-system>.cmos-extended-mem or <x86-apic-system>.cmos-extended-mem instead.

<DS12887-dml>.cmos-floppy — deprecated
Synopsis
<DS12887-dml>.cmos-floppy "drive" "type"
Description
This command is deprecated, use <x86-system>.cmos-floppy or <x86-apic-system>.cmos-floppy instead.

<DS12887-dml>.cmos-hd — deprecated
Synopsis
<DS12887-dml>.cmos-hd "drive" cylinders heads sectors_per_track
Description
This command is deprecated, use <x86-system>.cmos-hd or <x86-apic-system>.cmos-hd instead.

<DS12887-dml>.cmos-info — deprecated
Synopsis
<DS12887-dml>.cmos-info
Description
This command is deprecated, use <x86-system>.cmos-info or <x86-apic-system>.cmos-info instead.

<DS12887-dml>.cmos-init — deprecated
Synopsis
<DS12887-dml>.cmos-init
Description
This command is deprecated, use <x86-system>.cmos-init or <x86-apic-system>.cmos-init instead.

<DS12887-dml>.get-date-time
Synopsis
<DS12887-dml>.get-date-time
Description
Return the date and time of the realtime clock.
<DS12887-dml>.info
Synopsis
<DS12887-dml>.info
Description
Print detailed information about the configuration of the device.
<DS12887-dml>.set-date-time
Synopsis
<DS12887-dml>.set-date-time year month mday hour minute second [-binary] [-bcd]
Description
Set the date and time of the realtime clock. Both month and mday start counting at one, the other at zero. Year should be in the full four-digit format. The cmos-init command must be issued before this command, unless the simulation was started from a checkpoint. The -binary and -bcd flags can be used to specify the format of the register values. Default is to use BCD, but some systems use a binary format without checking the binary/BCD status bit in register B.
<DS12887-dml>.status
Synopsis
<DS12887-dml>.status
Description
Print detailed information about the current status of the device.

VIRTUTECH CONFIDENTIAL    Previous - Up - Next