scf_eda.proto
authoryu.dongliang <18588496441@163.com>
Tue, 18 Jul 2023 09:37:34 +0000 (17:37 +0800)
committeryu.dongliang <18588496441@163.com>
Tue, 18 Jul 2023 09:37:34 +0000 (17:37 +0800)
scf_eda.pb-c.c
scf_eda.pb-c.h
scf_eda.proto
ses_loop.c

index 045444bcba6b3ef6f50e9caaf1212584440dbe9c..fccdbe631969b489be9f0a6319eab9ef392ccef7 100644 (file)
@@ -578,7 +578,7 @@ const ProtobufCMessageDescriptor scf_econn__descriptor =
   (ProtobufCMessageInit) scf_econn__init,
   NULL,NULL,NULL    /* reserved[123] */
 };
-static const ProtobufCFieldDescriptor scf_eline__field_descriptors[5] =
+static const ProtobufCFieldDescriptor scf_eline__field_descriptors[6] =
 {
   {
     "id",
@@ -640,6 +640,18 @@ static const ProtobufCFieldDescriptor scf_eline__field_descriptors[5] =
     0,             /* flags */
     0,NULL,NULL    /* reserved1,reserved2, etc */
   },
+  {
+    "vflag",
+    6,
+    PROTOBUF_C_LABEL_REQUIRED,
+    PROTOBUF_C_TYPE_BOOL,
+    0,   /* quantifier_offset */
+    offsetof(ScfEline, vflag),
+    NULL,
+    NULL,
+    0,             /* flags */
+    0,NULL,NULL    /* reserved1,reserved2, etc */
+  },
 };
 static const unsigned scf_eline__field_indices_by_name[] = {
   3,   /* field[3] = conns */
@@ -647,11 +659,12 @@ static const unsigned scf_eline__field_indices_by_name[] = {
   0,   /* field[0] = id */
   4,   /* field[4] = lines */
   1,   /* field[1] = pins */
+  5,   /* field[5] = vflag */
 };
 static const ProtobufCIntRange scf_eline__number_ranges[1 + 1] =
 {
   { 1, 0 },
-  { 0, 5 }
+  { 0, 6 }
 };
 const ProtobufCMessageDescriptor scf_eline__descriptor =
 {
@@ -661,7 +674,7 @@ const ProtobufCMessageDescriptor scf_eline__descriptor =
   "ScfEline",
   "",
   sizeof(ScfEline),
-  5,
+  6,
   scf_eline__field_descriptors,
   scf_eline__field_indices_by_name,
   1,  scf_eline__number_ranges,
index 6a69624c58e00ab4c0650db3bdeabac68200728c..15b3352fa51b48a41cbc3f5a9530dae31b4f3eee 100644 (file)
@@ -84,10 +84,11 @@ struct  _ScfEline
   ScfEconn **conns;
   size_t n_lines;
   ScfLine **lines;
+  protobuf_c_boolean vflag;
 };
 #define SCF_ELINE__INIT \
  { PROTOBUF_C_MESSAGE_INIT (&scf_eline__descriptor) \
-    , 0, 0,NULL, 0, 0,NULL, 0,NULL }
+    , 0, 0,NULL, 0, 0,NULL, 0,NULL, 0 }
 
 
 struct  _ScfEcomponent
index f249abc2eccf1c5d96a01f08b1e01c673bbe49ed..420fa1c71a12f854aec2dd8cbd1c3fed56a9b83e 100644 (file)
@@ -35,6 +35,7 @@ message scf_eline
        required uint64    flags = 3;
        repeated scf_econn conns = 4;
        repeated scf_line  lines = 5;
+       required bool      vflag = 6;
 }
 
 message scf_ecomponent
index 607af4deacd2024baeb129c980e9929edbf2f6f5..aea5e6c7efc901668aa5698c28463aba724b0c82 100644 (file)
@@ -41,7 +41,7 @@ static int __ses_dfs_tree(ScfEfunction* f, ScfEcomponent* root, scf_vector_t* ed
                        c->vflag = 1;
                        p->vflag = 1;
 
-                       scf_loge("c%ld_p%ld --> c%ld_p%ld\n", root->id, rp->id, c->id, p->id);
+                       scf_loge("c%ld_p%ld -- l%ld --> c%ld_p%ld\n", root->id, rp->id, rp->lid, c->id, p->id);
 
                        int ret = scf_vector_add(edges, e);
                        if ( ret < 0)