/*
 * Copyright 2022 GlobalFoundries PDK Authors
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

  symbol ("gf180mcu_fd_sc_mcu9t5v0__antenna") {
    set_minimum_boundary (-90 * SCALE, -30 * SCALE, 70 * SCALE, 30 * SCALE);
    line (-70 * SCALE, -30 * SCALE, -70 * SCALE, 30 * SCALE);
    line (-70 * SCALE, 30 * SCALE, 70 * SCALE, 30 * SCALE);
    line (70 * SCALE, 30 * SCALE, 70 * SCALE, -30 * SCALE);
    line (70 * SCALE, -30 * SCALE, -70 * SCALE, -30 * SCALE);
    line (-90 * SCALE, 0 * SCALE, -70 * SCALE, 0 * SCALE);
    line (-114 * SCALE, -4 * SCALE, -114 * SCALE, 4 * SCALE);
    line (-114 * SCALE, 4 * SCALE, -86 * SCALE, 4 * SCALE);
    line (-86 * SCALE, 4 * SCALE, -86 * SCALE, -4 * SCALE);
    line (-86 * SCALE, -4 * SCALE, -114 * SCALE, -4 * SCALE);
    pin ("I", -100 * SCALE, 0 * SCALE, ANY_ROTATION);
  } /* end of symbol "gf180mcu_fd_sc_mcu9t5v0__antenna" */
