Coverage for klayout_pex_protobuf/kpex/layout/device_pb2.py: 67%

21 statements  

« prev     ^ index     » next       coverage.py v7.10.2, created at 2025-08-08 18:54 +0000

1# -*- coding: utf-8 -*- 

2# Generated by the protocol buffer compiler. DO NOT EDIT! 

3# NO CHECKED-IN PROTOBUF GENCODE 

4# source: kpex/layout/device.proto 

5# Protobuf Python Version: 6.31.0 

6"""Generated protocol buffer code.""" 

7from google.protobuf import descriptor as _descriptor 

8from google.protobuf import descriptor_pool as _descriptor_pool 

9from google.protobuf import runtime_version as _runtime_version 

10from google.protobuf import symbol_database as _symbol_database 

11from google.protobuf.internal import builder as _builder 

12_runtime_version.ValidateProtobufRuntimeVersion( 

13 _runtime_version.Domain.PUBLIC, 

14 6, 

15 31, 

16 0, 

17 '', 

18 'kpex/layout/device.proto' 

19) 

20# @@protoc_insertion_point(imports) 

21 

22_sym_db = _symbol_database.Default() 

23 

24 

25from kpex.layout import layer_ref_pb2 as kpex_dot_layout_dot_layer__ref__pb2 

26from kpex.layout import layer_region_pb2 as kpex_dot_layout_dot_layer__region__pb2 

27 

28 

29DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x18kpex/layout/device.proto\x12\x0bkpex.layout\x1a\x1bkpex/layout/layer_ref.proto\x1a\x1ekpex/layout/layer_region.proto\"\x84\x03\n\x06\x44\x65vice\x12\n\n\x02id\x18\x01 \x01(\r\x12\x13\n\x0b\x64\x65vice_name\x18\n \x01(\t\x12\x19\n\x11\x64\x65vice_class_name\x18\x14 \x01(\t\x12\x1c\n\x14\x64\x65vice_abstract_name\x18\x1e \x01(\t\x12\x31\n\nparameters\x18( \x03(\x0b\x32\x1d.kpex.layout.Device.Parameter\x12/\n\tterminals\x18\x32 \x03(\x0b\x32\x1c.kpex.layout.Device.Terminal\x1a\x34\n\tParameter\x12\n\n\x02id\x18\x01 \x01(\r\x12\x0c\n\x04name\x18\n \x01(\t\x12\r\n\x05value\x18\x14 \x01(\x01\x1a\x85\x01\n\x08Terminal\x12\x11\n\tdevice_id\x18\x01 \x01(\r\x12\x13\n\x0bterminal_id\x18\n \x01(\r\x12\x0c\n\x04name\x18\x14 \x01(\t\x12\x10\n\x08net_name\x18\x15 \x01(\t\x12\x31\n\x0fregion_by_layer\x18\x1e \x03(\x0b\x32\x18.kpex.layout.LayerRegionb\x06proto3') 

30 

31_globals = globals() 

32_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) 

33_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'kpex.layout.device_pb2', _globals) 

34if not _descriptor._USE_C_DESCRIPTORS: 

35 DESCRIPTOR._loaded_options = None 

36 _globals['_DEVICE']._serialized_start=103 

37 _globals['_DEVICE']._serialized_end=491 

38 _globals['_DEVICE_PARAMETER']._serialized_start=303 

39 _globals['_DEVICE_PARAMETER']._serialized_end=355 

40 _globals['_DEVICE_TERMINAL']._serialized_start=358 

41 _globals['_DEVICE_TERMINAL']._serialized_end=491 

42# @@protoc_insertion_point(module_scope)