HAL
hal::NetLayoutJunctionNet Class Reference

Single net to be routed through the junction. More...

#include <net_layout_junction.h>

Collaboration diagram for hal::NetLayoutJunctionNet:
Collaboration graph

Public Member Functions

 NetLayoutJunctionNet ()
 
void addEntry (NetLayoutDirection dir, int laneInx)
 
QString toString () const
 
bool hasPattern (u32 searchPattern) const
 
int laneIndex (NetLayoutDirection dir) const
 
int numberEntries () const
 
u32 pattern () const
 
void setPattern (u32 pat)
 
bool isPlaced () const
 
QList< NetLayoutJunctionWirewireAtPos (int pos, LaneIndex::HVIndex hvi)
 
void setPlaced ()
 
void addWire (const NetLayoutJunctionWire &wire)
 
void replaceWire (const NetLayoutJunctionRange &rng, const NetLayoutJunctionWire &wire)
 
QList< QPointjunctionKnots () const
 

Public Attributes

QList< NetLayoutJunctionWiremWires
 
QList< QPointmKnots
 

Detailed Description

Single net to be routed through the junction.

At this point there can only be one entry point for each given direction.

Definition at line 330 of file net_layout_junction.h.

Constructor & Destructor Documentation

◆ NetLayoutJunctionNet()

hal::NetLayoutJunctionNet::NetLayoutJunctionNet ( )

Definition at line 774 of file net_layout_junction.cpp.

References hal::NetLayoutDirection::isMax().

Member Function Documentation

◆ addEntry()

void hal::NetLayoutJunctionNet::addEntry ( NetLayoutDirection  dir,
int  laneInx 
)

◆ addWire()

void hal::NetLayoutJunctionNet::addWire ( const NetLayoutJunctionWire wire)
inline

Definition at line 357 of file net_layout_junction.h.

References mWires.

◆ hasPattern()

bool hal::NetLayoutJunctionNet::hasPattern ( u32  searchPattern) const

Check whether search pattern is included in binary pattern

Parameters
searchPatternCombination of Left (bit 0), Right (bit 1), Up (bit 2), Down (bit 3)
Returns
true if search pattern is included in binary pattern, false otherwise

Definition at line 788 of file net_layout_junction.cpp.

◆ isPlaced()

bool hal::NetLayoutJunctionNet::isPlaced ( ) const
inline

Definition at line 354 of file net_layout_junction.h.

◆ junctionKnots()

QList<QPoint> hal::NetLayoutJunctionNet::junctionKnots ( ) const
inline

Definition at line 359 of file net_layout_junction.h.

References mKnots.

◆ laneIndex()

int hal::NetLayoutJunctionNet::laneIndex ( NetLayoutDirection  dir) const
inline

Definition at line 350 of file net_layout_junction.h.

References hal::NetLayoutDirection::index().

◆ numberEntries()

int hal::NetLayoutJunctionNet::numberEntries ( ) const
inline

Definition at line 351 of file net_layout_junction.h.

◆ pattern()

u32 hal::NetLayoutJunctionNet::pattern ( ) const
inline

Definition at line 352 of file net_layout_junction.h.

◆ replaceWire()

void hal::NetLayoutJunctionNet::replaceWire ( const NetLayoutJunctionRange rng,
const NetLayoutJunctionWire wire 
)

Definition at line 793 of file net_layout_junction.cpp.

References mWires.

◆ setPattern()

void hal::NetLayoutJunctionNet::setPattern ( u32  pat)
inline

Definition at line 353 of file net_layout_junction.h.

◆ setPlaced()

void hal::NetLayoutJunctionNet::setPlaced ( )
inline

Definition at line 356 of file net_layout_junction.h.

◆ toString()

QString hal::NetLayoutJunctionNet::toString ( ) const

◆ wireAtPos()

QList< NetLayoutJunctionWire > hal::NetLayoutJunctionNet::wireAtPos ( int  pos,
LaneIndex::HVIndex  hvi 
)

Definition at line 803 of file net_layout_junction.cpp.

References QList::append(), and mWires.

Member Data Documentation

◆ mKnots

QList<QPoint> hal::NetLayoutJunctionNet::mKnots

Definition at line 338 of file net_layout_junction.h.

Referenced by junctionKnots().

◆ mWires

QList<NetLayoutJunctionWire> hal::NetLayoutJunctionNet::mWires

Definition at line 337 of file net_layout_junction.h.

Referenced by addWire(), replaceWire(), and wireAtPos().


The documentation for this class was generated from the following files: