# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: circuit.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import builder as _builder
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import symbol_database as _symbol_database

# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from . import utils_pb2 as utils__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
    b'\n\rcircuit.proto\x12\rvlsir.circuit\x1a\x0butils.proto"\x83\x01\n\x07Package\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12&\n\x07modules\x18\x02 \x03(\x0b\x32\x15.vlsir.circuit.Module\x12\x32\n\x0b\x65xt_modules\x18\x03 \x03(\x0b\x32\x1d.vlsir.circuit.ExternalModule\x12\x0c\n\x04\x64\x65sc\x18\n \x01(\t"\x81\x01\n\x04Port\x12\x0e\n\x06signal\x18\x01 \x01(\t\x12\x30\n\tdirection\x18\x02 \x01(\x0e\x32\x1d.vlsir.circuit.Port.Direction"7\n\tDirection\x12\t\n\x05INPUT\x10\x00\x12\n\n\x06OUTPUT\x10\x01\x12\t\n\x05INOUT\x10\x02\x12\x08\n\x04NONE\x10\x03"%\n\x06Signal\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05width\x18\x02 \x01(\x03"1\n\x05Slice\x12\x0e\n\x06signal\x18\x01 \x01(\t\x12\x0b\n\x03top\x18\x02 \x01(\x03\x12\x0b\n\x03\x62ot\x18\x03 \x01(\x03"8\n\x06\x43oncat\x12.\n\x05parts\x18\x01 \x03(\x0b\x32\x1f.vlsir.circuit.ConnectionTarget"z\n\x10\x43onnectionTarget\x12\r\n\x03sig\x18\x01 \x01(\tH\x00\x12%\n\x05slice\x18\x02 \x01(\x0b\x32\x14.vlsir.circuit.SliceH\x00\x12\'\n\x06\x63oncat\x18\x03 \x01(\x0b\x32\x15.vlsir.circuit.ConcatH\x00\x42\x07\n\x05stype"O\n\nConnection\x12\x10\n\x08portname\x18\x01 \x01(\t\x12/\n\x06target\x18\x02 \x01(\x0b\x32\x1f.vlsir.circuit.ConnectionTarget"\x98\x01\n\x08Instance\x12\x0c\n\x04name\x18\x01 \x01(\t\x12&\n\x06module\x18\x02 \x01(\x0b\x32\x16.vlsir.utils.Reference\x12&\n\nparameters\x18\x03 \x03(\x0b\x32\x12.vlsir.utils.Param\x12.\n\x0b\x63onnections\x18\x04 \x03(\x0b\x32\x19.vlsir.circuit.Connection"\xc8\x01\n\x06Module\x12\x0c\n\x04name\x18\x01 \x01(\t\x12"\n\x05ports\x18\x02 \x03(\x0b\x32\x13.vlsir.circuit.Port\x12&\n\x07signals\x18\x03 \x03(\x0b\x32\x15.vlsir.circuit.Signal\x12*\n\tinstances\x18\x04 \x03(\x0b\x32\x17.vlsir.circuit.Instance\x12&\n\nparameters\x18\x05 \x03(\x0b\x32\x12.vlsir.utils.Param\x12\x10\n\x08literals\x18\x06 \x03(\t"\xe9\x01\n\x0e\x45xternalModule\x12(\n\x04name\x18\x01 \x01(\x0b\x32\x1a.vlsir.utils.QualifiedName\x12\x0c\n\x04\x64\x65sc\x18\x02 \x01(\t\x12"\n\x05ports\x18\x03 \x03(\x0b\x32\x13.vlsir.circuit.Port\x12&\n\x07signals\x18\x04 \x03(\x0b\x32\x15.vlsir.circuit.Signal\x12&\n\nparameters\x18\x05 \x03(\x0b\x32\x12.vlsir.utils.Param\x12+\n\tspicetype\x18\x06 \x01(\x0e\x32\x18.vlsir.circuit.SpiceType"=\n\tInterface\x12\x0c\n\x04name\x18\x01 \x01(\t\x12"\n\x05ports\x18\n \x03(\x0b\x32\x13.vlsir.circuit.Port*\xb0\x01\n\tSpiceType\x12\n\n\x06SUBCKT\x10\x00\x12\x0c\n\x08RESISTOR\x10\x01\x12\r\n\tCAPACITOR\x10\x02\x12\x0c\n\x08INDUCTOR\x10\x03\x12\x07\n\x03MOS\x10\x04\x12\t\n\x05\x44IODE\x10\x05\x12\x0b\n\x07\x42IPOLAR\x10\x06\x12\x0b\n\x07VSOURCE\x10\x07\x12\x0b\n\x07ISOURCE\x10\x08\x12\x08\n\x04VCVS\x10\t\x12\x08\n\x04VCCS\x10\n\x12\x08\n\x04\x43\x43\x43S\x10\x0b\x12\x08\n\x04\x43\x43VS\x10\x0c\x12\t\n\x05TLINE\x10\rb\x06proto3'
)

_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "circuit_pb2", globals())
if _descriptor._USE_C_DESCRIPTORS == False:

    DESCRIPTOR._options = None
    _SPICETYPE._serialized_start = 1322
    _SPICETYPE._serialized_end = 1498
    _PACKAGE._serialized_start = 46
    _PACKAGE._serialized_end = 177
    _PORT._serialized_start = 180
    _PORT._serialized_end = 309
    _PORT_DIRECTION._serialized_start = 254
    _PORT_DIRECTION._serialized_end = 309
    _SIGNAL._serialized_start = 311
    _SIGNAL._serialized_end = 348
    _SLICE._serialized_start = 350
    _SLICE._serialized_end = 399
    _CONCAT._serialized_start = 401
    _CONCAT._serialized_end = 457
    _CONNECTIONTARGET._serialized_start = 459
    _CONNECTIONTARGET._serialized_end = 581
    _CONNECTION._serialized_start = 583
    _CONNECTION._serialized_end = 662
    _INSTANCE._serialized_start = 665
    _INSTANCE._serialized_end = 817
    _MODULE._serialized_start = 820
    _MODULE._serialized_end = 1020
    _EXTERNALMODULE._serialized_start = 1023
    _EXTERNALMODULE._serialized_end = 1256
    _INTERFACE._serialized_start = 1258
    _INTERFACE._serialized_end = 1319
# @@protoc_insertion_point(module_scope)
