Skip to content

File cmd_handler.h

FileList > includes > cmd_handler.h

Go to the source code of this file.

  • #include <list>
  • #include <map>
  • #include <set>
  • #include <string>
  • #include <vector>
  • #include "net_bench.h"
  • #include "net_delay.h"
  • #include "sync_protocol.h"

Classes

Type Name
class SyncBarrierStruct
Structure for Barrier synchronization.
class SyncClockStruct
Structure for Clock synchronization.
class SyncCommStruct
Structure for Communication synchronization.
class SyncLaunchStruct
Structure for Launch and Wait-launch synchronization.
class SyncLockStruct
Structure for Lock and Unlock synchronization.
class SyncPipeStruct
Structure for Pipe synchronization.
class SyncStruct
Data structure of synchronize operation.

Public Types

Type Name
typedef std::vector< InterChiplet::SyncCommand > SyncCmdList
List of synchronization commands.

Public Functions

Type Name
void handle_barrier_cmd (const InterChiplet::SyncCommand & __cmd, SyncStruct * __sync_struct)
Handle BARRIER command.
void handle_cycle_cmd (const InterChiplet::SyncCommand & __cmd, SyncStruct * __sync_struct)
Handle CYCLE command.
void handle_launch_cmd (const InterChiplet::SyncCommand & __cmd, SyncStruct * __sync_struct)
Handle LAUNCH command.
void handle_lock_cmd (const InterChiplet::SyncCommand & __cmd, SyncStruct * __sync_struct)
Handle LOCK command.
void handle_pipe_cmd (const InterChiplet::SyncCommand & __cmd, SyncStruct * __sync_struct)
Handle PIPE command.
void handle_read_cmd (const InterChiplet::SyncCommand & __cmd, SyncStruct * __sync_struct)
Handle READ command.
void handle_unlock_cmd (const InterChiplet::SyncCommand & __cmd, SyncStruct * __sync_struct)
Handle UNLOCK command.
void handle_waitlaunch_cmd (const InterChiplet::SyncCommand & __cmd, SyncStruct * __sync_struct)
Handle WAITLAUNCH command.
void handle_write_cmd (const InterChiplet::SyncCommand & __cmd, SyncStruct * __sync_struct)
Handle WRITE command.

Public Types Documentation

typedef SyncCmdList

typedef std::vector<InterChiplet::SyncCommand> SyncCmdList;

Public Functions Documentation

function handle_barrier_cmd

Handle BARRIER command.

void handle_barrier_cmd (
    const InterChiplet::SyncCommand & __cmd,
    SyncStruct * __sync_struct
) 

Parameters:

  • __cmd Command to handle.
  • __sync_struct Pointer to global synchronize structure.

function handle_cycle_cmd

Handle CYCLE command.

void handle_cycle_cmd (
    const InterChiplet::SyncCommand & __cmd,
    SyncStruct * __sync_struct
) 

Parameters:

  • __cmd Command to handle.
  • __sync_struct Pointer to global synchronize structure.

function handle_launch_cmd

Handle LAUNCH command.

void handle_launch_cmd (
    const InterChiplet::SyncCommand & __cmd,
    SyncStruct * __sync_struct
) 

Parameters:

  • __cmd Command to handle.
  • __sync_struct Pointer to global synchronize structure.

function handle_lock_cmd

Handle LOCK command.

void handle_lock_cmd (
    const InterChiplet::SyncCommand & __cmd,
    SyncStruct * __sync_struct
) 

Parameters:

  • __cmd Command to handle.
  • __sync_struct Pointer to global synchronize structure.

function handle_pipe_cmd

Handle PIPE command.

void handle_pipe_cmd (
    const InterChiplet::SyncCommand & __cmd,
    SyncStruct * __sync_struct
) 

Parameters:

  • __cmd Command to handle.
  • __sync_struct Pointer to global synchronize structure.

function handle_read_cmd

Handle READ command.

void handle_read_cmd (
    const InterChiplet::SyncCommand & __cmd,
    SyncStruct * __sync_struct
) 

Parameters:

  • __cmd Command to handle.
  • __sync_struct Pointer to global synchronize structure.

function handle_unlock_cmd

Handle UNLOCK command.

void handle_unlock_cmd (
    const InterChiplet::SyncCommand & __cmd,
    SyncStruct * __sync_struct
) 

Parameters:

  • __cmd Command to handle.
  • __sync_struct Pointer to global synchronize structure.

function handle_waitlaunch_cmd

Handle WAITLAUNCH command.

void handle_waitlaunch_cmd (
    const InterChiplet::SyncCommand & __cmd,
    SyncStruct * __sync_struct
) 

Parameters:

  • __cmd Command to handle.
  • __sync_struct Pointer to global synchronize structure.

function handle_write_cmd

Handle WRITE command.

void handle_write_cmd (
    const InterChiplet::SyncCommand & __cmd,
    SyncStruct * __sync_struct
) 

Parameters:

  • __cmd Command to handle.
  • __sync_struct Pointer to global synchronize structure.

The documentation for this class was generated from the following file /data_sda/junwan02/legosim/Chiplet_Heterogeneous_newVersion/interchiplet/includes/cmd_handler.h