Overview

In this tutorial, we'll walk through how to use some of the key features mentioned, including shortcuts for schematic editing, understanding schematic elements in YAML.

1. Schematic in YAML Format

The schematic of a design is represented in a human-readable YAML format. Here's an overview of the key components of a YAML schematic:

  • Instances: The individual components or building blocks in your design. Each instance represents a unique part of the system, has a name, and may include configurable settings.
  • Placements: Define the position and orientation (x, y, and rotation) of an instance in the design. Proper placement ensures that components align correctly with each other.
  • Connections: Describe how components are linked together. A connection represents an abutment between two instances.
  • Routes: Specify automatically generated bundle routes between two groups of ports. The ports at each end must share the same orientation.
  • Ports: The external interfaces of a component. Ports connect components to one another or to external systems, and are often used for simulations.

You can read more about this in GDSFactory documentation.

2. Rebuild and Monitor Errors

GDSFactory+ automatically tracks changes to your files and takes actions such as rebuilding your components and monitoring errors in real-time. This means you don’t need to manually trigger a rebuild every time you make a change; the system takes care of it for you.

How it Works: When you save a file, the app detects the change, rebuilds the component, and reports any errors in real-time.

Example Workflow:

  • You are editing a schematic file.
  • As soon as you save the file, the app kicks in, rebuilding the component.
  • If there are errors, they will be highlighted immediately for you to fix.

Implementation Example:

Benefits:

  • Saves time by automatically rebuilding your code or components on each save.
  • Reduces errors by providing immediate feedback on any issues during the development process.
On This Page