Научная статья на тему 'Software system of distributed design of complex vhdlobjects'

Software system of distributed design of complex vhdlobjects Текст научной статьи по специальности «Компьютерные и информационные науки»

CC BY
185
64
i Надоели баннеры? Вы всегда можете отключить рекламу.
Ключевые слова
распределенное проектирование / многоагентная система / структурно-функциональные лингвистические модели / VHDL / DISTRIBUTED DESIGN / MULTI-AGENT SYSTEM / THE STRUCTURAL-FUNCTIONAL LINGUISTIC MODELS

Аннотация научной статьи по компьютерным и информационным наукам, автор научной работы — Афанасьев А. Н., Хородов В. С.

В данной статье рассмотрены архитектура системы распределенного проектирования сложных VHDL-объектов и технологии ее работы. Представлены основные функциональныемодули, являющиеся подсистемами, и их взаимосвязи. В основу организации системы положен многоагентый подход, разработано восемь типов ролевых агентов. Представлено описание действующих агентов, которое позволяет понять роль и место каждого агента как в работе всей системы, так и при формировании полноценного проектного решения. Методологической базой проектирования служат структурно-функциональные лингвистические модели, которые формируются из VHDL-описания проектируемого устройства. Описаны особенности структуры программы на языке VHDL для создания библиотеки объектов, параллельного решения проектных задач несколькими проектировщиками, использования объектов из других проектов и тестирования проектов по одинаковой методике. Представлен процесс работы проектировщиков с системой – от формирования спецификаций на проектируемые устройства до сохранения проектных решений в базе знаний. Описано применение концепции MVC в виде диаграммы последовательности для описания функционала авторизации и трансляции кода на языке описания аппаратуры VHDL в структурно-функциональную лингвистическую модель. Предложенная система обеспечивает создание и наполнение библиотеки VHDL-программ, которая позволит многократно использовать проектные решения путем модификации данных с учетом требований к новым задачам. Внедрение системы позволяет сделать проектирование более эффективным за счет передачи агентам части рутинных операций (поиск и синтез проектных решений), а также повысить качество управления процессом коллективного проектирования и сократить затраты на разработку.

i Надоели баннеры? Вы всегда можете отключить рекламу.

Похожие темы научных работ по компьютерным и информационным наукам , автор научной работы — Афанасьев А. Н., Хородов В. С.

iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.
i Надоели баннеры? Вы всегда можете отключить рекламу.

The authors propose the architecture and describe the technologies of a distributed design system of complex VHDL objects. They also present the main functional modulesof subsystems and their interrelationships. A multi-agent approach is a basis for system organization, eight types of role agents are developed. The proposed description of existing agents which allows us to understand the role and place of each agent in the work of the whole system as well as the formation of a full design solution. A methodological basis of the design includes structural-functional linguistic models which are formed from the designed device VHDL description. The paper describes the program structure peculiarities on VHDL language to create a library of objects, solve design tasks by several designers in parallel, use objects from other projects and test projects with the same methodology. The article represents a design process in the system from development of designed devices specifications to saving design decisions in the knowledge base. It also describes the concept of MVC template in the form of sequence diagrams to represent functional authorization and broadcasting code on VHDL hardware description language in the structural and functionallinguistic model. The proposed system provides the development and filling of VHDL programs library which allows reusing design decisions with data modification according to requirements for new tasks. Implementation of this system allows making design more efficient due to the transfer of routine operations (search and synthesis of the design solutions) to agents as well as improving the quality of process control of collective design and reducing development costs.

Текст научной работы на тему «Software system of distributed design of complex vhdlobjects»

Программные продукты и системы / Software & Systems

№ 1 (109), 2015

DOI: 10.15827/0236-235X.109.038-042 Received 11.11.14

SOFTWARE SYSTEM OF DISTRIBUTED DESIGN OF COMPLEX VHDL OBJECTS

A.N. Afanasev, Dr.Sc. (Engineering), Pro-Rector, [email protected];

V.S. Khorodov, Postgraduate Student, [email protected] (Ulyanovsk State Technical University, Severny Venets St. 32, Ulyanovsk, 432027, Russian Federation)

