RU2285289C2 - Device for planning positioning of problems in systems with circular organization during directional information transfer - Google Patents
Device for planning positioning of problems in systems with circular organization during directional information transfer Download PDFInfo
- Publication number
- RU2285289C2 RU2285289C2 RU2005101060/09A RU2005101060A RU2285289C2 RU 2285289 C2 RU2285289 C2 RU 2285289C2 RU 2005101060/09 A RU2005101060/09 A RU 2005101060/09A RU 2005101060 A RU2005101060 A RU 2005101060A RU 2285289 C2 RU2285289 C2 RU 2285289C2
- Authority
- RU
- Russia
- Prior art keywords
- input
- output
- elements
- inputs
- outputs
- Prior art date
Links
Images
Landscapes
- Complex Calculations (AREA)
Abstract
Description
Изобретение относится к области вычислительной техники и предназначено для моделирования задач при проектировании вычислительных систем (ВС).The invention relates to the field of computer technology and is intended for modeling tasks in the design of computer systems (AC).
Известен элемент однородной среды, включающий блок обработки входных сигналов, блок запоминания признака конечной точки, блок выходной логики, триггер записи трасс, блок оценки текущего размещения, блок передачи информации, входы, выходы, управляющий вход, информационные входы, информационные выходы, индикаторный выход (а.с. 1291957 СССР, кл. G 06 F 7/00, опубл. 23.02.87, БИ №7).A well-known element of a homogeneous environment, including an input signal processing unit, an endpoint attribute storage unit, an output logic unit, a trace recording trigger, a current location estimation unit, an information transmission unit, inputs, outputs, a control input, information inputs, information outputs, an indicator output ( A.S. 1291957 USSR, class G 06 F 7/00, publ. 02.23.87, BI No. 7).
Недостатком указанного элемента является узкая область применения, обусловленная отсутствием средств для оценки качества (степени оптимальности) размещения по критериям суммарной длины ребер и максимальной длины ребра.The disadvantage of this element is the narrow scope, due to the lack of funds for assessing the quality (degree of optimality) of placement according to the criteria for the total length of the ribs and the maximum length of the ribs.
Наиболее близким к предлагаемому устройству по технической сущности является устройство для оценки размещения элементов, содержащее матрицу элементов однородной среды, состоящую из элементов однородной среды, блоки подсчета единиц, блок нахождения максимума, сумматор, блок памяти, вход записи исходного гиперграфа, вход управления перестановкой столбцов, вход управления перестановкой строк, вход управления записью в блок памяти, выходы оценки текущего размещения, информационный выход и вход установки (а.с. 1430949 СССР, кл. G 06 F 7/00, 15/20, опубл. 15.10.88, БИ №38).Closest to the proposed device in technical essence is a device for evaluating the placement of elements, containing a matrix of elements of a homogeneous medium, consisting of elements of a homogeneous medium, units for counting units, a block for finding the maximum, an adder, a memory block, an input entry for the original hypergraph, an input for managing permutation of columns, line permutation control input, write control input to the memory unit, current location estimation outputs, information output and installation input (AS 1430949 USSR, class G 06 F 7/00, 15/20, publ. 15.10.88, BI No. 38).
Недостатком указанного устройства является узкая область применения, обусловленная отсутствием средств для поиска нижней оценки размещения в кольцевых системах (КС) при направленной передаче информации по критерию минимизации интенсивности взаимодействия процессов и данных.The disadvantage of this device is a narrow scope, due to the lack of tools to search for a lower estimate of placement in ring systems (CS) in the directed transmission of information according to the criterion of minimizing the intensity of the interaction of processes and data.
Технической задачей изобретения является расширение области применения устройства за счет введения средств для поиска нижней оценки размещения в кольцевых системах (КС) при направленной передаче информации по критерию минимизации интенсивности взаимодействия процессов и данных.An object of the invention is to expand the scope of the device by introducing means to search for a lower estimate of placement in ring systems (CS) with directional information transfer according to the criterion of minimizing the intensity of the interaction of processes and data.
Техническая задача решается тем, что в устройство планирования размещения задач в системах с кольцевой организацией при направленной передаче информации, содержащее матрицу из m строк и n столбцов элементов однородной среды, n блоков подсчета единиц, блок нахождения максимума, первый сумматор, блок памяти, причем входы управления перестановкой столбцов матрицы элементов однородной среды соединены с входом управления перестановкой столбцов устройства, входы управления перестановкой строк матрицы элементов однородной среды соединены с входом управления перестановкой строк устройства, входы установки матрицы элементов однородной среды соединены с входом установки устройства, информационные входы матрицы элементов однородной среды соединены с входом записи устройства, индикаторные выходы элементов j-го столбца (j=1, 2, ..., n) матрицы элементов однородной среды соединены с входом j-го блока подсчета единиц, выход которого соединен j-м входом блока нахождения максимума и j-м входом первого сумматора, выходы которых соединены с выходом максимальной длины ребра и выходом суммарной длины ребер устройства соответственно, вход управления записью блока памяти соединен с входом управления записью устройства, информационные выходы элементов i-й строки (i=1, 2,..., m) матрицы элементов однородной среды соединены с i-м информационным входом блока памяти, выход которого соединен с информационным выходом устройства, дополнительно введен блок нижней оценки, содержащий генератор импульсов, первый и второй дешифраторы выбора строки, первый и второй мультиплексоры выбора элемента, дешифратор дуги, элемент сравнения, второй сумматор, группу из m кольцевых счетчиков нижней оценки, счетчик дуг, первый и второй счетчики столбцов, первый и второй счетчики строк, триггер режима, первую и вторую группы из m триггеров, первую и вторую группы из m блоков элементов запрета, первую и вторую группы из m элементов ИЛИ, первый и второй элементы И, первый и второй элементы ИЛИ, элемент задержки, причем вход запуска устройства соединен с входом генератора импульсов, выход которого подключен к счетному входу первого счетчика столбцов, выход генератора импульсов соединен со вторым входом первого элемента И, первый вход которого подключен к прямому выходу триггера режима и ко второму входу второго элемента И, R-вход триггера режима соединен с выходом сброса устройства, S-вход триггера режима подключен к выходу переполнения первого счетчика строк, выход которого подключен к установочному входу первого счетчика столбцов и к входу первого дешифратора выбора строки, счетный вход первого счетчика строк подключен к выходу переполнения первого счетчика столбцов и к R-входам первой группы из m триггеров, выход первого счетчика столбцов соединен с управляющим входом первого мультиплексора выбора элемента, выходы с первого по m-й первого дешифратора выбора строки подключены к соответствующим управляющим входам первой группы из m блоков элементов запрета, соответствующие входы которых подключены к индикаторным выходам соответствующих элементов с первого по n-й столбцов матрицы элементов однородной среды, выходы первой группы из m блоков элементов запрета соединены с соответствующими входами первой группы из m элементов ИЛИ, выходы которых соединены с соответствующими S-входами первой группы из m триггеров, выходы которых подключены к соответствующим входам с первого по m-й первого мультиплексора выбора элемента, выход которого подключен к соответствующим вторым входам первого и второго элементов ИЛИ, соответствующие первые входы которых соединены с выходом второго элемента И, выход второго элемента ИЛИ подключен к входу элемента задержки, выход которого соединен с разрешающим входом дешифратора дуги, вход которого соединен с выходом счетчика дуги, счетный вход которого подключен к выходу первого элемента ИЛИ, выходы с первого по m-й дешифратора дуги подключены к соответствующим счетным входам группы из m кольцевых счетчиков нижней оценки, выходы которых подключены к соответствующим входам второго сумматора, выход которого соединен с выходом нижней оценки, выход первого элемента И соединен со счетным входом второго счетчика столбцов, выход которого подключен к управляющему входу второго мультиплексора выбора элемента и ко второму входу элемента сравнения, первый вход которого подключен к выходу второго счетчика строки и к входу второго дешифратора выбора строки, первый выход элемента сравнения соединен с разрешающим входом второго мультиплексора выбора элемента, второй выход элемента сравнения соединен со счетным входом второго счетчика строк и с R-входами второй группы из m триггеров, выход переполнения второго счетчика строк подключен к выходу переполнения устройства, выходы с первого по m-й второго дешифратора выбора элемента соединены с соответствующими управляющими входами второй группы из m блоков элементов запрета, входы которых подключены к индикаторным выходам соответствующих элементов с первого по n-й столбцов матрицы элементов однородной среды, выходы второй группы из m блоков элементов запрета соединены с соответствующими входами второй группы из m элементов ИЛИ, выходы которых соединены с соответствующими S-входами второй группы из m триггеров, выходы которых подключены к соответствующим входам с первого по m-й второго мультиплексора выбора элемента, выход которого подключен к первому входу второго элемента И.The technical problem is solved in that in a device for planning tasks in systems with a ring organization with directional information transfer, containing a matrix of m rows and n columns of elements of a homogeneous environment, n units of counting units, a maximum finding unit, a first adder, a memory unit, and inputs control the permutation of the columns of the matrix of elements of a homogeneous medium connected to the input control the permutation of the columns of the device, the inputs of the control of the permutation of the rows of the matrix of elements of a homogeneous medium the input control permutation of the rows of the device, the inputs of the installation of the matrix of elements of a homogeneous environment are connected to the input of the installation of the device, the information inputs of the matrix of elements of a homogeneous environment are connected to the input of the recording device, the indicator outputs of the elements of the j-th column (j = 1, 2, ..., n) matrices of elements of a homogeneous medium are connected to the input of the jth unit of counting units, the output of which is connected by the jth input of the maximum block and the jth input of the first adder, the outputs of which are connected to the output of the maximum edge length and the output of the total the length of the edges of the device, respectively, the recording control input of the memory block is connected to the recording control of the device, the information outputs of the i-th row elements (i = 1, 2, ..., m) of the matrix elements of a homogeneous medium are connected to the i-th information input of the block memory, the output of which is connected to the information output of the device, an additional lower estimation block is introduced, containing a pulse generator, first and second line selection decoders, first and second element selection multiplexers, arc decoder, comparison element, second sums ator, a group of m ring counters of lower bounds, an arc counter, first and second column counters, first and second row counters, a mode trigger, the first and second groups of m triggers, the first and second groups of m blocks of prohibition elements, the first and second groups of m elements OR, the first and second elements AND, the first and second elements OR, the delay element, and the device start input is connected to the input of the pulse generator, the output of which is connected to the counting input of the first column counter, the output of the pulse generator is connected to the second input the house of the first element And, the first input of which is connected to the direct output of the mode trigger and to the second input of the second element And, the R-input of the mode trigger is connected to the reset output of the device, the S-input of the mode trigger is connected to the overflow output of the first line counter, the output of which is connected to installation input of the first column counter and to the input of the first row selection decoder, the counting input of the first row counter is connected to the overflow output of the first column counter and to the R-inputs of the first group of m triggers, the output of the first counter columns is connected to the control input of the first element selection multiplexer, the outputs from the first to the mth first decoder of the row selection are connected to the corresponding control inputs of the first group of m blocks of inhibit elements, the corresponding inputs of which are connected to the indicator outputs of the corresponding elements from the first to the nth columns matrices of elements of a homogeneous environment, the outputs of the first group of m blocks of elements of prohibition are connected to the corresponding inputs of the first group of m elements OR, the outputs of which are connected to the corresponding the corresponding S-inputs of the first group of m triggers, the outputs of which are connected to the corresponding inputs from the first to the m-th first element multiplexer, the output of which is connected to the corresponding second inputs of the first and second elements OR, the corresponding first inputs of which are connected to the output of the second element AND , the output of the second OR element is connected to the input of the delay element, the output of which is connected to the enable input of the arc decoder, the input of which is connected to the output of the arc counter, the counting input of which is connected to the output of the first of the OR element, the outputs from the first to the mth decoder of the arc are connected to the corresponding counting inputs of the group of m ring counters of the lower rating, the outputs of which are connected to the corresponding inputs of the second adder, the output of which is connected to the output of the lower rating, the output of the first AND element is connected to the counting the input of the second column counter, the output of which is connected to the control input of the second element selection multiplexer and to the second input of the comparison element, the first input of which is connected to the output of the second row counter and to ode to the second decoder of the row selection, the first output of the comparison element is connected to the enable input of the second multiplexer of the selection of the element, the second output of the comparison element is connected to the counting input of the second row counter and the R-inputs of the second group of m triggers, the overflow output of the second row counter is connected to the overflow output devices, outputs from the first to the mth second element selection decoder are connected to the corresponding control inputs of the second group of m blocks of inhibit elements, the inputs of which are connected to the indicator the outputs of the corresponding elements from the first to the nth columns of the matrix of elements of a homogeneous medium, the outputs of the second group of m blocks of inhibit elements are connected to the corresponding inputs of the second group of m OR elements, the outputs of which are connected to the corresponding S-inputs of the second group of m triggers, outputs which are connected to the corresponding inputs from the first to the mth second element selection multiplexer, the output of which is connected to the first input of the second element I.
Сущность изобретения поясняется чертежами, где на фиг.1 изображена функциональная схема устройства планирования размещения задач в системах с кольцевой организацией при направленной передаче информации; фиг.2 поясняет сущность поиска нижней оценки.The invention is illustrated by drawings, where figure 1 shows a functional diagram of a device for planning tasks in systems with a ring organization with directional transmission of information; figure 2 explains the essence of the search for lower bounds.
Общие особенности изобретения состоят в следующем.General features of the invention are as follows.
Предлагаемое устройство может использоваться в области проектирования ВС, например, для оптимизации передачи информации, при размещении процессов (задач, алгоритмов). Устройство позволяет находить так называемую нижнюю оценку размещения в КС по критерию минимизации интенсивности взаимодействия процессов и данных.The proposed device can be used in the field of aircraft design, for example, to optimize the transfer of information when placing processes (tasks, algorithms). The device allows you to find the so-called lower estimate of placement in the COP by the criterion of minimizing the intensity of the interaction of processes and data.
Исходная (размещаемая) задача (процесс, алгоритм) представляется в виде ориентированного невзвешенного графа G=<X,E>, вершины хi∈Х которого соответствуют подзадачам (подалгоритмам), а дуги eij∈E⊆Х×Х задают управляющие и/или информационные связи между подзадачами. Размещаемый граф G задается соответствующей матрицей смежности. Строки и столбцы матрицы отмечаются номерами вершин графа. На пересечении i-й строки и j-го столбца ставится единица, если i-ю и j-ю вершину соединяет дуга, и ноль - в противном случае.The initial (hosted) task (process, algorithm) is represented in the form of a directed unweighted graph G = <X, E>, whose vertices x i ∈X correspond to subproblems (subalgorithms), and the arcs e ij ∈E⊆X × X are defined by control and / or information links between subtasks. The host graph G is defined by the corresponding adjacency matrix. Rows and columns of the matrix are marked with the numbers of the vertices of the graph. At the intersection of the i-th row and the j-th column, one is placed if the i-th and j-th vertices are connected by an arc, and zero otherwise.
Матрица смежности отображается однородной средой, содержащей m×n элементов (где m и n - число процессов). Функционирование однородной среды аналогично прототипу. При поступлении сигнала от внешнего устройства управления (ВУУ) происходит моделирование перестановки пары строк матрицы смежности (что соответствует перестановке двух вершин графа и получению нового размещения). После очередной перестановки предлагаемое устройство вычисляет значения критериев оценки и выдает указанные значения ВУУ. Последнее анализирует принятые значения и либо фиксирует полученное размещение как более оптимальное (если значения критериев улучшают ранее найденные значения), либо игнорирует его.The adjacency matrix is displayed by a homogeneous medium containing m × n elements (where m and n are the number of processes). The functioning of a homogeneous environment is similar to the prototype. Upon receipt of a signal from an external control device (VUU), the permutation of a pair of rows of the adjacency matrix is simulated (which corresponds to the permutation of two vertices of the graph and obtaining a new location). After the next permutation, the proposed device calculates the values of the evaluation criteria and provides the specified values of the VUU. The latter analyzes the accepted values and either fixes the resulting arrangement as more optimal (if the values of the criteria improve the previously found values), or ignores it.
В отличие от прототипа, где оценка выполняется по двум критериям - суммарной длине ребер и максимальной длине ребра, предлагаемое устройство дополнительно реализует поиск нижней оценки размещения в КС.Unlike the prototype, where the assessment is performed according to two criteria - the total length of the ribs and the maximum length of the ribs, the proposed device additionally implements a search for a lower estimate of the placement in the CS.
Сущность предлагаемой нижней оценки размещения поясняется фиг.2. Здесь на фиг.2а и 2в представлены гипотетические варианты размещения графа, а на фиг.2б и 2г представлены соответствующие матрицы смежности. На фиг.2а и 2в кружками обозначены гипотетические модули, а цифры внутри модулей - их соответствующие номера. Числа над пунктирными линиями обозначают интенсивность передачи информации (взаимодействия процессов, интенсивность передачи данных) между смежными модулями. Нижняя оценка размещения может быть найдена путем последовательного назначения дуг на смежные модули КС. Из фиг.2а видно, что такой вариант размещения не является нижней оценкой, так как при поиске нижней оценки размещения дуга из вершины 1 в вершину 4 не может быть зафиксирована в модулях 1-4, а должна быть назначена на соседние (смежные) модули КС. В то же время вариант размещения, изображенный на фиг.2в, является нижней оценкой, так как все дуги при этом назначены на соседние модули КС. Тем самым при применении предлагаемого устройства в ВС, где требуется максимальное время реакции системы, уменьшается общее время выполнения задачи.The essence of the proposed lower assessment of placement is illustrated in figure 2. Here, FIGS. 2a and 2c show hypothetical options for placing the graph, and FIGS. 2b and 2d show the corresponding adjacency matrices. 2a and 2c, hypothetical modules are indicated by circles, and the numbers inside the modules are their corresponding numbers. The numbers above the dashed lines indicate the intensity of information transfer (process interactions, data transfer intensity) between adjacent modules. A lower placement estimate can be found by sequentially assigning arcs to adjacent CS modules. Figure 2a shows that such a placement option is not a lower bound, since when searching for a lower bound for the placement of an arc from
Устройство планирования размещения задач в системах с кольцевой организацией при направленной передаче информации содержит матрицу 1 из m строк и n столбцов элементов однородной среды, блоки 2.1-2.n подсчета единиц, блок 3 нахождения максимума, первый сумматор 4, блок 5 памяти, причем входы управления перестановкой столбцов матрицы 1 элементов однородной среды соединены с входом 7 управления перестановкой столбцов устройства, входы управления перестановкой строк матрицы 1 элементов однородной среды соединены с входом 8 управления перестановкой строк устройства, входы установки матрицы 1 элементов однородной среды соединены с входом 13 установки устройства, информационные входы матрицы 1 элементов однородной среды соединены с входом 6 записи устройства, индикаторные выходы элементов j-го столбца (j=1, 2,..., n) матрицы 1 элементов однородной среды соединены с входом блока 2.j подсчета единиц, выход которого соединен с j-м входом блока 3 нахождения максимума и j-м входом первого сумматора 4, выходы которых соединены с выходом 10 максимальной длины ребра устройства и выходом 11 суммарной длины ребер устройства соответственно, вход управления записью блока 5 памяти соединен с входом 9 управления записью устройства, информационные выходы элементов i-й строки (i=1, 2,..., m) матрицы 1 элементов однородной среды соединены с i-м информационным входом блока 5 памяти, выход которого соединен с информационным выходом 12 устройства, а также дополнительно введенный блок 28 нижней оценки, содержащий генератор 14 импульсов, первый 15 и второй 16 дешифраторы выбора строки, первый 17 и второй 18 мультиплексоры выбора элемента, дешифратор 19 дуги, элемент 20 сравнения, второй 21 сумматор, группу 22.1, 22.2,..., 22. m кольцевых счетчиков нижней оценки, счетчик 23 дуг, первый 24 и второй 25 счетчики столбцов, первый 26 и второй 27 счетчики строк, триггер 29 режима, первую 30.1, 30.2,..., 30.m и вторую 31.1, 31.2, ..., 31.m группы триггеров, первую 32.1, 32.2,..., 32.m и вторую 33.1, 33.2,..., 33.m группы блоков элементов запрета, первую 34.1, 34.2,..., 34.m и вторую 35.1, 35.2,..., 35.m группы элементов ИЛИ, первый 36 и второй 37 элементы И, первый 38 и второй 40 элементы ИЛИ, элемент 39 задержки, причем вход 41 запуска устройства соединен с входом генератора 14 импульсов, выход которого подключен к счетному входу первого 24 счетчика столбцов, выход генератора 14 импульсов соединен со вторым входом первого 36 элемента И, первый вход которого подключен к прямому выходу триггера 29 режима и ко второму входу второго 37 элемента И, R-вход триггера 29 режима соединен с выходом 42 сброса устройства, S-вход триггера 29 режима подключен к выходу переполнения первого 26 счетчика строк, выход которого подключен к установочному входу первого 24 счетчика столбцов и к входу первого 15 дешифратора выбора строки, счетный вход первого 26 счетчика строк подключен к выходу переполнения первого 24 счетчика столбцов и к R-входам первой 30.1, 30.2,..., 30.m группы триггеров, выход первого 24 счетчика столбцов соединен с управляющим входом первого 17 мультиплексора выбора элемента, выходы с первого по m-й первого 15 дешифратора выбора строки подключены к соответствующим управляющим входам первой 32.1, 32.2,..., 32.m группы блоков элементов запрета, соответствующие входы которых подключены к индикаторным выходам соответствующих элементов с первого по n-й столбцов матрицы 1 элементов однородной среды, выходы первой 32.1, 32.2,..., 32.m группы блоков элементов запрета соединены с соответствующими входами первой 34.1, 34.2,..., 34.m группы элементов ИЛИ, выходы которых соединены с соответствующими S-входами первой 30.1, 30.2,..., 30.m группы триггеров, выходы которых подключены к соответствующим входам с первого по m-й первого 17 мультиплексора выбора элемента, выход которого подключен к соответствующим вторым входам первого 38 и второго 40 элементов ИЛИ, соответствующие первые входы которых соединены с выходом второго 37 элемента И, выход второго 40 элемента ИЛИ подключен к входу элемента 39 задержки, выход которого соединен с разрешающим входом дешифратора 19 дуги, вход которого соединен с выходом счетчика 23 дуги, счетный вход которого подключен к выходу первого 38 элемента ИЛИ, выходы с первого по m-й дешифратора 19 дуги подключены к соответствующим счетным входам группы 22.1, 22.2,..., 22.m кольцевых счетчиков нижней оценки, выходы которых подключены к соответствующим входам второго 21 сумматора, выход которого соединен с выходом 44 нижней оценки, выход первого 36 элемента И соединен со счетным входом второго 25 счетчика столбцов, выход которого подключен к управляющему входу второго 18 мультиплексора выбора элемента и ко второму входу элемента 20 сравнения, первый вход которого подключен к выходу второго 27 счетчика строки и к входу второго 16 дешифратора выбора строки, первый выход элемента 20 сравнения соединен с разрешающим входом второго 18 мультиплексора выбора элемента, второй выход элемента 20 сравнения соединен со счетным входом второго 27 счетчика строк и с R-входами второй 31.1, 31.2,..., 31.m группы триггеров, выход переполнения второго 27 счетчика строк подключен к выходу 43 переполнения устройства, выходы с первого по m-й второго 16 дешифратора выбора элемента соединены с соответствующими управляющими входами второй 33.1, 33.2,..., 33.m группы блоков элементов запрета, входы которых подключены к индикаторным выходам соответствующих элементов с первого по n-й столбцов матрицы 1 элементов однородной среды, выходы второй 33.1, 33.2,..., 33.m группы блоков элементов запрета соединены с соответствующими входами второй 35.1, 35.2,..., 35.m группы элементов ИЛИ, выходы которых соединены с соответствующими S-входами второй 31.1, 31.2,..., 31.m группы триггеров, выходы которых подключены к соответствующим входам с первого по m-й второго 18 мультиплексора выбора элемента, выход которого подключен к первому входу второго 37 элемента И.The device for planning the placement of tasks in systems with a ring organization in the directed transmission of information contains a
Назначение элементов и блоков устройства планирования размещения задач в системах с кольцевой организацией (фиг.1) состоит в следующем.The purpose of the elements and blocks of the device planning the placement of tasks in systems with a ring organization (Fig. 1) is as follows.
Матрица 1 элементов однородной среды предназначена для моделирования процесса решения задач размещения.
Блоки 2.1-2.n подсчета единиц предназначены для преобразования кодов с индикаторных выходов элементов соответствующих столбцов матрицы 1 в двоичные коды.Blocks 2.1-2.n of counting units are intended for converting codes from indicator outputs of the elements of the corresponding columns of
Блок 3 нахождения максимума предназначен для выделения максимального кода из множества кодов на его входах.
Первый сумматор 4 предназначен для суммирования n двоичных кодов.The
Блок 5 памяти предназначен для хранения наилучшего на данный момент варианта размещения.The memory unit 5 is designed to store the best placement option at the moment.
Вход 6 записи устройства служит для записи матрицы, представляющей размещаемый граф.The
Вход 7 управления перестановкой столбцов устройства предназначен для приема сигнала от ВУУ о перестановке столбцов.The input 7 controls the permutation of the columns of the device is designed to receive a signal from the VUU about the permutation of the columns.
Вход 8 управления перестановкой строк устройства предназначен для приема сигнала от ВУУ о перестановке строк.Input 8 control the permutation of the lines of the device is designed to receive a signal from the WUU about the permutation of the lines.
Вход 9 управления записью устройства необходим для приема сигнала "Запись" от ВУУ. По этому сигналу в блок 5 памяти заносится текущий вариант размещения из матрицы 1.The input 9 of the recording control device is necessary for receiving a signal "Record" from the VUU. According to this signal, the current placement option from
Выход 10 максимальной длины ребра устройства необходим для выдачи значения максимальной длины ребра на ВУУ.Output 10 of the maximum length of the ribs of the device is necessary to output the value of the maximum length of the ribs on the VUU.
Выход 11 суммарной длины ребер устройства необходим для выдачи значения суммарной длины ребер на ВУУ.Output 11 of the total length of the ribs of the device is necessary to output the value of the total length of the ribs on the WUU.
Информационный выход 12 устройства необходим для выдачи варианта размещения, находящегося в блоке 5 памяти, на ВУУ.The information output 12 of the device is necessary for issuing a placement option located in the memory unit 5 at the WUU.
Вход 13 установки устройства необходим для синхронизации записи информации в элементы матрицы 1.The input 13 of the installation of the device is necessary to synchronize the recording of information in the elements of the
Генератор 14 импульсов предназначен для формирования импульсных последовательностей, синхронизирующих работу блока 28 нижней оценки.The pulse generator 14 is designed to generate pulse sequences that synchronize the operation of block 28 of the lower rating.
Первый 15 и второй 16 дешифраторы выбора строки служит для выбора очередной строки матрицы 1 (матрицы смежности размещаемого графа).The first 15 and second 16 line selection decoders are used to select the next row of matrix 1 (adjacency matrix of the placed graph).
Первый 17 мультиплексор выбора элемента предназначен для подачи с выходов первой 30.1, 30.2,..., 30.m группы триггеров информации о наличии дуги в графе, соответствующей верхнему треугольнику матрицы смежности.The first 17 element selection multiplexer is designed to feed from the outputs of the first 30.1, 30.2, ..., 30.m trigger groups of information about the presence of an arc in the graph corresponding to the upper triangle of the adjacency matrix.
Второй 18 мультиплексор выбора элемента служит для подачи с выходов второй 31.1, 31.2,..., 31.m группы триггеров информации о наличии дуги в графе, соответствующей нижнему треугольнику матрицы смежности.The second 18 element selection multiplexer serves to feed from the outputs of the second 31.1, 31.2, ..., 31.m the trigger group of information about the presence of an arc in the graph corresponding to the lower triangle of the adjacency matrix.
Дешифратор 19 дуги служит для выбора очередной фиксируемой дуги графа и подачи сигналов на соответствующие входы группы 22.1, 22.2,..., 22.m кольцевых счетчиков нижней оценки.The decoder 19 of the arc is used to select the next fixed arc of the graph and feed signals to the corresponding inputs of the group 22.1, 22.2, ..., 22.m of the ring counters of the lower estimate.
Элемент 20 сравнения служит для сравнения значений, содержащихся во втором 27 счетчике строк и во втором 25 счетчике столбцов.The comparison element 20 is used to compare the values contained in the second 27 row counter and in the second 25 column counter.
Второй 21 сумматор необходим для подсчета суммарного значения нижней оценки интенсивности взаимодействия процессов и данных с последующей ее подачей на выход 44 нижней оценки.The second 21 adder is necessary to calculate the total value of the lower estimate of the intensity of the interaction of processes and data with its subsequent submission to the output 44 of the lower estimate.
Группа 22.1, 22.2,..., 22.m кольцевых счетчиков нижней оценки предназначена для накапливания информации о загрузке модулей КС. Работа счетчика основана на пересчете поступающих значений по модулю m.The group 22.1, 22.2, ..., 22.m of the ring counters of the lower rating is intended to accumulate information about the loading of the modules of the COP. The operation of the counter is based on the conversion of incoming values modulo m.
Счетчик 23 дуг предназначен для накапливания информации о номере очередной фиксируемой дуги.The counter 23 of the arcs is designed to accumulate information about the number of the next fixed arc.
Первый 24 и второй 25 счетчики столбцов служат для подсчета номеров обрабатываемых столбцов в текущей выбранной строке матрицы 1.The first 24 and second 25 column counters are used to count the numbers of the processed columns in the currently selected row of
Первый 26 и второй 27 счетчики строк необходимы для накапливания информации о текущей обрабатываемой строке матрицы 1.The first 26 and second 27 row counters are needed to accumulate information about the current processed row of
Блок 28 нижней оценки необходим для поиска нижней оценки размещения в кольцевых системах.Block 28 of the lower bound is needed to search for the lower bound for placement in ring systems.
Триггер 29 режима предназначен для запуска так называемой "верхней" части схемы, заключающейся в выборе и фиксации дуг, лежащих в нижнем треугольнике матрицы смежности.The trigger 29 mode is designed to launch the so-called "upper" part of the circuit, which consists in the selection and fixing of arcs lying in the lower triangle of the adjacency matrix.
Первая 30.1, 30.2,..., 30.m и вторая 31.1, 31.2,..., 31.m группы триггеров необходимы для хранения информации о наличии дуги, инцидентной соответствующим выбранным вершинами матрицы смежности.The first 30.1, 30.2, ..., 30.m and the second 31.1, 31.2, ..., 31.m trigger groups are needed to store information about the presence of an arc incident to the corresponding selected vertices of the adjacency matrix.
Первая 32.1, 32.2, ..., 32.m и вторая 33.1, 33.2, ..., 33.m группы блоков элементов запрета предназначены для блокировки поступления значений от элементов с первой по m-ю строк матрицы 1 на элементы первой 34.1, 34.2,..., 34.m и второй 35.1, 35.2,..., 35.m групп элементов ИЛИ соответственно.The first 32.1, 32.2, ..., 32.m and the second 33.1, 33.2, ..., 33.m groups of blocks of prohibition elements are designed to block the receipt of values from elements from the first to the mth rows of
Первая 34.1, 34.2,..., 34.m и вторая 35.1, 35.2,..., 35.m группы элементов ИЛИ необходимы для объединения сигналов с выходов первой 32.1, 32.2,..., 32.m и второй 33.1, 33.2,..., 33.m групп элементов запрета соответственно.The first 34.1, 34.2, ..., 34.m and the second 35.1, 35.2, ..., 35.m groups of OR elements are needed to combine the signals from the outputs of the first 32.1, 32.2, ..., 32.m and the second 33.1, 33.2, ..., 33.m groups of prohibition elements, respectively.
Первый 36 элемент И предназначен для объединения сигналов с прямого выхода триггера 29 режима и с выхода генератора 14 импульсов с последующей его подачей на счетный вход второго 25 счетчика столбцов.The first 36 And element is intended for combining signals from the direct output of the mode trigger 29 and from the output of the pulse generator 14 with its subsequent supply to the counting input of the second 25 column counter.
Второй 37 элемент И служит для объединения сигналов с прямого выхода триггера 29 режима и с выхода второго 18 мультиплексора выбора элемента. Также он необходим для разрешения поступления сигналов на вход элемента 38 ИЛИ.The second element 37 And serves to combine the signals from the direct output of the mode trigger 29 and from the output of the second element selection multiplexer 18. It is also necessary to allow the input of signals to the input of element 38 OR.
Первый 38 элемент ИЛИ предназначен для объединения сигналов с выхода второго 37 элемента И и с выхода первого 17 мультиплексора выбора элемента.The first 38 OR element is designed to combine the signals from the output of the second 37 AND element and from the output of the first 17 element selection multiplexer.
Элемент 39 задержки служит для задержки поступления импульса с выхода элемента 40 ИЛИ на разрешающий вход дешифратора 19 дуги.The delay element 39 serves to delay the arrival of a pulse from the output of the OR element 40 to the enable input of the arc decoder 19.
Второй 40 элемент ИЛИ предназначен для объединения сигналов с выхода второго 37 элемента И и с выхода первого 17 мультиплексора.The second 40 element OR is designed to combine the signals from the output of the second 37 element And and from the output of the first 17 multiplexer.
Вход 41 запуска устройства необходим для подачи сигнала запуска генератора 14 импульсов от ВУУ.The
Вход 42 сброса необходим для подачи на R-вход триггера 29 режима сигнала сброса состояния триггера.The reset input 42 is necessary for supplying to the R-input of the trigger 29 the mode of the trigger reset signal.
Выход 43 переполнения устройства служит для подачи информации о переполнении второго 27 счетчика строк, что одновременно является сигналом о завершении работы блока 28.The output 43 of the overflow of the device serves to supply information about the overflow of the second 27 line counter, which at the same time is a signal about the completion of the block 28.
Выход 44 нижней оценки служит для подачи на ВУУ значения нижней оценки текущего варианта размещения в КС.The output 44 of the lower estimate is used to submit to the VUU the value of the lower estimate of the current placement option in the COP.
Работа блоков 1, 2, 3, 4 и 5 подробно описана в прототипе и поэтому здесь не рассматривается.The work of
Предлагаемое устройство предназначено для оценки размещения по критериям суммарной длины ребер, максимальной длины ребра. Дополнительно предлагаемое устройство позволяет осуществлять поиск нижней оценки размещения в кольцевых системах при направленной передаче информации, а также предназначено для решения задачи трассировки. Задача трассировки решается в матрице 1 так же, как и в прототипе и поэтому здесь не рассматривается.The proposed device is designed to assess the placement according to the criteria of the total length of the ribs, the maximum length of the ribs. Additionally, the proposed device allows you to search for lower estimates of placement in ring systems with directional information transfer, and is also intended to solve the trace problem. The trace problem is solved in
Первоначально в матрице 1 элементов однородной среды содержится исходный вариант размещения, соответствующий матрице смежности исходного графа. Все триггеры в блоке 5 памяти находятся в состоянии логического нуля. В счетчиках 23, 24 и 26 содержится код единицы ("00...01"). В счетчике 27 содержится код двойки ("00...010"). Единичное значение с выхода счетчика 26 подается на вход дешифратора 15, поэтому на первом его выходе присутствует единый сигнал, который поступает на соответствующие управляющие входы первого блока 32.1 элементов запрета, обеспечивая прохождение на их выходы сигналов с индикаторных выходов элементов первой строки матрицы 1. Эти сигналы проходят через группу 34.1, 34.2,..., 34.m элементов ИЛИ и поступают на соответствующие S-входы группы 30.1, 30.2,..., 30.m триггеров, устанавливая их в единое состояние при наличии соответствующих единичных сигналов. Значение кода двойки с выхода счетчика 27 поступает на вход дешифратора 16 и на его втором выходе появляется единичный потенциал, который подают на соответствующие управляющие входы второго блока 33.2 элементов запрета, обеспечивая прохождение на их выходы сигналов с индикаторных выходов элементов второй строки матрицы 1. Соответствующие сигналы проходят через группу 35.1, 35.2,..., 35.m элементов ИЛИ и поступают на соответствующие S-входы группы 31.1, 31.2,..., 31.m триггеров, устанавливая их в единое состояние при наличии соответствующих единичных сигналов. В счетчике 25 содержится код нуля. Триггер 29 находится в нулевом состоянии, поэтому на его прямом выходе присутствует нулевой потенциал, который поступает на первый вход элемента 36 И и на второй вход элемента 37 И и запрещает появление положительных сигналов на их выходах. В счетчиках 22.1, 22.2,..., 22.m содержатся коды нуля ("00...00"). Во втором сумматоре 21 содержится нулевой код.Initially, the
Оценка размещения по критериям суммарной длины ребер и максимальной длины ребра происходит следующим образом. Информация с индикаторных выходов элементов каждого столбца матрицы 1 поступает в соответствующие блоки подсчета единиц. Блок 2.i (i=1, 2,..., n) выдает двоичное число (код), равное количеству поступивших на его вход единиц. Полученное число далее поступает на входы первого сумматора 4 и блока 3 нахождения максимума, соответствующие данному блоку подсчета единиц. В результате на выходе 10 устройства образуется код (оценка) максимальной длины ребра, а на выходе 11 - код (оценка) суммарной длины ребер, отвечающие текущему варианту размещения схемы (содержащемуся в матрице 1). Полученные оценки далее поступают на ВУУ, где происходит их сравнение с предыдущими значениями. В случае улучшения оценок ВУУ подает импульс (сигнал "Запись") на вход 9 управления записью устройства и текущий вариант размещения переписывается в блок 5 памяти из матрицы 1. Более подробно рассмотренный режим работы устройства описан в прототипе.Assessment of the placement according to the criteria of the total length of the ribs and the maximum length of the ribs is as follows. Information from the indicator outputs of the elements of each column of
Задача поиска нижней оценки в кольцевых системах при направленной передаче информации решается следующим образом. После выполнения очередной перестановки строк на индикаторных выходах элементов матрицы 1 появляются сигналы, соответствующие новому варианту размещения. Одновременно с этим запускается генератор 14 импульсов и начинается работа блока 28 поиска нижней оценки и его так называемой "нижней" части, в которую входят группа 32.1, 32.2,..., 32.m элементов запрета, группа 34.1, 34.2,..., 34.m элементов ИЛИ, группа 30.1, 30.2,..., 30.m триггеров, мультиплексор 17, дешифратор 15, счетчики 24 и 26.The task of finding the lower bound in ring systems with directional information transfer is solved as follows. After completing the next permutation of the rows, the signals corresponding to the new placement option appear on the indicator outputs of the elements of
Элементы 38 и 40 И, элемент 39 задержки, счетчик 23, генератор 14 импульсов, дешифратор 19, группа 22.1, 22.2,..., 22.m счетчиков и сумматор 21 относятся как к "верхней", так и к "нижней" части схемы и поэтому явно не включены ни в "верхнюю", ни в "нижнюю" часть.Elements 38 and 40 And, delay element 39, counter 23, pulse generator 14, decoder 19, group 22.1, 22.2, ..., 22.m counters and adder 21 belong to both the "upper" and the "lower" part schemes and therefore are clearly not included in the "upper" or in the "lower" part.
Импульс с выхода генератора 14 импульсов поступает на счетный вход счетчика 24 и по переднему фронту увеличивает его содержимое до кода двойки ("00...010"). Одновременно импульс с выхода генератора 14 импульсов поступает на второй вход элемента 36 И, но так как на его первом входе присутствует нулевой сигнал, то прохождение сигналов на его выход блокируется. Код числа два с выхода счетчика 24 поступает на управляющий вход мультиплексора 17 и разрешает прохождение сигнала с выхода триггера 30.2 на выход мультиплексора 17. Положительный сигнал с выхода мультиплексора 17 поступает на второй вход элемента 38 ИЛИ и, проходя через него, обеспечивает появление на входе счетчика 23 положительного импульса, который увеличивает его содержимое по заднему фронту до кода двойки ("00...010"). Тот же импульс с выхода мультиплексора 17 поступает через элемент 40 ИЛИ на вход элемента 39 задержки и обеспечивает задержку поступления единичного сигнала на разрешающий вход дешифратора 19 на время, достаточное для установления в счетчике 23 нового значения кода.The pulse from the output of the generator 14 pulses is supplied to the counting input of the counter 24 and on the rising edge increases its contents to a two code ("00 ... 010"). At the same time, the pulse from the output of the pulse generator 14 is fed to the second input of the And element 36, but since there is a zero signal at its first input, the passage of signals to its output is blocked. The number two code from the output of the counter 24 is fed to the control input of the multiplexer 17 and allows the signal to pass from the output of the trigger 30.2 to the output of the multiplexer 17. A positive signal from the output of the multiplexer 17 goes to the second input of the OR element 38 and, passing through it, ensures the appearance of the counter at the input 23 positive impulses, which increase its contents along the trailing edge to a deuce code ("00 ... 010"). The same pulse from the output of the multiplexer 17 enters through the element 40 OR to the input of the delay element 39 and provides a delay in the receipt of a single signal at the enable input of the decoder 19 for a time sufficient to establish a new code value in the counter 23.
После установления в счетчике 23 кода двойки соответствующий сигнал поступает на вход дешифратора 19. К этому времени элемент 39 задержки разрешает поступление импульса на разрешающий вход дешифратора 19. Поэтому на втором его выходе инициируется положительный сигнал, который поступает на счетный вход счетчика 22.2 и увеличивает его содержимое по заднему фронту на единицу. Поэтому в нем устанавливается код единицы ("00...01"). Тем самым обеспечивается фиксация первой дуги графа.After the deuce code is set in the counter 23, the corresponding signal is fed to the input of the decoder 19. By this time, the delay element 39 allows the pulse to enter the enable input of the decoder 19. Therefore, a positive signal is initiated at its second output, which goes to the counter input of the counter 22.2 and increases its content on the trailing edge per unit. Therefore, it sets the unit code ("00 ... 01"). This ensures the fixation of the first arc of the graph.
Очередной импульс с выхода генератора 14 импульсов поступает на счетный вход счетчика 24 и по переднему фронту увеличивает его содержимое до кода тройки ("00...011"). Тот же импульс поступает на второй вход элемента 36 И, но, из-за нулевого сигнала на его первом входе, положительный импульс на его выходе не появляется.The next pulse from the output of the generator 14 pulses is supplied to the counting input of the counter 24 and on the rising edge increases its contents to a triple code ("00 ... 011"). The same pulse is supplied to the second input of the 36 And element, but, due to the zero signal at its first input, a positive pulse does not appear at its output.
Код числа три с выхода счетчика 24 поступает на управляющий вход мультиплексора 17 и разрешает прохождение на его выход сигнала с выхода триггера 34.3. Если в нем содержится единичное значение, то оно поступает на выход мультиплексора 17 и далее на второй вход элемента 38 ИЛИ. Тот же сигнал поступает через элемент 40 ИЛИ на вход элемента задержки 39, задерживая импульс на время, достаточное для прохождения сигнала с выхода мультиплексора 17 на счетный вход счетчика 23 и установления в нем очередного значения. В это время единичный сигнал с выхода элемента 38 ИЛИ поступает на счетный вход счетчика 23 и по переднему фронту увеличивает его содержимое на единицу, устанавливая в нем код числа три ("00...011"). После установления в счетчике 23 кода числа три соответствующий сигнал с его выхода поступает на вход дешифратора 19. Элемент задержки 39 к этому времени пропускает сигнал на разрешающий вход дешифратора 19 и на его третьем выходе появляется единичный импульс. Положительный сигнал поступает на счетный вход счетчика 22.3 и по заднему фронту увеличивает его содержимое на единицу. Таким образом происходит фиксация второй дуги графа.The code of the number three from the output of the counter 24 is supplied to the control input of the multiplexer 17 and allows the passage of the signal to its output from the output of the trigger 34.3. If it contains a single value, then it goes to the output of the multiplexer 17 and then to the second input of the OR element 38. The same signal is supplied through the OR element 40 to the input of the delay element 39, delaying the pulse for a time sufficient for the signal to pass from the output of the multiplexer 17 to the counting input of the counter 23 and to establish the next value in it. At this time, a single signal from the output of the 38 OR element enters the counting input of the counter 23 and increases its content by one on the rising edge, setting the code to three in it ("00 ... 011"). After setting the number three code in the counter 23, the corresponding signal from its output goes to the input of the decoder 19. By this time, the delay element 39 passes the signal to the enable input of the decoder 19 and a single pulse appears on its third output. A positive signal arrives at the counting input of the counter 22.3 and on the trailing edge increases its content by one. In this way, the second arc of the graph is fixed.
Так происходит до тех пор, пока в счетчике 24 не будет установлено значение (n+1). В этом случае на выходе переполнения этого счетчика появится положительный импульс, который поступает на счетный вход счетчика 26 и установит в нем по переднему фронту значение кода двойки ("00...010"). Одновременно импульс с выхода переполнения счетчика 24 поступает на R-входы триггеров 30.1, 30.1,..., 30.m и устанавливает их в нулевое состояние. Код числа два поступает на установочный вход счетчика 24 и устанавливает в нем начальное значение числа два. Код двойки с выхода счетчика 26 также поступает на вход дешифратора 15 и на его втором выходе появляется единичное значение. Единичный импульс с выхода дешифратора 15 поступает на соответствующие управляющие входы второго блока 32.2 элементов запрета, обеспечивая прохождение на их выходы сигналов с индикаторных выходов элементов второй строки матрицы 1. Эти сигналы проходят через группу 34.1, 34.2,..., 34.m элементов ИЛИ и поступают на соответствующие S-входы группы 30.1, 30.2,..., 30.m триггеров, устанавливая их в единое состояние при наличии соответствующих единичных сигналов.This happens until a value of (n + 1) is set in counter 24. In this case, a positive pulse will appear at the overflow output of this counter, which enters the counting input of the counter 26 and sets the value of the two code ("00 ... 010") in it on the leading edge. At the same time, the pulse from the overflow output of the counter 24 enters the R-inputs of the triggers 30.1, 30.1, ..., 30.m and sets them to the zero state. The code of the number two goes to the installation input of the counter 24 and sets the initial value of the number two in it. The two code from the output of the counter 26 also goes to the input of the decoder 15 and a single value appears on its second output. A single pulse from the output of the decoder 15 is supplied to the corresponding control inputs of the second block 32.2 of the inhibit elements, ensuring the passage to their outputs of signals from the indicator outputs of the elements of the second row of the
Очередной импульс с выхода генератора 14 импульсов поступает на счетный вход счетчика 24 и по переднему фронту увеличивает на единицу содержащееся в нем значение. На второй вход элемента 36 И поступает импульс с генератора 14 импульсов, но на его выходе импульс не появляется, так как на первом его входе присутствует нулевой сигнал с прямого выхода триггера 29 режима.The next pulse from the output of the generator 14 pulses is supplied to the counting input of the counter 24 and on the rising edge increases by one the value contained in it. The second input of the 36 And element receives a pulse from the pulse generator 14, but the pulse does not appear at its output, since at its first input there is a zero signal from the direct output of the mode trigger 29.
Далее работа устройства продолжается так, как описано выше до тех пор, пока не будут обработаны все значения матрицы 1, соответствующие верхнему треугольнику матрицы смежности. Об этом свидетельствует положительный импульс на выходе переполнения счетчика 26 строк. На этом работа "нижней" части схемы завершается и начинается работа "верхней" части. В нее входят: триггер 29 режима, элементы 36 и 37 И, мультиплексор 18, дешифратор 16, счетчики 25 и 27, элемент 20 сравнения, группа 31.1, 31.2,..., 31.m триггеров, группа 35.1, 35.2,..., 35.m элементов ИЛИ и группа 33.1, 33.2,..., 33.m элементов запрета.Further, the operation of the device continues as described above until all the values of
Импульс переполнения с выхода счетчика 26 поступает на S-вход триггера 29 режима и устанавливает его в единичное состояние. Единичный сигнал с прямого выхода триггера 29 поступает на первый вход элемента 36 И и на второй вход элемента 37 И. Тем самым разрешается появление на выходе элемента 36 И сигналов при появлении очередного импульса на выходе генератора 14 импульсов. На выходе элемента 37 И также разрешается появление импульсов.The overflow pulse from the output of the counter 26 goes to the S-input of the trigger 29 mode and sets it to a single state. A single signal from the direct output of the trigger 29 is fed to the first input of the 36 And element and to the second input of the 37 And element. This allows the appearance of signals at the output of the 36 And element when the next pulse appears at the output of the 14 pulse generator. At the output of element 37 AND, the appearance of pulses is also permitted.
Очередной импульс с выхода генератора 14 импульсов поступает на второй вход элемента 36 И, так как на его первом входе присутствует единичное значение с прямого выхода триггера 29. На выходе элемента 36 И появляется положительный импульс, который поступает на счетный вход счетчика 25 и по переднему фронту устанавливает в нем код единицы ("00...01"). Этот код поступает на второй вход элемента 20 сравнения. На первом его входе присутствует код двойки с выхода счетчика 27. Так как значение на первом входе больше значения на втором входе, то результат сравнения будет положительным. Поэтому на первом выходе элемента 20 сравнения появляется единичный импульс, который поступает на разрешающий вход мультиплексора 18. На управляющем его входе присутствует код единицы. Поэтому сигнал с выхода триггера 31.1 (если он установлен в единицу) проходит на выход мультиплексора 18 и подается на первый вход элемента 37 И. Так как на втором его входе присутствует единичный сигнал с прямого выхода триггера 29, то на выходе элемента 37 И появляется положительный импульс. Единичный сигнал с его выхода поступает на первые входы элементов 38 и 40 ИЛИ. Сигналы с соответствующих выходов проходят на счетный вход счетчика 23 и элемент 39 задержки. Счетчик 23 по переднему фронту увеличивает свое значение на единицу. Элемент 39 задержки задерживает прохождение сигнала на его выход на время, достаточное для установления очередного кода в счетчике 23. Код, установленный в счетчике 23, поступает на вход дешифратора 19. К этому времени элемент 39 задержки уже пропустил импульс на его выход и он поступает на разрешающий вход дешифратора 19, разрешая тем самым прохождение импульсов на его выходы. Код числа i (i=1, 2,..., m), поступивший на вход дешифратора 19, возбуждает соответствующий i-й (i=1, 2,..., m) выход, который поступает на счетчик 22.i (i=1, 2,..., m), увеличивает его по заднему фронту на единицу. Таким образом, фиксируется очередная дуга графа, соответствующая значению из нижнего треугольника матрицы смежности.The next pulse from the output of the pulse generator 14 is fed to the second input of the 36 And element, since at its first input there is a single value from the direct output of the trigger 29. At the output of the 36 And element, a positive pulse appears that goes to the counting input of the counter 25 and along the rising edge sets the unit code in it ("00 ... 01"). This code is fed to the second input of the comparison element 20. At its first input, there is a deuce code from the output of the counter 27. Since the value at the first input is greater than the value at the second input, the comparison result will be positive. Therefore, at the first output of the comparison element 20, a single pulse appears, which is fed to the enable input of the multiplexer 18. A unit code is present at its control input. Therefore, the signal from the output of trigger 31.1 (if it is set to one) passes to the output of multiplexer 18 and is supplied to the first input of element 37 I. Since there is a single signal at its second input from the direct output of trigger 29, then the output of element 37 AND appears pulse. A single signal from its output goes to the first inputs of the elements 38 and 40 OR. The signals from the respective outputs pass to the counting input of the counter 23 and the delay element 39. Counter 23 on the rising edge increases its value by one. The delay element 39 delays the passage of the signal to its output for a time sufficient to establish the next code in the counter 23. The code installed in the counter 23 arrives at the input of the decoder 19. By this time, the delay element 39 has already passed the pulse to its output and it is arriving at allowing the input of the decoder 19, thereby allowing the passage of pulses to its outputs. The code of the number i (i = 1, 2, ..., m), received at the input of the decoder 19, excites the corresponding i-th (i = 1, 2, ..., m) output, which goes to the counter 22.i (i = 1, 2, ..., m), increases it on the trailing edge by one. Thus, the next arc of the graph corresponding to the value from the lower triangle of the adjacency matrix is fixed.
Очередной импульс с выхода генератора 14 импульсов через элемент 36 И поступает на счетный вход счетчика 25 и увеличивает его до кода двойки ("00...010"). Значение этого кода поступает на второй вход элемента 20 сравнения. На первом входе присутствует код числа два. Результат сравнения будет отрицательным, так как значения равны друг другу. Поэтому единичный импульс появляется на втором выходе элемента 20 сравнения, который поступает на счетный вход счетчика 27 и на R-входы триггеров 31.1, 31.2,..., 31.m, сбрасывая их в нулевое состояние. Содержимое счетчика 27 по переднему фронту увеличивается на единицу и в нем устанавливается код тройки ("00...011"). Код числа три с выхода счетчика 27 поступает на первый вход элемента 20 сравнения и на вход дешифратора 16. Так как на его вход поступил код тройки, на его третьем выходе появится положительный импульс, который поступает на соответствующие управляющие входы третьего блока 32.3 элементов запрета, обеспечивая прохождение на их выходы сигналов с индикаторных выходов элементов третьей строки матрицы 1. Эти сигналы проходят через группу 35.1, 35.2,..., 35.m элементов ИЛИ и поступают на соответствующие S-входы группы 31.1, 31.2,..., 31.m триггеров, устанавливая их в единое состояние при наличии соответствующих единичных сигналов.The next pulse from the output of the generator of 14 pulses through the element 36 And goes to the counting input of the counter 25 and increases it to a two code ("00 ... 010"). The value of this code is fed to the second input of the comparison element 20. At the first input there is a code of two. The result of the comparison will be negative, since the values are equal to each other. Therefore, a single pulse appears at the second output of the comparison element 20, which is fed to the counting input of the counter 27 and to the R-inputs of the triggers 31.1, 31.2, ..., 31.m, resetting them to the zero state. The contents of the counter 27 on the leading edge is increased by one and a triple code is set in it ("00 ... 011"). The code of the number three from the output of the counter 27 goes to the first input of the comparison element 20 and to the input of the decoder 16. Since the triple code has arrived at its input, a positive pulse will appear at its third output, which goes to the corresponding control inputs of the third block of 32.3 inhibit elements, providing passing to their outputs signals from the indicator outputs of the elements of the third row of the
Далее работа схемы продолжается так, как описано выше до тех пор, пока не будут обработаны все дуги рассматриваемого графа из "нижнего" треугольника матрицы смежности. Это произойдет, когда на выходе 43 переполнения появится положительный импульс, который свидетельствует о переполнении счетчика 27, одновременно является сигналом об окончании размещения дуг и сигналом о завершении работы блока 28.Further, the operation of the circuit continues as described above until all arcs of the considered graph from the “lower” triangle of the adjacency matrix are processed. This will happen when a positive impulse appears at the overflow output 43, which indicates the overflow of the counter 27, is at the same time a signal about the end of the placement of arcs and a signal about the completion of the operation of block 28.
Так как значения с выходов счетчиков 22.1, 22.2,..., 22.m подаются на соответствующие входы сумматора 21, то к моменту завершения работы блока 28 во втором сумматоре 21 будет содержаться суммарное значение нижней оценки размещения в КС при направленной передаче информации. Оно поступает на выход 44 нижней оценки с последующей подачей на ВУУ для дальнейшей обработки.Since the values from the outputs of the counters 22.1, 22.2, ..., 22.m are supplied to the corresponding inputs of the adder 21, by the time block 28 is completed, the second adder 21 will contain the total value of the lower placement estimate in the CS for directional information transfer. It goes to the output 44 of the lower assessment, followed by submission to the VUU for further processing.
Таким образом, предлагаемое устройство планирования размещения задач в системах с кольцевой организацией при направленной передаче информации обеспечивает возможность оценки текущего варианта размещения как по критериям суммарной длины ребер и максимальной длины ребра, так и для поиска нижней оценки размещения в КС по предложенному критерию минимизации интенсивности взаимодействия процессов и данных. Тем самым обеспечивается расширение функциональных возможностей устройства и, следовательно, области его целесообразного применения.Thus, the proposed device for planning the placement of tasks in systems with a ring organization in the directional transmission of information provides the ability to evaluate the current placement option according to the criteria for the total length of the edges and the maximum length of the edge, and to search for a lower estimate of the placement in the CS according to the proposed criterion for minimizing the intensity of the interaction of processes and data. This ensures the expansion of the functionality of the device and, therefore, the field of its appropriate application.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
RU2005101060/09A RU2285289C2 (en) | 2005-01-18 | 2005-01-18 | Device for planning positioning of problems in systems with circular organization during directional information transfer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
RU2005101060/09A RU2285289C2 (en) | 2005-01-18 | 2005-01-18 | Device for planning positioning of problems in systems with circular organization during directional information transfer |
Publications (2)
Publication Number | Publication Date |
---|---|
RU2005101060A RU2005101060A (en) | 2006-06-20 |
RU2285289C2 true RU2285289C2 (en) | 2006-10-10 |
Family
ID=36714049
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
RU2005101060/09A RU2285289C2 (en) | 2005-01-18 | 2005-01-18 | Device for planning positioning of problems in systems with circular organization during directional information transfer |
Country Status (1)
Country | Link |
---|---|
RU (1) | RU2285289C2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
RU2769967C1 (en) * | 2021-06-08 | 2022-04-11 | Федеральное государственное бюджетное образовательное учреждение высшего образования «Юго-Западный государственный университет» | Device for searching for a lower estimate of placement in hybrid multiprocessor systems with directional information transmission |
-
2005
- 2005-01-18 RU RU2005101060/09A patent/RU2285289C2/en not_active IP Right Cessation
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
RU2769967C1 (en) * | 2021-06-08 | 2022-04-11 | Федеральное государственное бюджетное образовательное учреждение высшего образования «Юго-Западный государственный университет» | Device for searching for a lower estimate of placement in hybrid multiprocessor systems with directional information transmission |
Also Published As
Publication number | Publication date |
---|---|
RU2005101060A (en) | 2006-06-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Kianfar et al. | Study of stochastic sequence-dependent flexible flow shop via developing a dispatching rule and a hybrid GA | |
US7564809B1 (en) | Event-synchronization protocol for parallel simulation of large-scale wireless networks | |
US20070156380A1 (en) | Logic event simulation | |
JP2022544843A (en) | Compiling for Synchronous Processors | |
RU2285289C2 (en) | Device for planning positioning of problems in systems with circular organization during directional information transfer | |
RU2534924C2 (en) | Device for simulation of decision making under uncertainty | |
RU2452005C2 (en) | Location lower-bound estimate search device in matrix systems during directional transmission of information | |
US20030101429A1 (en) | Method for designing arithmetic device allocation | |
RU2356085C1 (en) | Device for calculation of location intensity value in fully connected matrix systems in case of directive transmission of information | |
RU2319196C1 (en) | Device for finding minimal intensity value in systems with linear organization during directional transmission of data | |
RU2296359C1 (en) | Device for positioning tasks in circular systems | |
RU2275681C1 (en) | Device for finding lower positioning estimate in matrix systems | |
RU2470357C2 (en) | Location lower-bound estimate search device in fully connected matrix systems during one-way data transfer | |
RU2345410C2 (en) | Device of planning of tasks arrangement in systems with ring organisation | |
RU2379749C1 (en) | Method of calculating minimum value of distribution intensity in tree-structured systems | |
US4792893A (en) | Selectively recursive pipelined parallel vector logical operation system | |
RU2297027C1 (en) | Device for calculating minimal value of placement intensiveness in systems with circular organization | |
US20220318638A1 (en) | Propagation latency reduction | |
RU2356084C1 (en) | Device for calculation of location intensity value in fully connected matrix systems | |
RU2723288C1 (en) | Device for estimating the degree of optimality of arrangement in multiprocessor cubic cyclic systems with directional information transmission | |
US9465902B1 (en) | Method and apparatus for designing a system using weighted-cost interconnect synthesis | |
RU2406135C2 (en) | Lower-bound estimate search device with matrix organisation during directional information transmission | |
RU2263953C1 (en) | Device for estimation of difference between current remoteness of position and optimal remoteness of position | |
RU2791419C1 (en) | Search device for degree of placement optimality in cluster multiprocessor systems | |
RU2634200C1 (en) | Device for accelerated calculating matrix of incomplete parallelism |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
MM4A | The patent is invalid due to non-payment of fees |
Effective date: 20070119 |