<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.3 20210610//EN" "JATS-journalpublishing1-3.dtd">
<article article-type="research-article" dtd-version="1.3" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xml:lang="ru"><front><journal-meta><journal-id journal-id-type="publisher-id">inform</journal-id><journal-title-group><journal-title xml:lang="ru">Информатика</journal-title><trans-title-group xml:lang="en"><trans-title>Informatics</trans-title></trans-title-group></journal-title-group><issn pub-type="ppub">1816-0301</issn><issn pub-type="epub">2617-6963</issn><publisher><publisher-name>UIIP NASB</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.37661/1816-0301-2024-21-3-23-38</article-id><article-id custom-type="elpub" pub-id-type="custom">inform-1292</article-id><article-categories><subj-group subj-group-type="heading"><subject>Research Article</subject></subj-group><subj-group subj-group-type="section-heading" xml:lang="ru"><subject>ЛОГИЧЕСКОЕ ПРОЕКТИРОВАНИЕ</subject></subj-group><subj-group subj-group-type="section-heading" xml:lang="en"><subject>LOGICAL DESIGN</subject></subj-group></article-categories><title-group><article-title>Извлечение логических сетей при декомпиляции описаний КМОП-схем на уровне транзисторов</article-title><trans-title-group xml:lang="en"><trans-title>Extraction of logical networks during decompiling transistor-level CMOS circuit descriptions</trans-title></trans-title-group></title-group><contrib-group><contrib contrib-type="author" corresp="yes"><name-alternatives><name name-style="eastern" xml:lang="ru"><surname>Черемисинов</surname><given-names>Д. И.</given-names></name><name name-style="western" xml:lang="en"><surname>Cheremisinov</surname><given-names>D. I.</given-names></name></name-alternatives><bio xml:lang="ru"><p>Черемисинов Дмитрий Иванович, кандидат технических наук, доцент, ведущий научный сотрудник</p><p>ул. Сурганова, 6, Минск, 220012</p></bio><bio xml:lang="en"><p>Dmitry I. Cheremisinov, Ph. D. (Eng.), Assoc. Prof., Leading Researcher</p><p>st. Surganova, 6, Minsk, 220012</p></bio><email xlink:type="simple">cher@newman.bas-net.by</email><xref ref-type="aff" rid="aff-1"/></contrib><contrib contrib-type="author" corresp="yes"><name-alternatives><name name-style="eastern" xml:lang="ru"><surname>Черемисинова</surname><given-names>Л. Д.</given-names></name><name name-style="western" xml:lang="en"><surname>Cheremisinova</surname><given-names>L. D.</given-names></name></name-alternatives><bio xml:lang="ru"><p>Черемисинова Людмила Дмитриевна, доктор технических наук, профессор, главный научный сотрудник,</p><p>ул. Сурганова, 6, Минск, 220012</p></bio><bio xml:lang="en"><p>Ljudmila D. Cheremisinova, D. Sc. (Eng.), Prof., Chief Researcher</p><p>st. Surganova, 6, Minsk, 220012</p></bio><email xlink:type="simple">cld@newman.bas-net.by</email><xref ref-type="aff" rid="aff-1"/></contrib></contrib-group><aff-alternatives id="aff-1"><aff xml:lang="ru"><institution>Объединенный институт проблем информатики Национальной академии наук Беларуси</institution></aff><aff xml:lang="en"><institution>The United Institute of Informatics Problems of the National Academy of Sciences of Belarus</institution></aff></aff-alternatives><pub-date pub-type="collection"><year>2024</year></pub-date><pub-date pub-type="epub"><day>30</day><month>09</month><year>2024</year></pub-date><volume>21</volume><issue>3</issue><fpage>23</fpage><lpage>38</lpage><permissions><copyright-statement>Copyright &amp;#x00A9; Черемисинов Д.И., Черемисинова Л.Д., 2024</copyright-statement><copyright-year>2024</copyright-year><copyright-holder xml:lang="ru">Черемисинов Д.И., Черемисинова Л.Д.</copyright-holder><copyright-holder xml:lang="en">Cheremisinov D.I., Cheremisinova L.D.</copyright-holder><license xml:lang="ru" license-type="creative-commons-attribution" xlink:href="https://creativecommons.org/licenses/by/4.0/" xlink:type="simple"><license-p>Данная работа распространяется под лицензией Creative Commons Attribution 4.0.</license-p></license><license xml:lang="en" license-type="creative-commons-attribution" xlink:href="https://creativecommons.org/licenses/by/4.0/" xlink:type="simple"><license-p>This work is licensed under a Creative Commons Attribution 4.0 License.</license-p></license></permissions><self-uri xlink:href="https://inf.grid.by/jour/article/view/1292">https://inf.grid.by/jour/article/view/1292</self-uri><abstract><sec><title>Цели</title><p>Цели. Рассматривается проблема восстановления функционального описания цифровых устройств СБИС, представленных на транзисторном уровне. Целью исследования является разработка метода и программных средств выделения блоков, представляющих логические сети, из двухуровневых описаний КМОП-схем на транзисторном уровне, которые были получены в результате распознавания (экстракции) подсхем, реализующих логические элементы.</p></sec><sec><title>Методы</title><p>Методы. Предлагаются графовые методы и программные средства извлечения связных блоков, представляющих логические сети, из двухуровневых описаний транзисторных схем в формате SPICE. В графовой интерпретации задача сводится к построению помеченного ориентированного графа логической сети, исходя из помеченного неориентированного двудольного графа, задающего двухуровневое описание транзисторной схемы.</p></sec><sec><title>Результаты</title><p>Результаты. Предложенный метод позволяет выделить лексикографически ранжируемые логические сети, от которых производится переход к логическим уравнениям, задающим функции, реализуемые на выходных полюсах полученных сетей. Разработаны программные средства, которые обеспечивают генерацию иерархического описания в формате SPICE, реализующего исходную схему на транзисторном уровне, а также описания выделенных логических сетей на языке SF иерархических структурно-функциональных описаний дискретных устройств и на языках высокого уровня (VHDL и Verilog).</p></sec><sec><title>Заключение</title><p>Заключение. Разработанные программные средства включены в программу декомпиляции транзисторных КМОП-схем и протестированы в ее составе на практических примерах схем транзисторного уровня. В работе приведены примеры обратного инжиниринга некоторых практических транзисторных схем.</p></sec></abstract><trans-abstract xml:lang="en"><sec><title>Objectives</title><p>Objectives. The problem of restoring the functional description of digital VLSI devices presented at the transistor level is considered. The objective of the work is to develop means for extraction of blocks representing logical networks from two-level descriptions of CMOS circuits at the transistor level, which were obtained as a result of recognition (extraction) of subcircuits that implement logic elements.</p></sec><sec><title>Methods</title><p>Methods. Graph based methods and software tools are proposed for extracting a connected blocks representing a logical network from two-level descriptions of a transistor circuits in SPICE format. In the graph interpretation, the task is reduced to constructing a labeled directed graph of a logical network based on a labeled undirected bipartite graph specifying a two-level description of the transistor circuit.</p></sec><sec><title>Results</title><p>Results. The proposed method makes it possible to identify lexicographically ranked logical networks, from which a transition is made to logical equations that specify the functions implemented at the outputs of the resulting networks. Software tools have been developed that provide the generation of a hierarchical description in SPICE format that implements the original circuit at the transistor level, as well as descriptions of found logical networks in the SF language of hierarchical structural and functional descriptions of discrete devices and in high-level languages (VHDL and Verilog).</p></sec><sec><title>Conclusion</title><p>Conclusion. The developed methods are implemented in C++, included in the program for decompiling transistor CMOS circuits and tested within it on practical examples of transistor-level circuits. The paper provides examples of reverse engineering of some practical transistor circuits.</p></sec></trans-abstract><kwd-group xml:lang="ru"><kwd>экстракция транзисторных подсхем</kwd><kwd>КМОП-схемы</kwd><kwd>формат SPICE</kwd><kwd>распознавание логических вентилей</kwd><kwd>логическая сеть</kwd><kwd>обратный инжиниринг</kwd></kwd-group><kwd-group xml:lang="en"><kwd>transistor subcircuit extraction</kwd><kwd>CMOS circuits</kwd><kwd>SPICE format</kwd><kwd>logical gates recognition</kwd><kwd>logical network</kwd><kwd>reverse engineering</kwd></kwd-group></article-meta></front><back><ref-list><title>References</title><ref id="cit1"><label>1</label><citation-alternatives><mixed-citation xml:lang="ru">Baker, R. J. CMOS Circuit Design, Layout, and Simulation / R. J. Baker. – Third ed. – Wiley-IEEE Press, 2010. – 1214 p.</mixed-citation><mixed-citation xml:lang="en">Baker R. J. CMOS Circuit Design, Layout, and Simulation. Third edition. Wiley-IEEE Press, 2010, 1214 p.</mixed-citation></citation-alternatives></ref><ref id="cit2"><label>2</label><citation-alternatives><mixed-citation xml:lang="ru">Abadir, M. S. An improved layout verification algorithm (LAVA) / M. S. Abadir, J. Ferguson // Proc. of the European Design Automation Conf., Glasgow, UK, 12–15 Mar. 1990. – Glasgow, 1990. – P. 391–395.</mixed-citation><mixed-citation xml:lang="en">Abadir M. S., Ferguson J. An improved layout verification algorithm (LAVA). Proceedings of the European Design Automation Conference, Glasgow, UK, 12–15 March 1990. Glasgow, 1990, рр. 391–395.</mixed-citation></citation-alternatives></ref><ref id="cit3"><label>3</label><citation-alternatives><mixed-citation xml:lang="ru">Hunt, V. D. Reengineering: Leveraging the Power of Integrated Product Development / V. D. Hunt. – Wiley, 1993. – 283 p.</mixed-citation><mixed-citation xml:lang="en">Hunt V. D. Reengineering: Leveraging the Power of Integrated Product Development. Wiley, 1993, 283 p.</mixed-citation></citation-alternatives></ref><ref id="cit4"><label>4</label><citation-alternatives><mixed-citation xml:lang="ru">Rostami, M. A primer on hardware security: Models, methods, and metrics / M. Rostami, F. Koushanfar, R. Karri // Proceedings of the IEEE. – 2014. – Vol. 102, no. 8. – P. 1283–1295.</mixed-citation><mixed-citation xml:lang="en">Rostami M., Koushanfar F., Karri R. A primer on hardware security: Models, methods, and metrics. Proceedings of the IEEE, 2014, vol. 102, no. 8, pp. 1283–1295.</mixed-citation></citation-alternatives></ref><ref id="cit5"><label>5</label><citation-alternatives><mixed-citation xml:lang="ru">Tehranipoor, M. A survey of hardware trojan taxonomy and detection / M. Tehranipoor, F. Koushanfar // IEEE Design &amp; Test of Computers. – 2010. – Vol. 27, no. 1. – P. 10–25.</mixed-citation><mixed-citation xml:lang="en">Tehranipoor M., Koushanfar F. A survey of hardware trojan taxonomy and detection. IEEE Design &amp; Test of Computers, 2010, vol. 27, no. 1, pp. 10–25.</mixed-citation></citation-alternatives></ref><ref id="cit6"><label>6</label><citation-alternatives><mixed-citation xml:lang="ru">Белоус, А. И. Основы кибербезопасности. Стандарты, концепции, методы и средства обеспечения / А. И. Белоус, В. А. Солодуха. – М. : Техносфера, 2021. – 482 с.</mixed-citation><mixed-citation xml:lang="en">Belous A. I., Solodukha V. A. Osnovy kiberbezopasnosti. Standarty, kontseptsii, metody i sredstva obespecheniya. Fundamentals of Cybersecurity. Standards, Concepts, Methods and Means of Support. Moscow, Tekhnosfera, 2021, 482 p. (In Russ.).</mixed-citation></citation-alternatives></ref><ref id="cit7"><label>7</label><citation-alternatives><mixed-citation xml:lang="ru">Черемисинов, Д. И. Извлечение сети логических элементов из КМОП-схемы транзисторного уровня / Д. И. Черемисинов, Л. Д. Черемисинова // Микроэлектроника. – 2019. – Т. 48, № 3. – С. 224–234. https://doi.org/10.1134/S0544126919030037</mixed-citation><mixed-citation xml:lang="en">Cheremisinov D. I., Cheremisinova L. D. Extracting a logic gate network from a transistor-level CMOS circuit. Mikrojelektronika [Russian Microelectronics], 2019, vol. 48, no. 3, рр. 224–234. https://doi.org/10.1134/S0544126919030037 (In Russ.).</mixed-citation></citation-alternatives></ref><ref id="cit8"><label>8</label><citation-alternatives><mixed-citation xml:lang="ru">Yang, L. FROSTY: A program for fast extraction of high-level structural representation from circuit description for industrial CMOS circuits / L. Yang, C.-J. R. Shi // Integration the VLSI J. – 2006. – Vol. 39, no 4. – P. 311–339.</mixed-citation><mixed-citation xml:lang="en">Yang L., Shi C.-J. R. FROSTY: A program for fast extraction of high-level structural representation from circuit description for industrial CMOS circuits. Integration the VLSI Journal, 2006, vol. 39, no 4, рр. 311–339.</mixed-citation></citation-alternatives></ref><ref id="cit9"><label>9</label><citation-alternatives><mixed-citation xml:lang="ru">Zhang, N. The subcircuit extraction problem / N. Zhang, D. C. Wunsch, F. Harary // Proc. IEEE Intern. Behavioral Modeling and Simulation Workshop. – 2005. – Vol. 33(3). – P. 22–25.</mixed-citation><mixed-citation xml:lang="en">Zhang N., Wunsch D. C., Harary F. The subcircuit extraction problem. Proceedings IEEE International Behavioral Modeling and Simulation Workshop, 2005, vol. 33(3), рр. 22–25.</mixed-citation></citation-alternatives></ref><ref id="cit10"><label>10</label><citation-alternatives><mixed-citation xml:lang="ru">Han, M. Efficient Subgraph Matching: Harmonizing Dynamic Programming, Adaptive Matching Order, and Failing Set Together / M. Han, H. Kim, G. Gu // Proc. of Intern. Conf. on Management of Data (SIGMOD '19), Amsterdam, Netherlands, 30 June – 5 July 2019. – Amsterdam, 2019. – P. 1429–1446.</mixed-citation><mixed-citation xml:lang="en">Han M., Kim H., Gu G. Efficient Subgraph Matching: Harmonizing Dynamic Programming, Adaptive Matching Order, and Failing Set Together. Proceedings of International conference on Management of Data (SIGMOD '19), Amsterdam, Netherlands, 30 June – 5 July 2019. Amsterdam, 2019, рр. 1429–1446.</mixed-citation></citation-alternatives></ref><ref id="cit11"><label>11</label><citation-alternatives><mixed-citation xml:lang="ru">Черемисинов, Д. И. Канонизация графов при декомпиляции транзисторных схем / Д. И. Черемисинов, Л. Д. Черемисинова // Информатика. – 2022. − Т. 19, № 3. – С. 25–39. https://doi.org/10.37661/1816-0301-2022-19-3-25-39</mixed-citation><mixed-citation xml:lang="en">Cheremisinov D. I., Cheremisinova L. D. Canonization of graphs during transistor circuits decompilation. Informatika [Informatics], 2022, vol. 19, no. 3, pp. 25−39 (In Russ.). https://doi.org/10.37661/1816-0301-2022-19-3-25-39 (In Russ.).</mixed-citation></citation-alternatives></ref><ref id="cit12"><label>12</label><citation-alternatives><mixed-citation xml:lang="ru">Черемисинов, Д. И. Распознавание логических вентилей в плоской транзисторной схеме / Д. И. Черемисинов, Л. Д. Черемисинова // Информатика. – 2021. – Т. 18, № 4. – С. 96–107. https://doi.org/10.37661/1816-0301-2021-18-4-96-107.</mixed-citation><mixed-citation xml:lang="en">Cheremisinov D. I., Cheremisinova L. D. Logical gates recognition in a flat transistor circuit. Informatika [Informatics], 2021, vol. 18, no. 4, pp. 96−107. https://doi.org/10.37661/1816-0301-2021-18-4-96-107 (In Russ.).</mixed-citation></citation-alternatives></ref><ref id="cit13"><label>13</label><citation-alternatives><mixed-citation xml:lang="ru">Бибило, П. Н. Логическое проектирование дискретных устройств с использованием продукционно-фреймовой модели представления знаний / П. Н. Бибило, В. И. Романов. – Минск : Беларус. навука, 2011. – 279 с.</mixed-citation><mixed-citation xml:lang="en">Bibilo P. N., Romanov V. I. Logicheskoye proyektirovaniye diskretnykh ustroystv s ispol'zovaniyem produktsionno-freymovoy modeli predstavleniya znaniy. Logical Design of Discrete Devices Using a ProductionFrame Model of Knowledge Representation. Minsk, Belaruskaja navuka, 2011, 279 p. (In Russ.).</mixed-citation></citation-alternatives></ref><ref id="cit14"><label>14</label><citation-alternatives><mixed-citation xml:lang="ru">Система логического проектирования функциональных блоков заказных КМОП СБИС с пониженным энергопотреблением / П. Н. Бибило [и др.] // Микроэлектроника. – 2018. – Т. 47, № 1. – С. 72–88.</mixed-citation><mixed-citation xml:lang="en">Bibilo P. N., Avdeyev N. A., Kardash S. N., Kiriyenko N. A., Lankevich Yu. Yu., …, Cheremisinova L. D. A System for Logical Design of Custom CMOS VLSI Functional Blocks with Reduced Power Consumption. Mikrojelektronika [Russian Microelectronics], 2018, vol. 47, no. 1, pp. 72–88 (In Russ.).</mixed-citation></citation-alternatives></ref><ref id="cit15"><label>15</label><citation-alternatives><mixed-citation xml:lang="ru">Рабаи, Ж. М. Цифровые интегральные схемы. Методология проектирования : пер с англ. / Ж. М. Рабаи, А. Чандраксан, Б. Николич. – Изд. 2-е. – М. : Вильямс, 2007. – 912 с.</mixed-citation><mixed-citation xml:lang="en">Rabaev J. M., Chandrakasan A., Nikolic B. Digital Integrated Circuits, 2nd edition. Pearson, 2002, 800 p.</mixed-citation></citation-alternatives></ref><ref id="cit16"><label>16</label><citation-alternatives><mixed-citation xml:lang="ru">Черемисинов, Д. И. Распознавание логических структур на основе проходных транзисторов в КМОП-схеме / Д. И. Черемисинов, Л. Д. Черемисинова // Информационные технологии и системы 2023 (ИТС 2023) = Information Technologies and Systems 2023 (ITS 2023) : материалы Междунар. науч. конф., Минск, Беларусь, 22 нояб. 2023 г. – Минск : БГУИР, 2023. – С. 113–114.</mixed-citation><mixed-citation xml:lang="en">Cheremisinov D. I., Cheremisinova L. D. Recognition of logical structures from pass transistors in a CMOS circuit. Informacionnye tehnologii i sistemy 2023 (ITS 2023) : materialy Mezhdunarodnoj nauchnoj konferencii, Minsk, Belarus', 22 nojabrja 2023 g. [Information Technologies and Systems 2023 (ITS 2023) : Proceedings of the International Scientific Conference, Minsk, Belarus, 22 November 2023]. Minsk, Belorusskij gosudarstvennyj universitet informatiki i radiojelektroniki, 2023, pp. 113–114 (In Russ.).</mixed-citation></citation-alternatives></ref><ref id="cit17"><label>17</label><citation-alternatives><mixed-citation xml:lang="ru">Черемисинов, Д. И. Анализ и преобразование структурных описаний СБИС / Д. И. Черемисинов. – Минск : Беларуская навука, 2006. – 275 с.</mixed-citation><mixed-citation xml:lang="en">Cheremisinov D. I. Analiz i preobrazovaniye strukturnykh opisaniy SBIS. Analysis and Transformation of VLSI Structural Descriptions. Minsk, Belaruskaja navuka, 2006, 275 p. (In Russ.).</mixed-citation></citation-alternatives></ref><ref id="cit18"><label>18</label><citation-alternatives><mixed-citation xml:lang="ru">Черемисинов, Д. И. Верификация логических схем из КМОП-транзисторов / Д. И. Черемисинов, Л. Д. Черемисинова // Новые информационные технологии в исследовании сложных структур : материалы 13-й Междунар. конф., 7–9 сент. 2020 г. – Томск : Изд. дом Томского гос. ун-та, 2020. – С. 150–151.</mixed-citation><mixed-citation xml:lang="en">Cheremisinov D. I., Cheremisinova L. D. Verification of logic circuits from CMOS transistors. Novyye informatsionnyye tekhnologii v issledovanii slozhnykh struktur : materialy 13-j Mezhdunarodnoj konferencii, 7–9 sentyabrya 2020 g. [New Information Technologies in the Study of Complex Structures : Proceedings of the 13th International Conference, 7–9 September 2020]. Tomsk, Izdatel'skij dom Tomskogo gosudarstvennogo universiteta, 2020, pp. 150–151 (In Russ.).</mixed-citation></citation-alternatives></ref></ref-list><fn-group><fn fn-type="conflict"><p>The authors declare that there are no conflicts of interest present.</p></fn></fn-group></back></article>
