This document describes the intended operational workflow of the project.
Input:
- process metadata
- layer definitions
- pixelized metal patterns
- port locations
Tooling:
Data_process/JSON_layout_create/
Output:
- one or more layout JSON files
Each layout JSON contains:
- metadata
- per-layer binary matrices
- port definitions
Why this stage matters:
- it is the upstream source of layout samples for the entire repository
- the ADS automation stage consumes these JSON files directly
- the dataset construction stage later reuses the same JSON files when aligning layouts with
.sNpresults
Important usage note:
- for first-time quickstart validation, this stage can be skipped by using the sample JSON files already included under
parallel_version/config_examples/json_layout/ - for actual data generation campaigns, this stage is essential
Input:
- layout JSON files
- layer mapping configuration
- workspace configuration
- PDK or reference technology configuration
Tooling:
parallel_version/subprocess_cli_parallel.pyparallel_version/subprocess_worker_parallel.py
Actions:
- detect ADS Python runtime
- create or open workspace and library
- create cell and layout view
- convert layout matrices to ADS geometry
- place ports using border definitions
- create
rfpro_view
Output:
- ADS workspace objects
- generated layout and EM views
Input:
- created ADS design data
- frequency configuration
- export configuration
Actions:
- configure simulation options
- execute RFPro / ADS EM simulation
- export simulation outputs
Output:
- Touchstone
.sNp - optional CSV exports
- optional ADS dataset exports
Input:
- layout JSON files
- matching
.sNpfiles
Tooling:
Data_process/HDF5_create/create_hdf5.py
Actions:
- convert layout matrices to padded tensors
- interpolate S-parameters onto target frequencies
- flatten complex responses into real-valued vectors
- group compatible samples by port count and matrix size
- write HDF5 datasets
Output:
- HDF5 dataset files for training
Input:
- HDF5 dataset
Tooling:
Pytorch_Model/src/train.pyPytorch_Model/src/dataset.pyPytorch_Model/src/model.py
Actions:
- load HDF5 tensors and metadata
- split into training and validation sets
- build CNN regressor
- train on layout tensors and S-parameter vectors
- save best-performing checkpoint
Output:
- trained
.pthweights
Input:
- HDF5 dataset
- trained model checkpoint
Tooling:
Pytorch_Model/src/tools/verify_model.py
Optional experimental helper:
Pytorch_Model/src/tools/experimental_gui/verify_model_gui.py
Actions:
- run inference on selected samples
- compare predicted and true S-parameter responses
- inspect plots and error metrics
- optionally use the experimental GUI wrapper for ad-hoc local inspection
Output:
- qualitative and quantitative validation results
The recommended public execution line is:
Data_process/JSON_layout_create/parallel_version/Data_process/HDF5_create/Pytorch_Model/
serial_version/ should remain reference material only.
End-to-end runtime validation requires:
- Windows-compatible ADS installation
- ADS Python runtime
- RFPro / EM tooling
- valid license access
- available PDK or reference technology libraries
- simulation outputs are runtime artifacts and should not be committed
- training datasets and model weights should not be committed by default
- some historical files reflect the original development machine and require cleanup before publication