<?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-2025-22-1-27-39</article-id><article-id custom-type="elpub" pub-id-type="custom">inform-1326</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>Перепроектирование КМОП СБИС средствами инструмента синтеза Yosys</article-title><trans-title-group xml:lang="en"><trans-title>Redesigning CMOS VLSI using Yosys synthesis tool</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>2025</year></pub-date><pub-date pub-type="epub"><day>31</day><month>03</month><year>2025</year></pub-date><volume>22</volume><issue>1</issue><fpage>27</fpage><lpage>39</lpage><permissions><copyright-statement>Copyright &amp;#x00A9; Черемисинов Д.И., Черемисинова Л.Д., 2025</copyright-statement><copyright-year>2025</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/1326">https://inf.grid.by/jour/article/view/1326</self-uri><abstract><sec><title>Цели</title><p>Цели. Рассматривается задача перепроектирования схемы транзисторного уровня, заданной в формате SPICE, в другом технологическом базисе. Целью статьи является разработка подхода к перепроектированию схем на основе использования средств программных пакетов автоматизации проектирования с открытым исходным кодом.</p></sec><sec><title>Методы</title><p>Методы. Предлагается метод, в основе которого лежат экстракция структуры на уровне логических элементов из плоского SPICE-описания транзисторной схемы и экспорт полученного иерархического SPICE-описания в программную среду открытого пакета синтеза Yosys. Целью экспорта являются преобразование описания логической сети в формате SPICE в описания на входных языках систем автоматизации проектирования, а также выполнение операций оптимизации и синтеза в среде Yosys.</p></sec><sec><title>Результаты</title><p>Результаты. Для экспорта в ядро пакета Yosys логической сети, заданной в формате SPICE, была разработана программа на языке С++ с использованием классов пакета Yosys. Программа принимает и обрабатывает иерархическое SPICE-описание логической сети, переводя его в представление во внутреннем формате инструмента Yosys.</p></sec><sec><title>Заключение</title><p>Заключение. Разработанная программа оформлена в виде программного модуля Yosys и интегрирована в его среду в качестве одной из команд. Над полученной модулем структурой логической сети могут быть выполнены все доступные в Yosys преобразования.</p></sec></abstract><trans-abstract xml:lang="en"><sec><title>Objectives</title><p>Objectives. The problem of reverse engineering of a transistor level circuit specified in the SPICE format in a different technological basis is considered. The goal of the work is to develop an approach to redesigning circuits using open source design automation software packages.</p></sec><sec><title>Methods</title><p>Methods. A method is proposed based on extracting the structure at the level of logical elements from a flat SPICE description of a transistor circuit and exporting the resulting hierarchical SPICE description to the software environment of the open synthesis package Yosys. The purpose of the export is to transform the description of the logical network in the SPICE format into descriptions in the input languages of design automation systems, as well as to perform optimization and synthesis operations in the Yosys environment.</p></sec><sec><title>Results</title><p>Results. To export a logical network specified in the SPICE format to the core of the Yosys package, a program in C++ was developed using the classes of the Yosys package. The program accepts and processes the hierarchical SPICE description of the logical network, translating it into a representation in the internal format of the Yosys tool.</p></sec><sec><title>Conclusion</title><p>Conclusion. The developed program is designed as a Yosys program module and integrated into its environment as one of its commands. All the transformations available in Yosys can be performed on the logical network structure obtained by the module.</p></sec></trans-abstract><kwd-group xml:lang="ru"><kwd>перепроектирование</kwd><kwd>декомпиляция транзисторных схем</kwd><kwd>КМОП-схемы</kwd><kwd>формат SPICE</kwd><kwd>язык Verilog</kwd><kwd>пакет Yosys</kwd></kwd-group><kwd-group xml:lang="en"><kwd>reverse engineering</kwd><kwd>decompilation of transistor circuits</kwd><kwd>CMOS circuits</kwd><kwd>SPICE format</kwd><kwd>language Verilog</kwd><kwd>package Yosys</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">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="cit3"><label>3</label><citation-alternatives><mixed-citation xml:lang="ru">Черемисинов, Д. И. Извлечение сети логических элементов из КМОП-схемы транзисторного уровня / Д. И. Черемисинов, Л. Д. Черемисинова // Микроэлектроника. – 2019. – Т. 48, № 3. – С. 224–234. – DOI: 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 (In Russ.). DOI: 10.1134/S0544126919030037.</mixed-citation></citation-alternatives></ref><ref id="cit4"><label>4</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 Journal. – 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="cit5"><label>5</label><citation-alternatives><mixed-citation xml:lang="ru">Ajayi, T. Toward an open-source digital flow: First learnings from the OpenROAD project / T. Ajayi, V. A. Chhabria, M. Fogaça [et al.] // Proc. of the 56th Annual Design Automation Conf. (DAC '19), Las Vegas, NV, USA, 02–06 June 2019. – Las Vegas, 2019. – Article 76. – P. 1–4.</mixed-citation><mixed-citation xml:lang="en">Ajayi T., Chhabria V. A., Fogaça M., Hashemi S., Hosny A., …, Xu B. Toward an open-source digital flow: First learnings from the OpenROAD project. Proceedings of the 56th Annual Design Automation Conference (DAC '19), Las Vegas, NV, USA, 02–06 June 2019. Las Vegas, 2019, article 76, рр. 1–4.</mixed-citation></citation-alternatives></ref><ref id="cit6"><label>6</label><citation-alternatives><mixed-citation xml:lang="ru">Wolf, C. Yosys – a free verilog synthesis suite / C. Wolf, J. Glaser, J. Kepler // Proc. of the 21st Austrian Workshop on Microelectronics (Austrochip 2013), Linz, Austria, 10 Oct. 2013. – Linz, 2013. – URL: https://yosyshq.net/yosys/files/yosys-austrochip2013.pdf (date of access: 10.01.2025).</mixed-citation><mixed-citation xml:lang="en">Wolf C., Glaser J., Kepler J. Yosys – a free verilog synthesis suite. Proceedings of the 21st Austrian Workshop on Microelectronics (Austrochip 2013), Linz, Austria, 10 October 2013. Linz, 2013. Available at: https://yosyshq.net/yosys/files/yosys-austrochip2013.pdf (accessed 10.01.2025).</mixed-citation></citation-alternatives></ref><ref id="cit7"><label>7</label><citation-alternatives><mixed-citation xml:lang="ru">Ghazy, A. A. OpenLANE: The Open-Source Digital ASIC Implementation Flow / A. A. Ghazy, M. Shalan. – URL: https://woset-workshop.github.io/PDFs/2020/a21.pdf (date of access: 10.01.2025).</mixed-citation><mixed-citation xml:lang="en">Ghazy A. A., Shalan M. OpenLANE: The Open-Source Digital ASIC Implementation Flow. Available at: https://woset-workshop.github.io/PDFs/2020/a21.pdf (accessed 10.01.2025).</mixed-citation></citation-alternatives></ref><ref id="cit8"><label>8</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 Production-Frame Model of Knowledge Representation. Minsk, Belaruskaja navuka, 2011, 279 p. (In Russ.).</mixed-citation></citation-alternatives></ref><ref id="cit9"><label>9</label><citation-alternatives><mixed-citation xml:lang="ru">Система логического проектирования функциональных блоков заказных КМОП СБИС с пониженным энергопотреблением / П. Н. Бибило, Н. А. Авдеев, С. Н. Кардаш [и др.] // Микроэлектроника. – 2018. – Т. 47, № 1. – С. 71–87.</mixed-citation><mixed-citation xml:lang="en">Bibilo P. N., Avdeev N. A., Kardash S. N., Kirienko N. A., Lankevich Ju. Ju., …, 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. 65–81 (In Russ.).</mixed-citation></citation-alternatives></ref><ref id="cit10"><label>10</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="cit11"><label>11</label><citation-alternatives><mixed-citation xml:lang="ru">Черемисинов, Д. И. Извлечение логических сетей при декомпиляции описаний КМОП-схем на уровне транзисторов / Д. И. Черемисинов, Л. Д. Черемисинова // Информатика. – 2024. − Т. 21, № 3. – С. 23–38.</mixed-citation><mixed-citation xml:lang="en">Cheremisinov D. I., Cheremisinova L. D. Extraction of logical networks during decompiling transistor-level CMOS circuit descriptions. Informatika [Informatics], 2024, vol. 21, no. 3, pp. 23−38 (In Russ.). DOI: 10.37661/1816-0301-2024-21-3-23-38.</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>
