SystemC Library API Reference Manual
Reference documentation for the Simics SystemC Library.
 
Loading...
Searching...
No Matches
mii_management.h
Go to the documentation of this file.
1/*
2 © 2021 Intel Corporation
3
4 This software and the related documents are Intel copyrighted materials, and
5 your use of them is governed by the express license under which they were
6 provided to you ("License"). Unless the License provides otherwise, you may
7 not use, modify, copy, publish, distribute, disclose or transmit this software
8 or the related documents without Intel's prior written permission.
9
10 This software and the related documents are provided as is, with no express or
11 implied warranties, other than those that are expressly stated in the License.
12*/
13
14#ifndef SIMICS_SYSTEMC_SIMICS2TLM_MII_MANAGEMENT_H
15#define SIMICS_SYSTEMC_SIMICS2TLM_MII_MANAGEMENT_H
16
21
22#include <stdint.h>
23
24namespace simics {
25namespace systemc {
26namespace simics2tlm {
27
34 public GasketOwner {
35 public:
36 // GasketOwner
37 void gasketUpdated() override;
38
39 // MiiManagementInterface
40 int serial_access(int data_in, int clock) override;
41 uint16 read_register(int phy, int reg) override;
42 void write_register(int phy, int reg, uint16 value) override;
43
44 private:
45 ExtensionSender sender_;
47};
48
49} // namespace simics2tlm
50} // namespace systemc
51} // namespace simics
52
53#endif
Definition: mii_management_extension.h:26
Definition: mii_management_interface.h:23
Specialized extension sender for simics2tlm gaskets.
Definition: extension_sender.h:29
Base class, responsible for handling a gasket.
Definition: gasket_owner.h:30
Class that implements the Simics C++ MiiManagementInterface and translates it into a TLM transaction ...
Definition: mii_management.h:34
uint16 read_register(int phy, int reg) override
int serial_access(int data_in, int clock) override
void write_register(int phy, int reg, uint16 value) override
Definition: adapter.h:79