orca-sim
Classes | Typedefs | Enumerations
orcasim::models::orca Namespace Reference

Classes

class  DmaNetif
 
class  NetBridge
 
class  udp_client
 
class  udp_client_server_runtime_error
 
class  udp_server
 

Typedefs

typedef uint16_t FlitType
 flit More...
 

Enumerations

enum  DmaNetifRecvState {
  DmaNetifRecvState::RELOAD_WAIT, DmaNetifRecvState::RELOAD_SIZE, DmaNetifRecvState::RELOAD_COPY, DmaNetifRecvState::RELOAD_FLUSH,
  DmaNetifRecvState::WAIT_ADDR_FLIT, DmaNetifRecvState::WAIT_SIZE_FLIT, DmaNetifRecvState::WAIT_PAYLOAD, DmaNetifRecvState::WAIT_CONFIG_STALL,
  DmaNetifRecvState::COPY_RELEASE, DmaNetifRecvState::FLUSH
}
 blabla More...
 
enum  DmaNetifSendState { DmaNetifSendState::WAIT_CONFIG_STALL, DmaNetifSendState::COPY_AND_RELEASE, DmaNetifSendState::SEND_DATA_TO_NOC, DmaNetifSendState::FLUSH }
 blabla More...
 
enum  NetBridgeRecvState { NetBridgeRecvState::READY, NetBridgeRecvState::READ_LEN, NetBridgeRecvState::RECV_PAYLOAD }
 
enum  NetBridgeSendState { NetBridgeSendState::READY, NetBridgeSendState::SEND_LEN, NetBridgeSendState::SEND_PAYLOAD }
 

Typedef Documentation

§ FlitType

flit

Definition at line 58 of file DmaNetif.hpp.

Enumeration Type Documentation

§ DmaNetifRecvState

blabla

Enumerator
RELOAD_WAIT 
RELOAD_SIZE 
RELOAD_COPY 
RELOAD_FLUSH 
WAIT_ADDR_FLIT 
WAIT_SIZE_FLIT 
WAIT_PAYLOAD 
WAIT_CONFIG_STALL 
COPY_RELEASE 
FLUSH 

Definition at line 64 of file DmaNetif.hpp.

64  {
65 
66  RELOAD_WAIT, // wait for a flit to "wake up" the ni
67  RELOAD_SIZE, // wait for the size of the burst
68  RELOAD_COPY, // copy raw payload into memory
69  RELOAD_FLUSH, // ?
70 
71  WAIT_ADDR_FLIT, // wait some flit to arrive at the local port
72  WAIT_SIZE_FLIT, // read size flit to determine how many will come next
73  WAIT_PAYLOAD, // wait for remaining flits to arrive, and interrupt
74  WAIT_CONFIG_STALL, // wait for the cpu to configure the dma
75  COPY_RELEASE, // stalls cpu, copy data, and release
76  FLUSH // waits for the CPU to lower the recv signal
77 };

§ DmaNetifSendState

blabla

Enumerator
WAIT_CONFIG_STALL 
COPY_AND_RELEASE 
SEND_DATA_TO_NOC 
FLUSH 

Definition at line 83 of file DmaNetif.hpp.

83  {
84  WAIT_CONFIG_STALL, // wait cpt to configure and raise _sig_send, stall
85  COPY_AND_RELEASE, // copy content from memory, release cpu
86  SEND_DATA_TO_NOC, // write data to the network, raise _send_status
87  FLUSH // wait for the cpu to lower the send signal (ack)
88 };

§ NetBridgeRecvState

§ NetBridgeSendState