gfn.gym.helpers.chip_design.plc_client¶
PlacementCost client class.
Attributes¶
Classes¶
PlacementCost object wrapper. |
Functions¶
Returns the path to singularity/apptainer, or None. |
|
Resolves the plc_wrapper_main binary location. |
Module Contents¶
- gfn.gym.helpers.chip_design.plc_client.DEFAULT_SIF_IMAGE¶
- class gfn.gym.helpers.chip_design.plc_client.PlacementCost(netlist_file, plc_wrapper_main='', macro_macro_x_spacing=0.0, macro_macro_y_spacing=0.0, singularity_image=None)¶
PlacementCost object wrapper.
- Parameters:
netlist_file (Text)
plc_wrapper_main (str)
macro_macro_x_spacing (float)
macro_macro_y_spacing (float)
singularity_image (Optional[str])
- BUFFER_LEN = 1048576¶
- MAX_RETRY = 256¶
- __getattr__(name)¶
- Return type:
Any
- close()¶
- Return type:
None
- process¶
- sock¶
- gfn.gym.helpers.chip_design.plc_client._PKG_DIR¶
- gfn.gym.helpers.chip_design.plc_client._find_singularity()¶
Returns the path to singularity/apptainer, or None.
- Return type:
Optional[str]
- gfn.gym.helpers.chip_design.plc_client._resolve_plc_binary()¶
Resolves the plc_wrapper_main binary location.
- Resolution order:
PLC_WRAPPER_MAIN environment variable
Native binary in package directory
Apptainer wrapper script in package directory
- Return type:
str
- gfn.gym.helpers.chip_design.plc_client.logger¶