#include <fifo.h>
Inheritance diagram for fifo:

Public Member Functions | |
| fifo () | |
| void | pkt_in (const pkt &data_pkt) |
| pkt | pkt_out () |
| fifo (sc_module_name name) | |
| void | write (char c) |
| void | read (char &c) |
| void | reset () |
| int | num_available () |
| fifo (sc_module_name name, int size_) | |
| ~fifo () | |
| void | write (char c) |
| void | read (char &c) |
| void | reset () |
| int | num_available () |
Public Attributes | |
| pkt | regs [4] |
| bool | full |
| bool | empty |
| sc_uint< 3 > | pntr |
Private Types | |
| enum | e { max = 10 } |
Private Member Functions | |
| void | compute_stats () |
Private Attributes | |
| char | data [max] |
| int | num_elements |
| int | first |
| sc_event | write_event |
| sc_event | read_event |
| char * | data |
| int | size |
| int | num_read |
| int | max_used |
| int | average |
| sc_time | last_time |
enum fifo::e [private] |
| fifo::fifo | ( | ) | [inline] |
| fifo::fifo | ( | sc_module_name | name | ) | [inline] |
| fifo::fifo | ( | sc_module_name | name, | |
| int | size_ | |||
| ) | [inline] |
| fifo::~fifo | ( | ) | [inline] |
| void fifo::pkt_in | ( | const pkt & | data_pkt | ) |
| pkt fifo::pkt_out | ( | ) |
| void fifo::write | ( | char | c | ) | [inline, virtual] |
Implements write_if.
| void fifo::read | ( | char & | c | ) | [inline, virtual] |
Implements read_if.
| void fifo::reset | ( | ) | [inline, virtual] |
Implements write_if.
| int fifo::num_available | ( | ) | [inline, virtual] |
Implements read_if.
| void fifo::write | ( | char | c | ) | [inline, virtual] |
Implements write_if.
| void fifo::read | ( | char & | c | ) | [inline, virtual] |
Implements read_if.
| void fifo::reset | ( | ) | [inline, virtual] |
Implements write_if.
| int fifo::num_available | ( | ) | [inline, virtual] |
Implements read_if.
| void fifo::compute_stats | ( | ) | [inline, private] |
| pkt fifo::regs[4] |
| bool fifo::full |
| bool fifo::empty |
| sc_uint<3> fifo::pntr |
char fifo::data[max] [private] |
int fifo::num_elements [private] |
int fifo::first [private] |
sc_event fifo::write_event [private] |
sc_event fifo::read_event [private] |
char* fifo::data [private] |
int fifo::size [private] |
int fifo::num_read [private] |
int fifo::max_used [private] |
int fifo::average [private] |
sc_time fifo::last_time [private] |