Skip to content

SA PCB Global Structure

Chester Holtz edited this page Aug 17, 2019 · 5 revisions
  • instances component to the netlist

    string name; // parent-component name variable
    double x_offset; // x offset from parent-component center
    double y_offset; // x offset from parent-component center
    int idx; // current Pin's idx
    double depth;
    
  • instances to be placed

    string name; // name variable
    model::polygon<model::d2::point_xy<double> > poly;
    boost::geometry::model::box< model::d2::point_xy<double> > envelope;
    int idx; // moduleInstance's index
    double width; // moduleInstance's width wrt orientation
    double height; // moduleInstance's height wrt orientation
    int weight;
    bool terminal;
    bool fixed; // true --> fix component, false --> allow shifts
    bool overlap; // allow overlap boolean
    double sigma; // variance of shift
    double xCoordinate; // lower left coordinate x
    double yCoordinate; // lower left coordinate y
    double xBy2; // centroid coordinate x
    double yBy2; // centroid coordinate x
    string orientation_str; // orientation str - N/S/E/W/R: Deg
    int init_orientation; // initial orientation
    int orientation; //current orientation
    PIN **pin; // pin pointer's array. Save the PIN* pointer from pinInstance
    vector < int > Netlist; // netlist - vector of pin ids
    
  • nets information
  • terminal information
Clone this wiki locally