Skip to content

File cmd_handler.cpp

FileList > interchiplet > srcs > cmd_handler.cpp

Go to the source code of this file.

  • #include "cmd_handler.h"
  • #include <sstream>
  • #include <string>
  • #include "spdlog/spdlog.h"

Public Functions

Type Name
void handle_barrier_cmd (const InterChiplet::SyncCommand & __cmd, SyncStruct * __sync_struct)
Handle BARRIER command.
void handle_barrier_write_cmd (const InterChiplet::SyncCommand & __cmd, SyncStruct * __sync_struct)
Handle WRITE command with barrier flag.
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_lock_write_cmd (const InterChiplet::SyncCommand & __cmd, SyncStruct * __sync_struct)
Handle WRITE command with LOCK flag.
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_unlock_write_cmd (const InterChiplet::SyncCommand & __cmd, SyncStruct * __sync_struct)
Handle WRITE command with UNLOCK flag.
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 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_barrier_write_cmd

Handle WRITE command with barrier flag.

void handle_barrier_write_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_lock_write_cmd

Handle WRITE command with LOCK flag.

void handle_lock_write_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_unlock_write_cmd

Handle WRITE command with UNLOCK flag.

void handle_unlock_write_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/srcs/cmd_handler.cpp