gfn.gym.helpers.chip_design.plc_client ====================================== .. py:module:: gfn.gym.helpers.chip_design.plc_client .. autoapi-nested-parse:: PlacementCost client class. Attributes ---------- .. autoapisummary:: gfn.gym.helpers.chip_design.plc_client.DEFAULT_SIF_IMAGE gfn.gym.helpers.chip_design.plc_client._PKG_DIR gfn.gym.helpers.chip_design.plc_client.logger Classes ------- .. autoapisummary:: gfn.gym.helpers.chip_design.plc_client.PlacementCost Functions --------- .. autoapisummary:: gfn.gym.helpers.chip_design.plc_client._find_singularity gfn.gym.helpers.chip_design.plc_client._resolve_plc_binary Module Contents --------------- .. py:data:: DEFAULT_SIF_IMAGE .. py:class:: PlacementCost(netlist_file, plc_wrapper_main = '', macro_macro_x_spacing = 0.0, macro_macro_y_spacing = 0.0, singularity_image = None) PlacementCost object wrapper. .. py:attribute:: BUFFER_LEN :value: 1048576 .. py:attribute:: MAX_RETRY :value: 256 .. py:method:: __getattr__(name) .. py:method:: close() .. py:attribute:: process .. py:attribute:: sock .. py:data:: _PKG_DIR .. py:function:: _find_singularity() Returns the path to singularity/apptainer, or None. .. py:function:: _resolve_plc_binary() Resolves the plc_wrapper_main binary location. Resolution order: 1. PLC_WRAPPER_MAIN environment variable 2. Native binary in package directory 3. Apptainer wrapper script in package directory .. py:data:: logger