Abstract. The authors propose the architecture and describe the technologies of a distributed design system of complex VHDL objects. They also present the main functional modules of subsystems and their interrelationships. A multi-agent approach is a basis for system organization, eight types of role agents are developed. The proposed description of existing agents which allows us to understand the role and place of each agent in the work of the whole system as well as the formation of a full design solution. A methodological basis of the design includes structural-functional linguistic models which are formed from the designed device VHDL description. The paper describes the program structure peculiarities on VHDL language to create a library of objects, solve design tasks by several designers in parallel, use objects from other projects and test projects with the same methodology. The article represents a design process in the system from development of designed devices specifications to saving design decisions in the knowledge base. It also describes the concept of MVC template in the form of sequence diagrams to represent functional authorization and broadcasting code on VHDL hardware description language in the structural and functional linguistic model. The proposed system provides the development and filling of VHDL programs library which allows reusing design decisions with data modification according to requirements for new tasks. Implementation of this system allows making design more efficient due to the transfer of routine operations (search and synthesis of the design solutions) to agents as well as improving the quality of process control of collective design and reducing development costs.

Keywords: VHDL, distributed design, multi-agent system, the structural-functional linguistic models.

The developers create more and more complex devices because the requirements to functional qualities are increasing. The complexity of a design process and a program code amount significantly increase because of using high-level hardware description languages (HDL) [1, 2] in development of devices on a chip (VLSI). A Source Lines of Code (the number of lines in the program) is used to estimate program code complexity. The indicator is used to predict the amount of efforts required to develop devices using HDL and to estimate programming productivity or maintainability.

In practice one of the popular HDL languages is VHDL (VHSIC (Very high speed integrated circuits) Hardware Description Language)). The basis of its structure and use is an object-oriented approach. VHDL language is used to develop hardware of any complexity: chips, circuit boards, blocks, devices and systems. The language is convenient for using in projects design as well as their verification.

Multiple CAD Systems [3] designed for individual work are used for schematic design. They do not contain means for collective development of complex projects.

Wizard-technologies RUP [4], ARIS [5] etc. are used to design complex software in industrial practice. The technologies have proven themselves in the development of complex computer-aided systems. They ensure the success growth of their creation. However, the use of such technologies as the subject domain tools is difficult from a methodological point of view in design object development (VLSI). These technologies do not support distributed work on the basis of modern Internet technologies.

The paper proposes distribution of calculations for solving design tasks of radio-electronic equipment on a multiprocessor system in order to reduce execution

time in [6]. However, the distributed design technologies themselves are not considered.

The authors propose distributed system architecture for complex VHDL programs design. Its methodological basis is creation and reuse of structural-functional linguistic models (SFLM) [7]. The system is organized on a multi-agent role approach. The collaboration technology of the team of designers who are on a remote operation includes a web-based interface.

System Architecture Overview

Fig. 1 shows a general architecture of a distributed design system including software components and their interaction.

The architecture is based on Common Object Request Broker Architecture (CORBA) technology. It allows organizing unified information environment. Its elements can interact with each other regardless of their particular implementation, i.e. ‘registration’ in the distributed system. Software applications from different servers are connected on the basis of the middleware development. Bridging between applications is implemented using Object Request Broker which is responsible for client-server interaction between objects [8].

The following subsystems are identified as functional modules: a subsystem of project tasks management, a routing subsystem, a subsystem of design solution, a subsystem of SFLM template search, a subsystem of testing and optimization [2].

Technologies of system activity

One of the system activity technologies is the use of a private cloud as a mean for organizing a distrib-

38

Программные продукты и системы / Software & Systems

№ 1 (109), 2015

V Т

I Ш

Clients Chent4 Client N

Fig. 1. A distributed design system architecture Рис. 1. Архитектура системы распределенного проектирования

Fig. 2. The process of system operation according to the MVC template Рис. 2. Процесс функционирования системы по шаблону MVC

uted design process with centralized storage of project decisions. A private cloud is an infrastructure for using by a single organization which includes several units [9].

We suggest to use a multi-agent approach as an organizational framework of SFLM distributed design system. The types of agents are the following:

