13.01.2015 Views

Digital Subscriber Line Access Multiplexer (DSLAM) Example Design

Digital Subscriber Line Access Multiplexer (DSLAM) Example Design

Digital Subscriber Line Access Multiplexer (DSLAM) Example Design

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Digital</strong> <strong>Subscriber</strong> <strong>Line</strong> <strong>Access</strong> <strong>Multiplexer</strong> (<strong>DSLAM</strong>) <strong>Example</strong> <strong>Design</strong><br />

UINT inter_cell_gap: 16; // Shaped wheel slots, indicates port bandwidth<br />

UINT last_cell_sent: 16; // Shaped wheel slot<br />

// LongWord - 2<br />

UINT current_WRR_count: 8;// Decrementing WRR count<br />

UINT WRR_count: 8;// WRR weight assigned to this VC<br />

UINT current_unshaped_VC_index: 16; // This is the unshaped VC index<br />

currently<br />

// being processed<br />

// LongWord - 3:18<br />

Unshaped_VC unshaped_VC[16];// 16 unshaped queues and its associated<br />

weights<br />

// LongWord - 19;//Intercellgap and Lastcellsent<br />

Unshaped_VC unshaped_VC[16];// 16 unshaped queues and its associated<br />

weights<br />

// LongWord - 20:31<br />

UINT port_unused_1[13];// For alignment<br />

};<br />

4.3.1.2 VC Table Entry<br />

//////////////////////////////////////////////////////////////////////////////<br />

// VC table entry<br />

// 8 lw per entry * 4096 VCs * 4 = 131Kbytes<br />

struct VC_Entry_ {<br />

// LongWord - 0<br />

UINT CRC_Residue: 32;// CRC-32 residue.<br />

// LongWord - 1<br />

UINT vc_unused_0: 16;// For alignment<br />

UINT queue_threshold_lo: 8; // Cells<br />

UINT num_cells_enqueued: 8;// Cells<br />

// LongWord - 2<br />

UINT entry_valid: 1;// Set to 0 if VC is not configured<br />

UINT vc_unused_1: 7;// For alignment<br />

UINT unshaped_q_position: 4;// Offset in port table’ "unshaped_VC" this VC<br />

is located<br />

UINT wheel_num: 2;// Totally 4 wheel-pairs.<br />

UINT type: 2; // Shaped CBR, shaped VBR-rt, shaped VBR-nrt, unshaped<br />

classes<br />

UINT port_num: 8;// Physical port #<br />

UINT queue_threshold_hi: 8; // Cells<br />

// LongWord - 3<br />

UINT last_SCR_cell_sent: 16;// Slot location in wheel<br />

UINT current_MBS: 16;// Unused bits padding for alignment<br />

// LongWord - 4<br />

UINT last_PCR_cell_sent: 16;// Slot location in wheel<br />

UINT PCR: 16; // Shaped Wheel slots<br />

// LongWord - 5<br />

UINT MBS: 16; // Cells<br />

UINT SCR: 16; // Shaped Wheel slots<br />

// LongWord - 6<br />

UINT atm_header;// AAL5 header<br />

// LongWord - 7<br />

UINT vc_unused_2;// For alignment (being used for AAL5 Header)<br />

Application Note 31

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!