sc_leds_and_button_pcie_dev_tool_connection x58-core
Quick-Start Platform x86 Reference Manual  /  4 Classes  / 

sc_leds_and_button_pcie_device

Description
The sc_leds_and_button_pcie_device is a Simics module encapsulating a SystemC TLM2-based PCI device to demonstrate the use of Simics SystemC Library.
Interfaces Implemented
checkpoint, concurrency_group, concurrency_mode, conf_object, cycle, event_delta, execute, execute_control, frequency, io_memory, log_object, pci_device, pci_express, sc_gasket_info, sc_memory_profiler_control, sc_process_profiler_control, sc_simcontext, sc_version, temporal_state
Port Objects
engine <co-execute> : executor
port.dma (signal) : sc_leds_and_button_pcie_device port
vtime.cycles <cycle-counter> : cycle queue
vtime.ps <ps-clock> : event queue (ps)
vtime <vtime> : event handler
Port Interfaces
core_dev_access_count (probe) : Port for generic device access count
Notifiers
frequency-change
Provided By
sc-leds-and-button-pcie-dev

Attributes

allow_unconnected_ports

Optional attribute; read/write access; type: boolean. This attribute is used for allowing ports to be left unconnected/unbound after elaboration. They will then automatically be bound to a dedicated object that will log whenever the port it used.

argv

Optional attribute; read/write access; type: [s*]. Argument vector to pass to SystemC setup

base_address_0

Optional attribute; read/write access; type: integer. The value of BAR0 base address.

base_address_1

Optional attribute; read/write access; type: integer. The value of BAR1 base address.

base_address_2

Optional attribute; read/write access; type: integer. The value of BAR2 base address.

cci_preset_values

Pseudo attribute; write-only access; type: [[ss]*]. List containing key-value tuples of CCI preset values.

cell

Optional attribute; read/write access; type: object or nil. Cell

command

Optional attribute; read/write access; type: integer. The value of command register.

create_proxy_objects

Optional attribute; read/write access; type: boolean. This attribute is used to enable (=default) or disable the creation of SystemC proxy objects. Without proxy objects the user cannot interact with the SystemC objects to enable tracing, set breakpoints, collect profiling data, etc.

device_id

Optional attribute; read/write access; type: integer. The value of device id register.

do_not_schedule

Optional attribute; read/write access; type: boolean. Set to TRUE to prevent this object from being scheduled by the cell.

gasket_list

Optional attribute; read/write access; type: [o*]. The connected gaskets.

pci_bus

Optional attribute; read/write access; type: object or nil. The PCI-bus to connect to.

pin_out_0

Optional attribute; read/write access; type: object or nil. Pin 0 LED.

pin_out_1

Optional attribute; read/write access; type: object or nil. Pin 1 LED.

pin_out_2

Optional attribute; read/write access; type: object or nil. Pin 2 LED.

pin_out_3

Optional attribute; read/write access; type: object or nil. Pin 3 LED.

pin_out_values

Optional attribute; read/write access; type: [bbbb]. Values of all sc_out pin_out pins

run_next_delta

Pseudo attribute; write-only access; type: integer. Run the next delta cycle by invoking sc_start(0). Multiple delta cycles can be run at once by setting a value greater than one.

same_cell_as

Pseudo attribute; read-only access; type: object. This adapter should have same cell as the object assigned. For internal use only.

sc_state

Optional attribute; read/write access; type: [s*]. When this attribute is set the SystemC state is restored from disk

status

Optional attribute; read/write access; type: integer. The value of status register.

system_onoff_led

Optional attribute; read/write access; type: object or nil. System On/Off LED.

system_onoff_led_count_value

Optional attribute; read/write access; type: integer. value of device's sc_out system_onoff_led_count

system_onoff_led_value

Optional attribute; read/write access; type: boolean. boolean value of device's sc_out system_onoff_led pin

vendor_id

Optional attribute; read/write access; type: integer. The value of vendor id register.

version

Optional attribute; read/write access; type: integer. The value of (MMIO) version register.

Command List

Commands defined by interface sc_simcontext
break-sc-event-all, break-sc-process-all, break-sc-signal-all, break-sc-socket-all, trace-sc-event-all, trace-sc-process-all, trace-sc-signal-all, trace-sc-socket-all, track-transactions-all, unbreak-sc-event-all, unbreak-sc-process-all, unbreak-sc-signal-all, unbreak-sc-socket-all, untrace-sc-event-all, untrace-sc-process-all, untrace-sc-signal-all, untrace-sc-socket-all, untrack-transactions-all
Commands
infoprint information about the object
new-sc-break-toolcreate a new sc_leds_and_button_pcie_dev_sc_break_tool object
new-sc-protocol-checker-toolcreate a new sc_leds_and_button_pcie_dev_sc_protocol_checker_tool object
new-sc-trace-toolcreate a new sc_leds_and_button_pcie_dev_sc_trace_tool object
new-sc-transaction-tracker-toolcreate a new sc_leds_and_button_pcie_dev_sc_transaction_tracker_tool object
new-sc-vcd-trace-toolcreate a new sc_leds_and_button_pcie_dev_sc_vcd_trace_tool object
statusprint status of the object

sc_leds_and_button_pcie_dev_tool_connection x58-core