- an interface agent that provides agents binding;

- a design tasks management agent that provides development of parallel network circuit of tasks (PNCT) and design tasks distribution between designers;

- an agent of design solution development that provides activities related to creation of design solutions using VHDL, i.e. development of SFLM, SFLM template and lexical and semantic analysis of the code;

- an agent of a design solutions synthesis that provides the search of design solutions ready to unite and created by designers and their synthesis into a single design solution;

- a routing agent that provides a binding role between local or distributed agents located on other servers which act as a storage or developer of design solutions;

- a search agent that provides of a search request formation for design decision and clustering data in order to reduce data search time;

- a knowledge base agent that provides the operations connected with the knowledge base;

- a working memory agent that controls a system status and distributes a load for agents and the entire system [10].

The server part of the system is based on a MVC template (model-view-controller) which allows dividing the system into three easily modifiable and practically independent components that are responsible for various tasks [11].

The controller presents GET and POST user requests management. The main functions are activation and coordination of actions, necessary resources and objects. The controller activates the model for system task and selects an appropriate view to display.

The model is a set of rules for system functioning. Representation provides various methods for displaying data obtained from the model. The system uses representations in the form of a template which is filled with data. Fig. 2 shows the process of system operation according to the MVC template.

Fig. 3 presents a sequence diagram as the MVC template demonstration on the operations of authorization and analysis of VHDL code.

The basis of the developed distributed design system is a methodology for top-down design: from specifications on the part of a designed device to generation of a design solution that describes the device operation.

VHDL program can include of one or more files. The object - architecture couple is an integral part of each program file. An object is an interface part indicating how to include the object inside another one located at higher level in the hierarchy. The architecture defines the algorithm of the object operation. One object can correspond to several architectures that describe different operation algorithms. Thus, taking into account VHDL program structure, it is possible to create the libraries of objects, procedures, types, etc., carry out the decision of project tasks in parallel by several designers, use objects from other projects, test projects with the same methodology.

The authors propose to use associative-oriented model of parallel job management - PNCT [12] to organize design workflow management in the system.

39

Программные продукты и системы / Software & Systems

№ 1 (109), 2015

Fig. 4 shows the process of system operation. The numbers represent the design procedure from developing specifications to filling the knowledge base by design decisions. (A) represents the formation of VHDL code of program memory (PRAM) in the web

editor with syntax highlighting. (B) is a schematic presentation of (DRAM) VHDL code data memory formation in the web editor with syntax highlighting. (C) represents the editing of program memory specifications (PRAM) [13].

40

Программные продукты и системы / Software & Systems

№ 1 (109), 2015

design design

decision decision

V. functional f part

f

DRAM .part 1,2

Designer 3, 4

design

task

©

spec ifi cat ion

©

©

produce

__l_

fill

Designer 1

Fig. 4. The process of the distributed design system operation of complex VHDL objects Рис. 4. Процесс функционирования системы распределенного проектирования сложных VHDL-объектов

The main synthesis operations are merge of designed device parts on various stages of development:

- VHDL programs code merge is produced by combining of development branches in a distributed GIT versions control system;

- SFLM merge is produced by combining blocks into a design solution which solves the task;

- identification of connection between the components due to the card ports formation on the basis of the specification and its integration into a parent element.

Formed SFLM allows organizing a convenient search of design decisions by different criteria such as a designed device type, ports and others. SFLM is a set of functional blocks of designed device. It means that the process of creating a new design solution may be presented as writing a new code or as constructing from various blocks.

The principle of SFLM templates reuse is a central in the system, i.e. structural-functional models created by some designers can be used by others to create a new design solution which is also stored in the knowledge base.

The described web-oriented system structure is stored as PHP scripts and single files which are called

templates. The data base is used to store the system content and PNCT data; the knowledge base is used to store design solutions. The agents described above process data obtained from the knowledge base (design decisions) and the database (PNCT controllers). The implementation of web interface allowed minimizing the requirements for hardware and software of users’ workstations, eliminate binding to the specific operating system (OS) and use open OS (Linux) because the developed system is cross-platform.

The proposed system for VHDL objects design provides development and filling of VHDL programs library. It allows reusing the design decisions with data modification taking into account requirements of the new tasks. Commercial introduction of the system will allow making the design more efficient due to the transfer of the part of routine operations to the agents, such as design solutions search and synthesis, as well as improving the quality of process control of collective design and reducing development costs.

Commercial introduction of the system will allow making design more efficient due to transferring a part of routine operations to agents including search and synthesis of design solutions. It can also improve the quality of process control of collective design and

41

Программные продукты и системы / Software & Systems

№ 1 (109), 2015

reduce costs for project development (according to SLOC metrics) by 5-7 %.

References

1. Ugryumov E.P. Tsifrovaya skhemotekhnika: uchebnoe posobie dlya vuzov [Digital Circuit Design: Study Book for Universities]. St. Petersburg, BHV-Petersburg Publ., 2005, 800 p.

2. Afanasyev A.N., Khorodov V.S. Distributed design of structural and functional VHDL models. Vestnik Ulyanovskogo go-sudarstvennogo tekhnicheskogo universiteta [Vestnik of Ulyanovsk State Technical University]. 2014, no. 2 (66), pp. 41-45 (in Russ.).

3. Amosov V.V. Skhemotekhnika i sredstva proektirovaniya tsifrovykh ustroystv [Circuitry and Design Tools of Digital Devices]. St. Petersburg, BHV-Petersburg Publ., 2007, 560 p.

4. IBM Rational Unified Process (RUP). Available at: http://www-01.ibm.com/software/rational/rup/ (accessed November 10, 2014).

5. Business process management discussions, news and articles. ARIS BPM Community. Available at: http://www.ariscommu-nity.com (accessed November 10, 2014).

6. Glushan V.M., Lavrik P.V. Raspredelennye SAPR. Arkhi-tektura i vozmozhnosti [Distributed CAD. Architecture and Opportunities]. Stary Oskol, TNT Publ., 2014, 188 p.

7. Afanasyev A.N., Igonin A.G. A neuro-semantic approach application for functional models analysis and synthesis in design

systems. Vestnik Izhevskogo gosudarstvennogo tekhnicheskogo uni-versiteta [The Bulletin of Izhevsk State Technical University]. 2007, no. 1, pp. 66-69 (in Russ.).

8. Malysheva E.Yu. Uchebno-metodicheskiy kompleks po distsipline “Raspredelennye informatsionnye sistemy” [Methodical Kit on Discipline “Distributed Information Systems”]. Tolyatti, PVGUS Publ., 2013, pp. 19-24.

9. Green R. Cloud Technologies in CAD. CAD/CAM/CAE Observer. 2013, no. 6, pp. 30-33.

10. Khorodov V.S. Design of multi-agent distributed system for creating design solutions using structural and functional linguistic models. Obyektnye sistemy: materialy VIII mezhdunar. nauch.-praktich. konf. [Object Systems: Proc. of the 8th Int. Science and Practice Conf.]. Rostov-on-Don, 2014, pp. 19-23 (in Russ.).

11. Chris Pitt. Pro PHP MVC (Expert's Voice in Open Source). New York, Apress, 2012, 471 p.

12. Afanasyev A.N., Khorodov V.S. A workflow management model in a distributed design system for VHDL-objects. Tekhni-cheskie nauki — ot teorii k praktike: sbornik statey po materialam XXXVII mezhdunar. nauch.-praktich. konf. [Technical Sciences -From Theory to Practice: a Collection of Articles Based on 37th Int. Science and Practice Conf.]. Novosibirsk, SibAK Publ., 2014, pp. 6-11.

13. Sergienko A.M. VHDL dlya proektirovaniya vychisli-telnykh ustroystv [VHDL for Computing Devices Design]. 2003, pp. 161-194.

УДК 004.8.681.3.06 Дата подачи статьи: 11.11.14

iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.

DOI: 10.15827/0236-235X.109.038-042

ПРОГРАММНАЯ СИСТЕМА РАСПРЕДЕЛЕННОГО ПРОЕКТИРОВАНИЯ СЛОЖНЫХ VHDL-ОБЪЕКТОВ Афанасьев АН., д.т.н., проректор, [email protected]; Хородов В.С., аспирант, [email protected] (Ульяновский государственный технический университет, ул. Северный Венец, 32, г. Ульяновск, 432027, Россия)

В данной статье рассмотрены архитектура системы распределенного проектирования сложных VHDL-объектов и технологии ее работы. Представлены основные функциональные модули, являющиеся подсистемами, и их взаимосвязи. В основу организации системы положен многоагентый подход, разработано восемь типов ролевых агентов. Представлено описание действующих агентов, которое позволяет понять роль и место каждого агента как в работе всей системы, так и при формировании полноценного проектного решения. Методологической базой проектирования служат структурнофункциональные лингвистические модели, которые формируются из VHDL-описания проектируемого устройства. Описаны особенности структуры программы на языке VHDL для создания библиотеки объектов, параллельного решения проектных задач несколькими проектировщиками, использования объектов из других проектов и тестирования проектов по одинаковой методике. Представлен процесс работы проектировщиков с системой - от формирования спецификаций на проектируемые устройства до сохранения проектных решений в базе знаний. Описано применение концепции MVC в виде диаграммы последовательности для описания функционала авторизации и трансляции кода на языке описания аппаратуры VHDL в структурно-функциональную лингвистическую модель. Предложенная система обеспечивает создание и наполнение библиотеки VHDL-программ, которая позволит многократно использовать проектные решения путем модификации данных с учетом требований к новым задачам. Внедрение системы позволяет сделать проектирование более эффективным за счет передачи агентам части рутинных операций (поиск и синтез проектных решений), а также повысить качество управления процессом коллективного проектирования и сократить затраты на разработку.

Ключевые слова: VHDL, распределенное проектирование, многоагентная система, структурно-функциональные лингвистические модели.

Литература

1. Угрюмов Е.П. Цифровая схемотехника: учеб. пособие для вузов. СПб: БХВ-Петербург, 2005. 800 c.

2. Афанасьев А.Н., Хородов В.С. Распределенное проектирование структурно-функциональных моделей, представленных на языке VHDL // Вестн. УлГТУ. 2014. № 2 (66). С. 41-45.

3. Амосов В.В. Схемотехника и средства проектирования цифровых устройств. СПб: БХВ-Петербург, 2007. 560 c.

4. IBM Rational Unified Process (RUP) URL: http://www-01.ibm.com/software/rational/rup/ (дата обращения: 10.11.2014).

5. Business process management discussions, news and articles. ARIS BPM Community. URL: http://www.ariscommunity.com (дата обращения: 10.11.2014).

6. Глушань В.М., Лаврик П.В. Распределенные САПР. Архитектура и возможности. Старый Оскол: ТНТ, 2014. 188 с.

7. Афанасьев А.Н., Игонин А.Г. Применение нейросемантического подхода для анализа и синтеза функциональных моделей в системах проектирования // Вестн. Ижевского гос. технич. ун-та. 2007. № 1. С. 66-69.

8. Малышева Е.Ю. Учебно-методический комплекс по дисциплине «Распределенные информационные системы». Тольятти: Изд-во ПВГУС, 2013. С. 19-24.

9. Green R. Облачные технологии в САПР // CAD/CAM/CAE Observer. 2013. № 6. С. 30-33.

10. Хородов В.С. Проектирование многоагентной распределенной системы создания проектных решений с использованием структурно-функциональных лингвистических моделей // Объектные системы: матер. VIII Междунар. науч.-практич. конф. Р-н-Д, 2014. С. 19-23.

11. Chris Pitt. Pro PHP MVC (Expert's Voice in Open Source). NY, Apress, 2012. 471 p.

12. Афанасьев А.Н., Хородов В.С. Модель управления потоками работ в системе распределенного проектирования VHDL-объектов // Технические науки - от теории к практике: сб. статей по матер. XXXVII Междунар. науч.-практич. конф. № 8 (33). Н.: Из-во СибАК, 2014. С. 6-11.

13. Сергиенко А.М. VHDL для проектирования вычислительных устройств. М.: ТИД «ДС», 2003. С. 161-194.

42

i Надоели баннеры? Вы всегда можете отключить рекламу.