[go: up one dir, main page]

RU2697618C1 - Device for decompression of data - Google Patents

Device for decompression of data Download PDF

Info

Publication number
RU2697618C1
RU2697618C1 RU2018138452A RU2018138452A RU2697618C1 RU 2697618 C1 RU2697618 C1 RU 2697618C1 RU 2018138452 A RU2018138452 A RU 2018138452A RU 2018138452 A RU2018138452 A RU 2018138452A RU 2697618 C1 RU2697618 C1 RU 2697618C1
Authority
RU
Russia
Prior art keywords
input
data
bits
bus
mask
Prior art date
Application number
RU2018138452A
Other languages
Russian (ru)
Inventor
Григорий Григорьевич Новиков
Игорь Михайлович Ядыкин
Original Assignee
федеральное государственное автономное образовательное учреждение высшего образования "Национальный исследовательский ядерный университет МИФИ" (НИЯУ МИФИ)
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by федеральное государственное автономное образовательное учреждение высшего образования "Национальный исследовательский ядерный университет МИФИ" (НИЯУ МИФИ) filed Critical федеральное государственное автономное образовательное учреждение высшего образования "Национальный исследовательский ядерный университет МИФИ" (НИЯУ МИФИ)
Priority to RU2018138452A priority Critical patent/RU2697618C1/en
Application granted granted Critical
Publication of RU2697618C1 publication Critical patent/RU2697618C1/en

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M7/00Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
    • H03M7/30Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

FIELD: computer equipment.SUBSTANCE: invention relates to computer engineering and is intended for use in information processing systems, and can also be used in data compression and decompression units without loss in systems for rational use of storage and transmission devices, processing data of physical experiments. Device comprises an input data register 2, a multi-output priority unit 3, a group of N data switches 4, 4, …, 4, group of N registers 5, 5, …, 5, output buffer 6, OR-NOT element 7, N groups 8, 8, …, 8with k elements 2AND, register of mask 9, D-trigger 10, as well as input data bus 1, external synchronization input 11, external input of synchronous setting zero state 12, external outputs 13, internal data bus D, a first symbol mask bus M, a second QM symbol mask bus, a MS priority bus and w groups of N bit pointers of the leading unit S1, S2, …, Sw. Input data bus 1 contains a group of input bits of data ID, which consist of w symbols with k digits, and a group of input N bits of the IM symbol mask.EFFECT: faster operation owing to reduction of input data capacity.1 cl, 5 dwg

Description

Изобретение относится к области вычислительной техники и предназначено для использования в системах обработки информации, а также может быть применено в блоках сжатия и распаковки данных без потерь в системах для рационального использования устройств хранения и передачи данных, обработки данных физических экспериментов.The invention relates to the field of computer technology and is intended for use in information processing systems, and can also be used in lossless data compression and decompression units in systems for the rational use of data storage and transmission devices, data processing of physical experiments.

Известен способ сжатия восстановления данных без потерь (RU №2403677 С1, МПК Н03М 7/30, заявлено 09.02.2009, опубликовано 10.11.2010, Бюл. №31), в котором используется сжатие данных, ранее подвергнутых сжатию. В сжимаемом потоке данных считают количество нулей n0 и количество единиц n1, выбирают алгоритм присвоения неповторяющихся цифровых кодов всем возможным перестановкам с повторениями из n0 нулей и n1 единиц и нахождения соответствующей перестановки, которой присваивают цифровой код Nc, считают общее количество кодов nc, определяют значения d1=n0+n1-nc и d2=(n0+n1)/2, а для восстановления потока данных выполняют обратные операции и в соответствии с выбранным алгоритмом по значениям n0, n1, Nc находят конкретную перестановку с повторениями из n0 нулей и n1 единиц, которая соответствует исходному потоку данных.There is a known method of compression of lossless data recovery (RU No. 2403677 C1, IPC Н03М 7/30, announced on February 2, 2009, published November 10, 2010, Bull. No. 31), which uses data compression that has previously been compressed. In the compressible data stream, the number of zeros is n 0 and the number of units is n 1 , the algorithm for assigning non-repeating digital codes to all possible permutations with repetitions of n 0 zeros and n 1 units is selected and the corresponding permutation is assigned to which the digital code N c is assigned, the total number of codes n c , determine the values of d 1 = n 0 + n 1 -n c and d 2 = (n 0 + n 1 ) / 2, and to restore the data stream, reverse operations are performed in accordance with the selected algorithm from the values of n 0 , n 1 , N c find a specific permutation with repetitions of n 0 zeros and n 1 units, which corresponds to the original data stream.

Недостатком данного устройства является схемная сложность, что затрудняет его применение.The disadvantage of this device is the circuit complexity, which complicates its use.

Известно устройство для сжатия данных (RU №2622878 С1, МПК Н03М 7/30, заявлено 01.08.2016, опубликовано 20.06.2017, Бюл. №17), содержащее N входных символов D1, D2, …, DN по k разрядов соединенных с входным регистром данных 1, группу из L анализаторов символов 21, 22, …, 2L, каждый из которых содержит первую группу из w элементов ИЛИ 3, первую группу из w элементов И 4 и блок счета количества единиц 5 (L - количество групп по w символов из k разрядов, причем N=L*w), группу из (L-1) сумматоров 61, 62, …, 6L-1, группу из (L-1) схем сравнения 71, 72, …, 7L-1, группу из (L-1) D-триггеров 81, 82, …, 8L-1 с входом разрешения работы СЕ, асинхронным CLR и синхронным R входами установки в нулевое состояние, вторую группу из (L-1) элементов И 91, 92, …, 9L-1, третий элемент И 10, четвертый элемент И 11, второй элемент ИЛИ 12, многовыходной блок приоритета 13, блок коммутаторов данных 14, выходной буфер 15, внешние входы задания количества символов w в группе 16, внешний вход EN разрешения работы 17, внешний вход С синхронизации 18, внешний вход CLR установки в нулевое состояние 19, внешние выходы устройства Q 20, а также внутреннюю шину данных DD из N символов по к разрядов, внутреннюю N разрядную шину маски символов М, внутреннюю L разрядную шину указателей групп символов U, причем многовыходной блок приоритета 13 содержит w групп выходов, все N разрядов внутренней шины маски М соединены с входами многовыходного блока приоритета 13, внешний вход синхронизации 18 соединен с входами синхронизации С входного регистра 1 и выходного буфера 15.A device for data compression (RU No. 2622878 C1, IPC Н03М 7/30, claimed on 08/01/2016, published on 06/20/2017, Bull. No. 17) containing N input symbols D1, D2, ..., DN of k bits connected to the input data register 1, a group of L character analyzers 2 1 , 2 2 , ..., 2 L , each of which contains a first group of w elements OR 3, a first group of w elements AND 4 and a counting unit of the number of units 5 (L is the number of groups w symbols from k digits, with N = L * w), a group of (L-1) adders 6 1 , 6 2 , ..., 6 L-1 , a group of (L-1) comparison schemes 7 1 , 7 2 , ..., 7, L-1, a group of (L-1) D-flip-flops 8 1, 8 2, ..., 8 L-1 input CE work permit asynchronous CLR and synchronous R Fitting inputs to the zero state, the second group of the (L-1) AND gates 9 1, 9 2, ... 9 L-1, the third AND gate 10, the fourth AND gate 11, the second OR element 12, multi-output priority block 13, data switch block 14, output buffer 15, external inputs for setting the number of characters w in group 16, external input EN for operation permission 17, external input C synchronization 18, external input CLR to zero state 19, the external outputs of the device Q 20, as well as the internal data bus DD of N characters by k bits, the internal N bit bus of the symbol mask M, the internal L bit bus of the pointers of symbol groups U, and the multi-output priority block 13 contains w groups of outputs, all N bits of the internal bus of the mask M are connected to the inputs of the multi-output block of priority 13, the external synchronization input 18 is connected to the synchronization inputs From input register 1 and output buffer 15.

Недостатком данного устройства является отсутствие средств для восстановления сжатых данных.The disadvantage of this device is the lack of tools for recovering compressed data.

Наиболее близким устройством к заявленному изобретению по совокупности признаков является, принятое за прототип, устройство для распаковки данных (RU №2658147 С1, МПК Н03М 7/30, заявлено 05.10.2017, опубликовано 19.06.2018, Бюл. №17), содержащее шину входных данных 1 соединенную с входным регистром данных 2, выходной буфер 6, выходы которого содержат N выходных символов Q1, Q2, …, QN по k разрядов и являются внешними выходами устройства 13, многовыходной блок приоритета 3, который содержит w групп выходов S1, S2, …, Sw по N разрядов, группу из N коммутаторов данных 41, 42, …, 4N, группу из L регистров 51, 52, …, 5L с синхронным входом R установки в нулевое состояние, элемент ИЛИ-НЕ 7, первый элемент ИЛИ 8, второй элемент ИЛИ 9, D-триггер 10 с синхронным входом R установки в нулевое состояние,The closest device to the claimed invention in terms of features is a device for unpacking data (RU No. 2658147 C1, IPC Н03М 7/30, announced on 10/05/2017, published on 06/19/2018, Bull. No. 17) containing the input bus data 1 connected to the input data register 2, the output buffer 6, the outputs of which contain N output symbols Q1, Q2, ..., QN of k bits and are external outputs of the device 13, multi-output priority block 3, which contains w groups of outputs S1, S2, ..., Sw in N digits, a group of N data switches 4 1 , 4 2 , ..., 4 N , a group of L registers 5 1 , 5 2 , ..., 5 L with synchronous input R of zeroing, element OR NOT 7, first element OR 8, second element OR 9, D-trigger 10 with synchronous input R setting to zero,

а также содержащее внешний вход С синхронизации 11, внешний вход R синхронной установки в нулевое состояние 12, внутреннюю шину данных D из w символов по k разрядов, внутреннюю N разрядную шину маски символов М, внутреннюю L разрядную шину указателей групп символов U (L - количество групп по w символов из k разрядов, причем N=L*w),as well as containing an external input C synchronization 11, an external input R synchronous zeroing 12, an internal data bus D of w characters of k bits, an internal N digit bus of the symbol mask M, an internal L bit bus of the pointers of symbol groups U (L is the number groups of w characters from k bits, with N = L * w),

причем внешний вход синхронизации 11 соединен с входами синхронизации С входного регистра данных 2, группы регистров 5, выходного буфера 6 и D-триггера 10, а внешний вход 12 синхронной установки в нулевое состояние соединен с входами R синхронной установки в нулевое состояние входного регистра 2, выходного буфера 6 и D-триггера 10, а выход D-триггера 10 соединен с входом СЕ разрешения работы выходного буфера 6,moreover, the external synchronization input 11 is connected to the synchronization inputs C of the input data register 2, the group of registers 5, the output buffer 6 and the D-trigger 10, and the external input 12 of the synchronous zero state is connected to the inputs R of the synchronous zero state of the input register 2, the output buffer 6 and the D-flip-flop 10, and the output of the D-flip-flop 10 is connected to the input CE of permitting the operation of the output buffer 6,

причем шина входных данных 1 содержит группу входных разрядов данных ID из w символов по k разрядов, группу входных N разрядов маски символов IM, группу входных L разрядов указателей групп символов IU, при этом выходы входного регистра 2 являются соответствующими w*k разрядами внутренней шины данных D и соответствующими N разрядами внутренней шины маски символов М и соответствующими L разрядами внутренней шины указателей групп символов U,moreover, the input data bus 1 contains a group of input bits of data ID of w symbols of k bits, a group of input N bits of a mask of symbols IM, a group of input L bits of pointers of symbol groups IU, while the outputs of input register 2 are the corresponding w * k bits of the internal data bus D and the corresponding N bits of the internal bus of the symbol mask M and the corresponding L bits of the internal bus of the index of the symbol group U,

причем все N разрядов внутренней шины маски М соединены с входами многовыходного блока приоритета 3, а все w*k разрядов внутренней шины данных D соединены с информационными входами каждого коммутатора данных группы из N коммутаторов данных 41, 42, …, 4N, управляющие входы выборки которых соединены с соответствующими одноименными разрядами w групп выходов S1, S2, …, Sw многовыходного блока приоритета 3,moreover, all N bits of the internal bus of mask M are connected to the inputs of the multi-output priority block 3, and all w * k bits of the internal data bus D are connected to the information inputs of each data switch of a group of N data switches 4 1 , 4 2 , ..., 4 N , controlling the sample inputs are connected to the corresponding bits of the same name w of the output groups S1, S2, ..., Sw of the multi-output priority block 3,

Недостатком данного устройства является низкое быстродействие, большая разрядность входных данных и большой объем памяти для хранения данных после компрессии.The disadvantage of this device is the low speed, high bit depth of the input data and a large amount of memory for storing data after compression.

Причиной препятствующей достижению, ниже приведенному техническому результату, являются прием и обработка значений входных L разрядов указателей групп ненулевых символов IU, а также хранение L разрядов указателей групп в памяти после компрессии данных, и невозможность объединения во входные группы данных ID, содержащих по w ненулевых символов, отдельных символов из соседних групп, при суммарном количестве ненулевых символов в соседних группах больше w.The reason that impedes the achievement of the following technical result is the reception and processing of the input L bits of the group index pointers of nonzero IU symbols, as well as the storage of L bits of the group pointer in memory after data compression, and the impossibility of combining the ID data groups containing w nonzero symbols , individual characters from neighboring groups, with a total number of non-zero characters in neighboring groups greater than w.

Техническим результатом изобретения является повышение быстродействия, сокращение разрядности входных данных и простота реализации.The technical result of the invention is to improve performance, reduce the bit depth of input data and ease of implementation.

Указанный технический результат при осуществлении изобретения достигается тем, что в устройство для декомпрессии данных содержащее шину входных данных 1 соединенную с входным регистром данных 2, выходной буфер 6, выходы которого содержат N выходных символов Q1, Q2, …, QN по k разрядов и являются внешними выходами устройства 13, многовыходной блок приоритета 3, который содержит w групп выходов S1, S2, …, Sw по N разрядов, группу из N коммутаторов данных 41, 42, …, 4N, группу регистров 5 с синхронным входом R установки в нулевое состояние, элемент ИЛИ-НЕ 7, D-триггер 10 с синхронным входом R установки в нулевое состояние,The specified technical result in the implementation of the invention is achieved by the fact that the device for decompression of data containing the input data bus 1 connected to the input data register 2, output buffer 6, the outputs of which contain N output symbols Q1, Q2, ..., QN for k bits and are external the outputs of device 13, a multi-output priority block 3, which contains w groups of outputs S1, S2, ..., Sw of N digits, a group of N data switches 4 1 , 4 2 , ..., 4 N , a group of registers 5 with a synchronous input R settings in zero state, element OR NOT 7, D-t a rigger 10 with a synchronous input R setting to zero,

а также содержащее внешний вход С синхронизации 11, внешний вход R синхронной установки в нулевое состояние 12, внутреннюю шину данных D из w символов по k разрядов, внутреннюю N разрядную первую шину маски символов М,as well as containing an external input C synchronization 11, an external input R synchronous installation in a zero state 12, an internal data bus D of w characters of k bits, an internal N bit first symbol mask bus M,

причем внешний вход синхронизации 11 соединен с входами синхронизации С входного регистра данных 2, группы регистров 5, выходного буфера 6 и D-триггера 10, а внешний вход 12 синхронной установки в нулевое состояние соединен с входами R синхронной установки в нулевое состояние входного регистра 2, выходного буфера 6 и D-триггера 10, а выход D-триггера 10 соединен с входом СЕ разрешения работы выходного буфера 6,moreover, the external synchronization input 11 is connected to the synchronization inputs C of the input data register 2, the group of registers 5, the output buffer 6 and the D-trigger 10, and the external input 12 of the synchronous zero state is connected to the inputs R of the synchronous zero state of the input register 2, the output buffer 6 and the D-flip-flop 10, and the output of the D-flip-flop 10 is connected to the input CE of permitting the operation of the output buffer 6,

причем шина входных данных 1 содержит группу входных разрядов данных ID из w символов по k разрядов, группу входных N разрядов маски символов IM, при этом выходы входного регистра 2 являются соответствующими w*k разрядами внутренней шины данных D и соответствующими N разрядами внутренней первой шины маски символов М,moreover, the input data bus 1 contains a group of input bits of data ID of w symbols of k bits, a group of input N bits of a mask of IM symbols, while the outputs of input register 2 are the corresponding w * k bits of the internal data bus D and the corresponding N bits of the internal first bus of the mask characters M,

причем все N разрядов внутренней первой шины маски символов М соединены с входами многовыходного блока приоритета 3, а все w*k разрядов внутренней шины данных D соединены с информационными входами каждого коммутатора данных группы из N коммутаторов данных 41, 42, …, 4N, управляющие входы выборки которых соединены с соответствующими одноименными разрядами w групп выходов S1, S2, …, Sw многовыходного блока приоритета 3,moreover, all N bits of the internal first symbol mask bus M are connected to the inputs of the multi-output priority block 3, and all w * k bits of the internal data bus D are connected to the information inputs of each data switch of the group of N data switches 4 1 , 4 2 , ..., 4 N whose control inputs of the sample are connected to the corresponding bits of the same name w of the output groups S1, S2, ..., Sw of the multi-output priority block 3,

дополнительно введены N групп 81, 82, …, 8N по k элементов 2И, регистр маски 9, а группа регистров 5 содержит N регистров 51, 52, …, 5N по k разрядов,additionally introduced N groups of 8 1 , 8 2 , ..., 8 N for k elements 2I, mask register 9, and the group of registers 5 contains N registers 5 1 , 5 2 , ..., 5 N for k bits,

а также введены внутренняя (N-w) разрядная шина приоритета MS, которая является группой вторых выходов многовыходного блока приоритета 3, внутренняя N разрядная вторая шины маски символов QM, которая является группой выходов регистра маски 9, и флаг нуля FZ,and also introduced an internal (N-w) bit priority bus MS, which is a group of second outputs of a multi-output block of priority 3, an internal N bit second bus of a mask of characters QM, which is a group of outputs of a register of mask 9, and a zero flag FZ,

причем выходы группы из N коммутаторов данных 41, 42, …, 4N соединены с соответствующими информационными входами D одноименных регистров группы из N регистров 51, 52, …, 5N, у которых входы R синхронной установки в нулевое состояние соединены с внешним входом 12 синхронной установки в нулевое состояние, а управляющие входы СЕ разрешения работы соединены с одноименными разрядами внутренней N разрядной первой шины маски символов М, а выходы QB1, QB2, …, QBN всех N регистров 51, 52, …, 5N соединены по группам с соответствующими первыми входами элементов 2И одноименных N групп 81, 82, …, 8N, выходы которых соединены с соответствующими группами информационных входов IQ1, IQ2, …, IQN выходного буфера 6, а вторые входы элементов 2И из N групп 81, 82, …, 8N по группам соединены между собой и подключены к соответствующим одноименным разрядам внутренней N разрядной второй шины маски QM,moreover, the outputs of the group of N data switches 4 1 , 4 2 , ..., 4 N are connected to the corresponding information inputs D of the same registers of the group of N registers 5 1 , 5 2 , ..., 5 N , for which the inputs R of the synchronous zero state are connected with the external input 12 of the synchronous zeroing, and the control inputs CE of the work permit are connected to the same bits of the internal N bit of the first bus of the symbol mask M, and the outputs QB1, QB2, ..., QBN of all N registers 5 1 , 5 2 , ..., 5 N are connected in groups with the corresponding first inputs of elements 2 And N groups of the same name 8 1 , 8 2 , ..., 8 N , the outputs of which are connected to the corresponding groups of information inputs IQ1, IQ2, ..., IQN of the output buffer 6, and the second inputs of elements 2 from N groups 8 1 , 8 2 , ..., 8 N in groups are interconnected and connected to the corresponding bits of the same name of the internal N bit of the second bus mask QM,

кроме того (N-w) разрядов внутренней шины приоритета MS соединены с входами элемента ИЛИ-НЕ 7, выход которого является флагом нуля FZ и соединен с информационным D-входом D-триггера 10, выход которого также соединен с входом СЕ разрешения работы регистра маски 9, у которого вход синхронизации С соединен с внешним входом С синхронизации 11, вход R синхронной установки в нулевое состояние соединен с внешним входом 12 синхронной установки в нулевое состояние, а группа информационных D-входов соединены с N разрядами внутренней первой шины маски символов М.in addition (Nw) bits of the internal priority bus MS are connected to the inputs of the OR-NOT 7 element, the output of which is the zero flag FZ and connected to the information D-input of the D-trigger 10, the output of which is also connected to the input CE of the mask register 9, in which the synchronization input C is connected to the external synchronization input C 11, the synchronous zero input R is connected to the external synchronous zero input 12, and the group of information D inputs are connected to N bits of the first internal symbol mask bus M.

На фиг. 1 представлена схема предлагаемого устройства для декомпрессии данных. На фиг. 2 приведен формат входных данных DD до компрессии. На фиг. 3 приведен формат входных данных на шине 1. На фиг. 4 приведен формат выходных данных. На фиг. 5 приведена потактовая временная диаграмма.In FIG. 1 shows a diagram of the proposed device for data decompression. In FIG. 2 shows the input data format DD before compression. In FIG. 3 shows the input data format on bus 1. FIG. 4 shows the output format. In FIG. Figure 5 shows the tick-time clock diagram.

В устройстве и на фиг. 1-5 приняты следующие обозначения:In the device and in FIG. 1-5 the following notation is accepted:

С - вход синхронизации,C - synchronization input,

СЕ - вход разрешения работы,CE - work permit input,

D - внутренняя шина данных из w символов по k разрядов,D is the internal data bus of w characters of k bits,

DD - данные до компрессии (сжатия),DD - data before compression (compression),

FZ - флаг нуля,FZ - flag of zero,

ID - входные разряды данных - w символов по k разрядов,ID - input data bits - w characters of k bits,

IM - входные N разрядов маски символов,IM - input N bits of a mask of characters,

IQ1, IQ2, …, IQN - N входов символов выходного буфера 6,IQ1, IQ2, ..., IQN - N symbol inputs of output buffer 6,

IU - входные L разрядов указателей групп символов в прототипе,IU - input L bits of the pointers of groups of characters in the prototype,

k - разрядность символов,k is the character length,

L - количество групп по w символов в прототипе, причем N=L*w,L is the number of groups of w characters in the prototype, with N = L * w,

М - внутренняя N разрядная первая шина маски символов,M is an internal N bit first symbol mask bus,

MS - внутренняя (N-w) разрядная шина приоритета,MS - internal (N-w) bit priority bus,

N - количество выходных символов,N is the number of output characters,

Q1, Q2, …, QN - N выходных символов по k разрядов после декомпрессии (восстановления),Q1, Q2, ..., QN - N output characters of k bits after decompression (recovery),

QB1, QB2, QBN - N символов с выходов группы регистров 51, 52, …, 5N,QB1, QB2, QBN - N characters from the outputs of the group of registers 5 1 , 5 2 , ..., 5 N ,

QM - внутренняя N разрядная вторая шина маски символов,QM is an internal N bit second symbol mask bus,

R - вход синхронной установки в нулевое состояние,R - input synchronous installation in a zero state,

S1, S2, …, Sw - w групп N разрядных указателей старшей единицы в коде «1 из N»,S1, S2, ..., Sw - w groups of N bit pointers of the highest unit in the code "1 of N",

U - внутренняя L разрядная шина указателей групп символов в прототипе,U is the internal L bit bus of the pointers of the groups of characters in the prototype,

V - количество ненулевых символов в данных DD,V is the number of non-zero characters in the data DD,

w - количество символов во входных данных ID,.w is the number of characters in the input ID ,.

Z - максимальное количество элементов входной последовательности, причем Z=] N/w [(большее целое) когда количество V ненулевых символов больше (N-w+1),Z is the maximum number of elements in the input sequence, with Z =] N / w [(a larger integer) when the number V of non-zero characters is greater than (N-w + 1),

1 - шина входных данных,1 - input data bus,

2 - входной регистр данных,2 - input data register,

3 - многовыходной блок приоритета,3 - multi-output priority block,

41, 42, …, 4N - группа из N коммутаторов данных,4 1 , 4 2 , ..., 4 N - a group of N data switches,

51, 52, …, 5N - группа из N регистров с синхронным входом R установки в нулевое состояние,5 1 , 5 2 , ..., 5 N is a group of N registers with a synchronous input R of setting to zero state,

6 - выходной буфер,6 - output buffer,

7 - элемент ИЛИ-НЕ,7 - element OR-NOT,

81, 82, …, 8N - N групп по k элементов 2И,8 1 , 8 2 , ..., 8 N - N groups of k elements 2I,

9 - регистр маски,9 - register masks,

10 - D-триггер с синхронным входом R установки в нулевое состояние,10 - D-trigger with a synchronous input R installation in the zero state,

11 - внешний вход синхронизации,11 - external synchronization input,

12 - внешний вход синхронной установки в нулевое состояние,12 - external input synchronous installation in a zero state,

13 - внешние выходы.13 - external outputs.

Предлагаемое устройство содержит входной регистр данных 2, многовыходной блок приоритета 3, группу из N коммутаторов данных 41, 42, …, 4N, группу из N регистров 51, 52, …, 5N, выходной буфер 6, элемент ИЛИ-НЕ 7, N групп 81, 82, …, 8N по k элементов 2И, регистр маски 9, D-триггер 10, а также шину входных данных 1, внешний вход синхронизации 11, внешний вход синхронной установки нулевое состояние 12, внешние выходы 13, внутренние шину данных D, первую шину маски символов М, вторую шину маски символов QM, шину приоритета MS и w групп N разрядных указателей старшей единицы S1, S2, …, Sw.The proposed device contains an input data register 2, a multi-output priority block 3, a group of N data switches 4 1 , 4 2 , ..., 4 N , a group of N registers 5 1 , 5 2 , ..., 5 N , an output buffer 6, an OR element -NOT 7, N groups 8 1 , 8 2 , ..., 8 N for k elements 2I, mask register 9, D-trigger 10, as well as input data bus 1, external synchronization input 11, external synchronous installation input, zero state 12, external outputs 13, internal data bus D, first character mask mask bus M, second character mask mask bus QM, priority bus MS and w groups of N bit pointers tzu S1, S2, ..., Sw.

Шина входных данных 1 содержит группу входных разрядов данных ID, которые состоят из w символов по k разрядов, и группу входных N разрядов маски символов IM, и подключена к входному регистру данных 2.The input data bus 1 contains a group of input bits of data ID, which consists of w symbols of k bits, and a group of input N bits of a symbol mask IM, and is connected to input data register 2.

Входной регистр данных 2 предназначен для хранения значений текущей группы данных ID из w символов по k разрядов и соответствующего этой группе кода маски символов IM. При этом выходы входного регистра данных 2 являются соответствующими разрядами внутренних шины данных D и первой шины маски символов М.The input data register 2 is intended for storing the values of the current data group ID of w characters of k bits and the corresponding IM symbol mask code. The outputs of the input data register 2 are the corresponding bits of the internal data bus D and the first bus of the symbol mask M.

Входной регистр данных 2, регистры 51, 52, …, 5N, выходной буфер 6, регистр маски 9 и D-триггер 10 содержат вход синхронизации С и вход синхронной установки в нулевое состояние R.Input data register 2, registers 5 1 , 5 2 , ..., 5 N , output buffer 6, mask register 9, and D-trigger 10 contain a synchronization input C and a synchronous zero input R.

Внешний вход синхронизации 11 соединен с входами синхронизации С входного регистра 2, регистров 51, 52, …, 5N, выходного буфера 6, регистра маски 9 и D-триггера 10.The external synchronization input 11 is connected to the synchronization inputs from input register 2, registers 5 1 , 5 2 , ..., 5 N , output buffer 6, mask register 9, and D-trigger 10.

Внешний вход 12 синхронной установки в нулевое состояние соединен с входами R синхронной установки в нулевое состояние входного регистра 2, регистров 51, 52, …, 5N, выходного буфера 6, регистра маски 9 и D-триггера 10.The external input 12 of the synchronous zeroing is connected to the inputs R of the synchronous zeroing of the input register 2, registers 5 1 , 5 2 , ..., 5 N , the output buffer 6, the mask register 9 and the D-trigger 10.

Все N разрядов внутренней первой шины маски символов М соединены с входами многовыходного блока приоритета 3, а все w*k разрядов внутренней шины данных D соединены с информационными входами каждого коммутатора данных группы из N коммутаторов данных 41, 42, …, 4N, управляющие входы выборки которых соединены с соответствующими одноименными разрядами w групп выходов S1, S2, …, Sw многовыходного блока приоритета 3.All N bits of the inner first symbol mask bus M are connected to the inputs of the multi-output priority block 3, and all w * k bits of the internal data bus D are connected to the information inputs of each data switch of the group of N data switches 4 1 , 4 2 , ..., 4 N , the control inputs of the sample are connected to the corresponding bits of the same name w of the output groups S1, S2, ..., Sw of the multi-output priority block 3.

Многовыходной блок приоритета 3 формирует на выходах каждой из w групп из N разрядов унитарный код «1 из N», которые соответствуют значению кода на внутренней первой шине маски М и формируются в порядке старшинства приоритетов. Коммутаторы данных 41, 42, …, 4N предназначены для выделения из w символов по k разрядов с внутренней шины данных D одного из символов разрешенного в соответствии с унитарным кодом «1 из N» установленным на выходах w групп N разрядных указателей старшей единицы S1, S2, …, Sw.The multi-output priority block 3 generates at the outputs of each of w groups of N bits the unitary code “1 of N”, which correspond to the code value on the internal first bus of the mask M and are formed in order of priority order. Data switches 4 1 , 4 2 , ..., 4 N are designed to extract from w symbols of k bits from the internal data bus D of one of the symbols allowed in accordance with the unitary code “1 of N” installed at the outputs of w groups of N bit digits of the oldest unit S1, S2, ..., Sw.

Выходы группы из N коммутаторов данных 41, 42, …, 4N соединены с соответствующими информационными входами D одноименных регистров группы из N регистров 51, 52, …, 5N, у которых управляющие входы СЕ разрешения работы соединены с одноименными разрядами внутренней N разрядной первой шины маски символов М.The outputs of the group of N data switches 4 1 , 4 2 , ..., 4 N are connected to the corresponding information inputs D of the same register registers of the group of N registers 5 1 , 5 2 , ..., 5 N , in which the control inputs CE of the work permit are connected with the same bits the internal N bit of the first symbol mask M.

Группа из N регистров 51, 52, …, 5N предназначена для записи на каждом такте до w ненулевых символов по k разрядов входных данных ID, в соответствии с кодом, установленным на внутренней N разрядной первой шине маски символов М.A group of N registers 5 1 , 5 2 , ..., 5 N is designed to record on each cycle up to w nonzero characters of k bits of input data ID, in accordance with the code installed on the internal N bit first bus of the symbol mask M.

Выходы QB1, QB2, …, QBN всех N регистров 51, 52, …, 5N соединены по группам с соответствующими первыми входами элементов 2И одноименных N групп 81, 82, …, 8N, выходы которых соединены с соответствующими группами информационных входов IQ1, IQ2, …, IQN выходного буфера 6, который предназначен для хранения восстановленных значений после декомпрессии данных.The outputs QB1, QB2, ..., QBN of all N registers 5 1 , 5 2 , ..., 5 N are connected in groups with the corresponding first inputs of elements 2 of the same N groups 8 1 , 8 2 , ..., 8 N , the outputs of which are connected with the corresponding groups information inputs IQ1, IQ2, ..., IQN of the output buffer 6, which is designed to store the restored values after data decompression.

Вторые входы элементов 2И из N групп 81, 82, …, 8N по группам соединены между собой и подключены к соответствующим одноименным разрядам внутренней N разрядной второй шины маски QM, которая является выходами регистра маски 9, у которого группа информационных D-входов соединены с N разрядами внутренней первой шины маски символов М. Регистр маски 9 предназначен для хранения значений первичного кода маски для всех V ненулевых символов во входных данных DD до компрессии, содержащих N символов. Разряды второй шины маски QM разрешают передачу ненулевых символов после восстановления с выходов QB1, QB2, …, QBN всех N регистров 51, 52, …, 5N по группам через элементы 2И из N групп 81, 82, …, 8N на группы входов IQ1, IQ2, …, IQN символов выходного буфера 6.The second inputs of the elements 2I from N groups of 8 1 , 8 2 , ..., 8 N in groups are interconnected and connected to the corresponding bits of the same N internal second bit mask bus QM, which are the outputs of the mask register 9, which has a group of information D-inputs connected to the N bits of the internal first bus of the symbol mask M. The register of mask 9 is intended to store the values of the primary mask code for all V non-zero symbols in the input data DD before compression, containing N symbols. The bits of the second bus of the QM mask allow the transmission of non-zero characters after recovery from the outputs QB1, QB2, ..., QBN of all N registers 5 1 , 5 2 , ..., 5 N into groups through elements 2 and from N groups 8 1 , 8 2 , ..., 8 N to the input groups IQ1, IQ2, ..., IQN characters of the output buffer 6.

Внутренняя (N-w) разрядная шина приоритета MS, которая является группой вторых выходов многовыходного блока приоритета 3, соединена с входами элемента ИЛИ-НЕ 7, выход которого является флагом нуля FZ и соединен с информационным D-входом D-триггера 10, выход которого соединен с входами СЕ разрешения работы выходного буфера 6 и регистра маски 9.The internal (Nw) priority bit bus MS, which is the group of the second outputs of the multi-output block of priority 3, is connected to the inputs of the OR-NOT 7 element, the output of which is the FZ zero flag and connected to the information D-input of the D-trigger 10, the output of which is connected to inputs CE enable operation of the output buffer 6 and the mask register 9.

Единичное значение флага нуля FZ=1 формируется если нулевые значения установлены во всех разрядах шины приоритета MS. D-триггер 10 предназначен для управления записью в выходной буфер 6 и регистр маски 9.A single value of the zero flag FZ = 1 is formed if zero values are set in all bits of the priority bus MS. D-trigger 10 is designed to control recording in the output buffer 6 and the mask register 9.

Выходы выходного буфера 6 содержат N выходных символов Q1, Q2, …, QN по k разрядов и являются внешними выходами устройства 13.The outputs of the output buffer 6 contain N output symbols Q1, Q2, ..., QN in k bits and are external outputs of the device 13.

Принцип работы предлагаемого устройства состоит в следующем.The principle of operation of the proposed device is as follows.

После компрессии (сжатия) данных DD, содержащих N символов по k разрядов (фиг. 2), формируется последовательность сжатых данных, элементы которой состоят из группы ID, содержащей до w ненулевых символов по k разрядов данных, и группы маски символов IM (фиг. 3). Максимальное количество элементов входной последовательности составляет Z=] N/w [(большее целое) когда количество V ненулевых символов больше (N-w+1).After compression (compression) of DD data containing N symbols of k bits (FIG. 2), a sequence of compressed data is formed, the elements of which consist of an ID group containing up to w nonzero symbols of k data bits and an IM symbol mask group (FIG. 3). The maximum number of elements in the input sequence is Z =] N / w [(a larger integer) when the number V of non-zero characters is greater than (N-w + 1).

На шину входных данных 1 предлагаемого устройства поступает входная последовательность сжатых данных, начиная со старших символов, содержащая входные разряды данных ID, которые состоят из w символов по k разрядов, и соответствующие им входные N разрядов маски символов IM (фиг. 3), которые принимаются во входной регистр данных 2. При этом единичное значение разряда маски символов IM соответствует ненулевому символу в исходных данных DD до сжатия.The input sequence 1 of the proposed device receives an input sequence of compressed data, starting with high-order characters, containing the input bits of the ID data, which consist of w characters of k bits, and the corresponding input N bits of the IM symbol mask (Fig. 3), which are received in the input data register 2. In this case, a single digit value of the symbol mask IM corresponds to a non-zero symbol in the original data DD before compression.

Многовыходной блок приоритета 3 определяет не только сигнал с наивысшим приоритетом, но также определяет сигналы со вторым, третьим, …, w-м по старшинству приоритетами. В соответствии с кодом маски М на выходах многовыходного блока приоритета 3 формируются w групп приоритета S1, S2, …, Sw в порядке старшинства приоритета. При этом каждому из N разрядов маски символов М присваивается фиксированный приоритет. В устройстве старший приоритет присвоен старшему N-му разряду из N разрядов маски символов М, а далее приоритет уменьшается от разряда к разряду с уменьшением номера разряда. Младший приоритет задан для младшего 1-го разряда маски символов М. Среди выходных w групп S1, S2, …, Sw многовыходного блока приоритета 3 наивысший приоритет присвоен младшей первой группе S1, а далее приоритет уменьшается от группы к группе с увеличением номера группы. Младший приоритет задан для группы со старшим номером Sw. На выходах каждой из w групп приоритета S1, S2, …, Sw вырабатывается результат в виде унитарного кода «1 из N» - единичный сигнал будет установлен только на одном выходе соответствующем высшему (старшему) приоритету. Старший приоритет в каждой из w групп приоритета S1, S2, …, Sw присвоен разряду со старшим номером.The multi-output priority block 3 determines not only the signal with the highest priority, but also determines the signals with the second, third, ..., w-th priority by priority. In accordance with the mask code M, at the outputs of the multi-output priority block 3, w priority groups S1, S2, ..., Sw are formed in order of priority priority. In addition, each of the N digits of the symbol mask M is assigned a fixed priority. In the device, the highest priority is assigned to the highest N-th digit from N bits of the symbol mask M, and then the priority decreases from bit to bit with decreasing bit number. The lowest priority is set for the lower 1st bit of the symbol mask M. Among the output w groups S1, S2, ..., Sw of the multi-output priority block 3, the highest priority is assigned to the lower first group S1, and then the priority decreases from group to group with increasing group number. The lowest priority is set for the group with the highest number Sw. At the outputs of each of the w priority groups S1, S2, ..., Sw, the result is generated in the form of a unitary code “1 of N” - a single signal will be installed on only one output corresponding to the highest (senior) priority. The highest priority in each of the w priority groups S1, S2, ..., Sw is assigned to the category with the highest number.

Далее в соответствии со значениями w групп приоритета S1, S2, …, Sw на выходы группы из N коммутаторов данных 41, 42, …, 4N передаются не более w соответствующих ненулевых символов входных данных ID с внутренней шины данных D.Further, in accordance with the values of w of priority groups S1, S2, ..., Sw, at most w of the corresponding nonzero characters of the input data ID from the internal data bus D are transmitted to the outputs of the group of N data switches 4 1 , 4 2 , ..., 4 N

На следующем такте в соответствии с единичными значениями N разрядов текущего кода с внутренней первой шины маски символов М проводится запись с внутренней шины данных D до w входных ненулевых символов по k разрядов, соответствующие w единичным значениям, начиная со старших разрядов текущей маски символов М, и нулевые значения символов, соответствующие единичным значениям, превышающим w, начиная со старших разрядов текущей маски символов М, в соответствующие регистры 51, 52, …, 5N.At the next clock step, in accordance with the unit values of N bits of the current code, from the internal first bus of the symbol mask M, entries are made from the internal data bus D to w input nonzero symbols of k bits corresponding to w unit values starting from the highest bits of the current symbol mask M, and zero values of characters corresponding to unit values greater than w, starting with the most significant bits of the current character mask M, in the corresponding registers 5 1 , 5 2 , ..., 5 N.

Одновременно с шины входных данных 1 проводится прием следующих значений элементов сжатой последовательности данных во входной регистр данных 2. Далее аналогично проводится восстановление данных и осуществляется прием до w следующих входных ненулевых символов по k разрядов в соответствующие регистры 51, 52, …, 5N, в соответствии со значениями разрядов текущей маски символов М.Simultaneously, from the input data bus 1, the following values of the elements of the compressed data sequence are received in the input data register 2. Next, the data is similarly restored and the next up to w next input nonzero characters of k bits are received in the corresponding registers 5 1 , 5 2 , ..., 5 N , in accordance with the values of the bits of the current character mask M.

Если на текущем такте обработаны все единичные значении разрядов текущей маски символов М, то нулевые значения устанавливаются во всех разрядах внутренней шины приоритета MS на выходах многовыходного блока приоритета 3, формируется единичное значение флага нуля FZ=1 и на следующем такте единичное значение устанавливается на выходе D-триггера 10.If all unit bits of the current symbol mask M are processed at the current clock cycle, then zero values are set in all bits of the internal priority bus MS at the outputs of the multi-output block of priority 3, a single value of the zero flag FZ = 1 is formed, and at the next clock cycle, a unit value is set at output D trigger 10.

Кроме того, для каждых новых входных данных DD на первом такте первичное значение маски символов М, соответствующее всем V ненулевым символам из N входных символов до компрессии, записывается в регистр маски 9 при единичном значении на выходе D-триггера 10.In addition, for each new input data DD on the first clock cycle, the initial value of the symbol mask M, corresponding to all V non-zero symbols from N input symbols before compression, is written to the mask register 9 at a single value at the output of the D-trigger 10.

В каждом такте, в соответствии с единичными значениями разрядов регистра маски 9, на выходы N групп по k элементов 2И 81, 82, …, 8N передаются значения символов QB1, QB2, …, QBN с выходов соответствующих регистров 51, 52, …, 5N, или формируются нулевые символы соответствующие нулевым значениям разрядов регистра маски 9. Значения с выходов N групп по k элементов 2И 81, 82, …, 8N поступают на входы символов IQ1, IQ2, …, IQN выходного буфера 6, которые, при единичном значении на выходе D-триггера 10, на следующем такте записываются в выходной буфер 6 и поступают на внешние выходы 13 устройства. При этом N выходных символов по k разрядов восстановленных данных Q1, Q2, …, QN (фиг. 4) соответствуют данным DD до компрессии (сжатия) без потери информации.In each cycle, in accordance with the unit values of the bits of the mask register 9, the values of the characters QB1, QB2, ..., QBN from the outputs of the corresponding registers 5 1 , 5 are transmitted to the outputs of N groups of k elements 2I 8 1 , 8 2 , ..., 8 N 2 , ..., 5 N , or zero characters are formed that correspond to the zero values of the bits of the mask register 9. The values from the outputs of N groups of k elements 2I 8 1 , 8 2 , ..., 8 N go to the inputs of the symbols IQ1, IQ2, ..., IQN of the output buffer 6, which, at a single value at the output of the D-flip-flop 10, at the next clock cycle is written to the output buffer 6 and goes to the outside back outputs 13 of the device. In this case, N output symbols of k bits of the recovered data Q1, Q2, ..., QN (Fig. 4) correspond to the data DD before compression (compression) without loss of information.

Предлагаемое устройство работает следующим образом.The proposed device operates as follows.

При подаче единичного сигнала на вход R синхронной установки в нулевое состояние 12 по тактовому сигналу С на внешнем входе 11 в нулевое состояние устанавливаются входной регистр данных 1, группа из N регистров 51, 52, …, 5N, D-триггер 10, регистр маски 9 и выходной буфер 6. При этом нулевые значения также устанавливаются во всех разрядах внутренней шины приоритета MS на выходах многовыходного блока приоритета 3 и формируется единичное значение флага нуля FZ=1 на выходе элемента ИЛИ-НЕ 7.When a single signal is applied to the input R of the synchronous zero state 12 by the clock signal C at the external input 11, the input data register 1, a group of N registers 5 1 , 5 2 , ..., 5 N , D-trigger 10, are set mask register 9 and output buffer 6. Moreover, zero values are also set in all bits of the internal priority bus MS at the outputs of the multi-output priority block 3 and a single value of the zero flag FZ = 1 is generated at the output of the OR-NOT 7 element.

По следующему тактовому импульсу С осуществляется прием входных данных ID и маски символов IM во входной регистр 2 с шины входных данных 1. При этом прием в регистры 51, 52, …, 5N, и выходной буфер 6 не выполняется, так как у них на входах разрешения СЕ установлены нулевые сигналы которые поступают с выхода D-триггера 10. Одновременно в единичное состояние устанавливается D-триггер 10, так как установлено единичное значение флага нуля FZ=1.The next clock pulse C receives the input data ID and the symbol mask IM in the input register 2 from the input data bus 1. Moreover, reception in the registers 5 1 , 5 2 , ..., 5 N , and the output buffer 6 is not performed, since of them, zero signals are set at the CE enable inputs that come from the output of the D-trigger 10. At the same time, the D-trigger 10 is set to a single state, since a single value of the zero flag FZ = 1 is set.

Далее в соответствии с кодом маски М на выходах многовыходного блока приоритета 3 формируются w групп приоритета S1, S2, …, Sw в порядке старшинства приоритета. На выходах каждой из w групп приоритета S1, S2, …, Sw вырабатывается результат в виде унитарного кода «1 из N» - единичный сигнал будет установлен только на одном выходе соответствующем высшему (старшему) приоритету. В соответствии с единичными значениями сигналов приоритета S1, S2, …, Sw в группе из N коммутаторов данных 41, 42, …, 4N на выходы передаются не более w соответствующих символов данных D, а на остальных выходах коммутаторов данных 41, 42, …, 4N устанавливаются значения нулевых символов. Одновременно разряды кода маски М передаются на соответствующие одноименные входы СЕ разрешения работы регистров 51, 52, …, 5N и на информационные входы регистра маски 9, у которого на входе СЕ разрешения работы установлено единичное значение с выхода D-триггера 10. Кроме того, если на текущем такте обработаны все единичные значении разрядов текущей маски символов М или если все разряды входной маски М имеют нулевые значения, то нулевые значения устанавливаются во всех разрядах внутренней шины приоритета MS на выходах многовыходного блока приоритета 3 и на выходе элемента ИЛИ-НЕ 7 формируется единичное значение флага нуля FZ=1, а при наличии не обработанных единичных разрядов текущей маски символов М формируется нулевое значение флага нуля FZ=0.Further, in accordance with the mask code M, w priority groups S1, S2, ..., Sw are formed at the outputs of the priority multi-output priority block 3 in order of priority priority. At the outputs of each of the w priority groups S1, S2, ..., Sw, the result is generated in the form of a unitary code “1 of N” - a single signal will be installed on only one output corresponding to the highest (senior) priority. In accordance with the single values of the priority signals S1, S2, ..., Sw in the group of N data switches 4 1 , 4 2 , ..., 4 N , no more than w corresponding data symbols D are transmitted to the outputs, and at the other outputs of the data switches 4 1 , 4 2 , ..., 4 N values of zero characters are set. At the same time, the digits of the mask code M are transmitted to the corresponding inputs of the same operation CE of the registers 5 1 , 5 2 , ..., 5 N and to the information inputs of the mask register 9, which has a single value from the output of the D-trigger 10 at the input of the operation permit CE Moreover, if all unit bits of the current symbol mask M are processed at the current clock cycle or if all bits of the input mask M have zero values, then zero values are set in all bits of the internal priority bus MS at the outputs of the multi-output block ioriteta 3 and the output of OR-NO element 7 is formed by a single value of zero FZ flag = 1, and if there are not individual bits of processed current symbol mask M formed zero value FZ = 0 zero flag.

По следующему тактовому импульсу С в соответствии с единичными значениями разрядов кода маски М проводится запись в соответствующие регистры 51, 52, …, 5N до w входных ненулевых символов по k разрядов с шины D и нулевые значения символов, соответствующие единичным значениям, превышающим w, начиная со старших разрядов текущей маски символов М. При этом также осуществляется запись в регистр маски 9 первого значения кода маски М, единичные значения которого соответствуют всем ненулевым символам из N входных символов до компрессии, если единичное значение установлено на входе СЕ разрешения работы регистра маски 9 с выхода D-триггера 10. Кроме того соответствующее значение флага нуля FZ принимается в D-триггер 10. Одновременно осуществляется прием во входной регистр 2 следующих данных ID и маски символов IM с шины входных данных 1.According to the next clock pulse C, in accordance with the unit values of the bits of the code of the mask M, entries are made in the corresponding registers 5 1 , 5 2 , ..., 5 N to w input non-zero characters of k bits from bus D and zero values of characters corresponding to unit values exceeding w, starting with the high-order bits of the current character mask M. In this case, the first value of the mask code M is also written to the mask register 9, the unit values of which correspond to all nonzero characters from N input characters before compression, if unit The e-value is set at the input CE for enabling the operation of the mask register 9 from the output of the D-trigger 10. In addition, the corresponding value of the zero flag FZ is received in the D-trigger 10. At the same time, the following ID data and the IM character mask are received from the input data bus in input register 2 one.

Далее аналогично, как в предыдущем такте, проводится анализ следующих разрядов кода маски М и в группе из N коммутаторов данных 41, 42, …, 4N на выходы передаются соответствующие следующие w ненулевых символов входных данных ID.Further, similarly as in the previous step, the following bits of the mask code M are analyzed and in the group of N data switches 4 1 , 4 2 , ..., 4 N , the corresponding next w nonzero characters of the input data ID are transmitted to the outputs.

Одновременно на каждом такте в соответствии с единичными значениями разрядов второй маски шины QM с выходов регистра маски 9, на выходы N групп по k элементов 2И 81, 82, …, 8N передаются значения символов QB1, QB2, …, QBN с выходов соответствующих регистров 51, 52, …, 5N, или формируются нулевые символы соответствующие нулевым значениям разрядов регистра маски 9. Значения с выходов N групп по k элементов 2И 81, 82, …, 8N поступают на входы символов IQ1, IQ2, …, IQN выходного буфера 6, которые при единичном значении на выходе D-триггера 10 на следующем такте записываются в выходной буфер 6 и поступают на внешние выходы 13 устройства. При этом N выходных символов по k разрядов восстановленных данных Q1, Q2, …, QN соответствуют данным DD до компрессии (сжатия) без потери информации.At the same time, at each cycle, in accordance with the unit values of the bits of the second mask of the QM bus from the outputs of the mask register 9, the values of the symbols QB1, QB2, ..., QBN from the outputs are transmitted to the outputs of N groups of k elements 2I 8 1 , 8 2 , ..., 8 N of the corresponding registers 5 1 , 5 2 , ..., 5 N , or zero characters are formed corresponding to the zero values of the bits of the mask register 9. The values from the outputs of N groups of k elements 2I 8 1 , 8 2 , ..., 8 N go to the inputs of the characters IQ1, IQ2, ..., IQN of the output buffer 6, which, at a single value at the output of the D-flip-flop 10 at the next clock, records ayutsya the output buffer 6 and supplied to the external device 13 outputs. In this case, N output symbols of k bits of the recovered data Q1, Q2, ..., QN correspond to the data DD before compression (compression) without loss of information.

В потактовой временной диаграмме на фиг. 5 приведен пример для последовательности входных данных DD1, …, DD7, элементы последовательности данных на входе устройства после компрессии ID и IM и восстановление сжатых данных в предлагаемом устройстве, при количестве входных символов N=16 по k=4 разрядов и количестве символов w=4 во входных данных ID. На фиг. 5 в скобках указана форма представления данных - двоичная (2) или шестнадцатеричная (16).In the beat-time diagram of FIG. 5 shows an example for a sequence of input data DD1, ..., DD7, elements of a data sequence at the input of the device after compression of ID and IM and restoration of compressed data in the proposed device, with the number of input characters N = 16 for k = 4 bits and the number of characters w = 4 in the input ID. In FIG. 5 in parentheses is the data representation form - binary (2) or hexadecimal (16).

В такте 1 шестнадцать символов первых данных DD1 до компрессии содержат четыре ненулевых символа (F, А, 5, 3), которые далее сжимаются и поступают по шине 1 в предлагаемое устройство на входные разряды данных ID11=FA53 и на соответствующие входные N разрядов маски символов IM11=4214, которые принимаются во входной регистр 2 в такте 2. Одновременно на такте 2 в соответствии со значениями кода на внутренней первой шине маски М=4214 проводится восстановление данных в группе из N=16 коммутаторов данных 41, 42, …, 416, а затем результаты восстановления в такте 3 записываются во все N=16 регистры 51, 52, …, 516 (QB1, QB2, …, QB16). При этом также код маски символов М=4214 записывается регистр маски 9 (QM=4214), на входе СЕ разрешения работы которого установлено единичное значение с выхода D-триггера 10, и также вновь в единичное состояние устанавливается D-триггер 10, так как нулевые значения установлены во всех разрядах внутренней шины приоритета MS и установлено единичное значение флага нуля FZ=1.In step 1, sixteen characters of the first data DD1 before compression contain four non-zero characters (F, A, 5, 3), which are further compressed and fed via bus 1 to the proposed device for the input data bits ID11 = FA53 and the corresponding input N bits of the symbol mask IM11 = 4214, which are received in input register 2 in step 2. At the same time, in step 2, in accordance with the code values on the internal first bus of the mask M = 4214, data is restored in a group of N = 16 data switches 4 1 , 4 2 , ..., on April 16, followed by recovery of records in cycle 3 vayutsya all N = 16 register 5 1, 5 2, ... 5 16 (QB1, QB2, ..., QB16 ). At the same time, the mask mask code M = 4214 also records the mask register 9 (QM = 4214), at the input of the operation permit CE a single value is set from the output of the D-trigger 10, and the D-trigger 10 is also set to a single state again, since zero values are set in all bits of the internal priority bus MS and a single value of the zero flag FZ = 1 is set.

Далее в соответствии с единичными значениями разрядов QM=4214 регистра маски 9, на выходы N групп по k элементов 2И 81, 82, …, 816 передаются значения символов QB1, QB2, …, QB16 с выходов соответствующих регистров 51, 52, …, 516, которые поступают на входы IQ1, IQ2, …, IQ16 выходного буфера 6 и восстановленные данные (F, А, 5, 3) записываются на следующем такте 4 в выходной буфер 6 и поступают на внешние выходы 13 соответствующих выходных символов Q1, Q2, …, Q16 (QD1 на фиг. 5), при единичном значении на выходе D-триггера 10. Таким образом, декомпрессия входных данных DDI, содержащих четыре ненулевых символа и поступивших на такте 1, проведена за три такта.Further, in accordance with the single values of the digits QM = 4214 of the mask register 9, the values of the symbols QB1, QB2, ..., QB16 from the outputs of the corresponding registers 5 1 , 5 are transmitted to the outputs of N groups of k elements 2I 8 1 , 8 2 , ..., 8 16 2 , ..., 5 16 , which go to the inputs IQ1, IQ2, ..., IQ16 of the output buffer 6 and the recovered data (F, A, 5, 3) are recorded on the next clock 4 in the output buffer 6 and go to the external outputs 13 of the corresponding output characters Q1, Q2, ..., Q16 (QD1 in Fig. 5), at a single value at the output of the D-trigger 10. Thus, decompression of DDI input data containing four non-zero symbol and received in cycle 1, carried out in three cycles.

В такте 2 вторые данные DD2 содержат восемь ненулевых символов (1, В, 9, 8, 7, 6, 5, 2), которые сжимаются и первые старшие четыре символа (1, В, 9, 8) поступают на входные разряды данных ID21=1B98, а также формируется значение кода маски с единичными значениями для ненулевых символов IM21=45F2 в N=16 входных символах, которые в такте 3 принимаются во входной регистр 2 - D=1B98 и M=45F2. Одновременно в такте 3 сжимаются следующие вторые четыре символа (7, 6, 5, 2), которые поступают на входы данных ID22=7652, и формируется значение кода маски IM22=0072, в котором установлены в нулевое состояние разряды соответствующие первым старшим четырем ненулевым символам, принятые во входной регистр 2 на такте 2. На такте 3 на внутренней шине приоритета MS формируется ненулевое значение (MS=0072) и соответственно нулевое значение флага нуля FZ=0, которое на такте 4 записывается в D-триггер 10. Одновременно на такте 4 первое значение кода маски M=45F2 для вторых данных DD2 записывается в регистр маски 9 (QM=45F2), на входе СЕ разрешения работы которого установлено единичное значение, а также записываются только четыре ненулевых символа (1, В, 9, 8) в соответствующие регистры 51, 52, …, 516, и сохраняются значения в остальных регистрах. В такте 5 запись в регистр маски 9 не проводится, так как на входе СЕ разрешения работы которого установлено нулевое значение с выхода D-триггер 10, а также записываются только следующие четыре ненулевых символа (7, 6, 5, 2) в соответствующие регистры 51, 52, …, 516. Одновременно на такте 4 на выходы N групп по k элементов 2И 81, 82, …, 816 и далее на входы IQ1, IQ2, …, IQ16 выходного буфера 6 передаются только четыре ненулевых символа (1, В, 9, 8), а на такте 5 уже передаются восемь ненулевых символов (1, В, 9, 8, 7, 6, 5, 2), которые на следующем такте 6 записываются в выходной буфер 6 и поступают на внешние выходы 13 соответствующих выходных символов Q1, Q2, …, Q16 (QD2 на фиг. 5). Таким образом, декомпрессия входных данных DD2, содержащих восемь ненулевых символов и поступивших на такте 2, проведена за четыре такта.In measure 2, the second data DD2 contains eight non-zero characters (1, B, 9, 8, 7, 6, 5, 2), which are compressed and the first high four characters (1, B, 9, 8) go to the input bits of the ID21 data = 1B98, and a mask code value is generated with unit values for non-zero characters IM21 = 45F2 in N = 16 input characters, which in step 3 are received in input register 2 - D = 1B98 and M = 45F2. At the same time, in step 3, the next second four characters (7, 6, 5, 2) are compressed, which are fed to the data inputs ID22 = 7652, and the value of the mask code IM22 = 0072 is formed, in which the bits corresponding to the first four highest non-zero characters are set to zero received in input register 2 on cycle 2. On cycle 3, a non-zero value (MS = 0072) and, correspondingly, a zero value of the zero flag FZ = 0, which is recorded on cycle 4 in D-trigger 10, are generated on the internal priority bus MS. 4 the first value of the mask code M = 45F2 for the second d nnyh DD2 written in the mask register 9 (QM = 45F2), inlet CE permits operation which found a single value, and recorded only four nonzero symbol (1, 9, 8) into the corresponding register 5 1, 5 2, ..., 5 16 , and the values in the remaining registers are stored. In step 5, writing to the mask register 9 is not performed, since the input CE of the operation permit is set to zero from the output of D-trigger 10, and only the following four non-zero characters (7, 6, 5, 2) are written to the corresponding registers 5 1 , 5 2 , ..., 5 16 . At the same time, at step 4, only four nonzero characters are transmitted to the outputs of N groups of k elements 2I 8 1 , 8 2 , ..., 8 16 and further to the inputs IQ1, IQ2, ..., IQ16 of the output buffer 6 (1, B, 9, 8) , and on step 5, eight nonzero characters (1, B, 9, 8, 7, 6, 5, 2) are already transmitted, which on the next step 6 are written to the output buffer 6 and fed to the external outputs 13 of the corresponding output characters Q1, Q2 , ..., Q16 (QD2 in Fig. 5). Thus, the decompression of the input data DD2, containing eight non-zero characters and received on measure 2, carried out in four cycles.

В такте 4 третьи данные DD3 содержат все нулевые символы ID31=0000, для которых формируются нулевые разряды маски IM31=0000. В такте 5 входные данные записываются во входной регистр 2 - D=0000 и М=0000 и формируется единичное значение флага нуля FZ=1. В такте 6 не проводится запись в регистры 51, 52, …, 516, в которых сохраняется предыдущая информация, но проводится запись в регистр маски 9 нулевого кода QM=0000, поэтому на входах IQ1, IQ2, …, IQ16 выходного буфера 6 также формируются нулевые значения, которые записываются в такте 7 (QD3 на фиг. 5). Таким образом, декомпрессия входных данных DD3, содержащих только нулевые символы и поступивших на такте 4, проведена за три такта.In measure 4, the third data DD3 contains all the null characters ID31 = 0000, for which zero bits of the mask IM31 = 0000 are generated. In step 5, the input data is written to input register 2 - D = 0000 and M = 0000 and a single value of the zero flag FZ = 1 is generated. In step 6, there is no recording in the registers 5 1 , 5 2 , ..., 5 16 , in which the previous information is stored, but recording in the mask register 9 of the zero code QM = 0000, therefore, the output buffer IQ1, IQ2, ..., IQ16 6, zero values are also generated that are recorded in measure 7 (QD3 in FIG. 5). Thus, the decompression of the input data DD3, containing only zero characters and received at measure 4, was carried out in three cycles.

В такте 5 четвертые данные DD4 содержат четыре ненулевых символа (4, 3, 1, А), которые на такте 6 и соответствующий код маски принимаются во входной регистр 2 - D=431A и М=8580. Далее аналогично декомпрессии для первых данных DD1, которые также содержат только четыре ненулевых символа, проводится восстановление для данных DD4. При этом на такте 7 проводится запись только четырех символов (4, 3, 1, А) в соответствующие регистры 51, 52, …, 516, в соответствии с кодом маски М=8580, и сохраняются значения в остальных регистрах. Одновременно в такте 7 на выходе D-триггера 10 сохраняется единичное значение. Поэтому на такте 8 осуществляется запись результата QD4 в выходной регистр 6 (QD4 на фиг. 5). Таким образом, декомпрессия входных данных DD4, содержащих четыре ненулевых символа и поступивших на такте 5, проведена за три такта.In bar 5, the fourth data DD4 contains four non-zero characters (4, 3, 1, A), which in bar 6 and the corresponding mask code are received in input register 2 - D = 431A and M = 8580. Further, similarly to decompression for the first data DD1, which also contain only four non-zero characters, restoration is performed for data DD4. In this case, on step 7, only four characters (4, 3, 1, A) are recorded in the corresponding registers 5 1 , 5 2 , ..., 5 16 , in accordance with the mask code M = 8580, and the values are stored in the remaining registers. At the same time, a single value is stored in step 7 at the output of the D-trigger 10. Therefore, at step 8, the result of QD4 is recorded in the output register 6 (QD4 in Fig. 5). Thus, the decompression of the input data DD4, containing four non-zero characters and received at measure 5, was carried out in three cycles.

В такте 6 пятые данные DD5 содержат десять ненулевых символов, которые сжимаются и первые четыре символа (A, F, С, 7) поступают на входные разряды данных ID51=AFC7, а также формируется значение кода маски ненулевых символов IM51=В3Е5 для всех N=16 входных символов, которые в такте 7 принимаются во входной регистр 2 - D=AFC7 и М=В3Е5. Одновременно в такте 7 сжимаются следующие вторые четыре символа (В, 1, 2, 3), которые поступают на входы данных ID52=В123, и формируется значение кода маски IM52=01Е5, в котором установлены в нулевое состояние разряды соответствующие первым старшим четырем ненулевым символам. Далее в такте 8 сжимаются младшие два ненулевых символа (Е, А), которые поступают на входы данных ID53=EA00, и формируется значение кода маски IM53=0005, в котором установлены в нулевое состояние разряды соответствующие старшим восьми ненулевым символам. Одновременно в такте 7, при единичном значении на выходе D-триггера 10, первое значение кода маски М=В3Е5 для пятых данных DD5 записывается в регистр маски 9 (QM=В3Е5), а также на внутренней шине приоритета MS формируется не нулевое значение (MS=01E5) и соответственно нулевое значение флага нуля FZ=0, которое на такте 8 записывается в D-триггер 10. Аналогично в такте 8 на внутренней шине приоритета MS формируется не нулевое значение (MS=0005) и соответственно нулевое значение флага нуля FZ=0, которое на такте 9 сохраняется в D-триггере 10. Далее в такте 9 на внутренней шине приоритета MS формируется нулевое значение (MS=0000) и соответственно единичное значение флага нуля FZ=1, которое на такте 10 принимается в D-триггер 10. Одновременно на тактах 8, 9, 10, аналогично вышеприведенному восстановлению для вторых данных DD2, на входы IQ1, IQ2, …, IQ16 выходного буфера 6 передаются соответственно четыре, затем восемь и далее десять ненулевых символов соответствующих пятым данным DD5, которые на следующем такте 11 записываются в выходной буфер 6, так как в такте 10 D-триггер 10 был установлен в единичное состояние, и поступают на внешние выходы 13 соответствующих выходных символов Q1, Q2, …, Q16 (QD5 на фиг. 5). Таким образом, декомпрессия входных данных DD5, содержащих десять ненулевых символов и поступивших на такте 6, проведена за пять тактов.In step 6, the fifth data DD5 contains ten non-zero characters, which are compressed and the first four characters (A, F, C, 7) are fed to the input bits of the data ID51 = AFC7, and the value of the mask code of non-zero characters IM51 = B3E5 for all N = 16 input characters, which in step 7 are received in input register 2 - D = AFC7 and M = B3E5. At the same time, in step 7, the following second four characters (B, 1, 2, 3) are compressed, which are fed to the data inputs ID52 = B123, and the mask code value IM52 = 01Е5 is generated, in which the bits corresponding to the first four highest nonzero characters are set to zero . Next, in step 8, the least two non-zero characters (E, A) are compressed, which are fed to the data inputs ID53 = EA00, and the value of the mask code IM53 = 0005 is formed, in which the bits corresponding to the senior eight non-zero characters are set to zero. At the same time, in step 7, for a single value at the output of the D-trigger 10, the first mask code value M = B3E5 for the fifth data DD5 is written to the mask register 9 (QM = B3E5), and a non-zero value is generated on the internal priority bus MS (MS = 01E5) and, accordingly, the zero value of the zero flag FZ = 0, which is written to the D-flip-flop at step 8. Similarly, in step 8, a non-zero value is generated on the internal priority bus MS (MS = 0005) and, accordingly, the zero value of the zero flag FZ = 0, which is stored in step 9 in the D-trigger 10. Then in step 9 on the inner not MS priority, a zero value is formed (MS = 0000) and, accordingly, a single value of the zero flag FZ = 1, which is received at D-trigger 10 at step 10. At the same time at cycles 8, 9, 10, similarly to the above recovery for the second data DD2, the inputs IQ1, IQ2, ..., IQ16 of the output buffer 6 are transmitted respectively four, then eight and then ten non-zero characters corresponding to the fifth data DD5, which at the next clock 11 are written to the output buffer 6, since in clock 10 the D-trigger 10 was set to single state, and go to external Exit 13 of the respective output symbols Q1, Q2, ..., Q16 (QD5 FIG. five). Thus, the decompression of the input data DD5, containing ten non-zero characters and received at measure 6, was carried out for five cycles.

В такте 9 шестые данные DD6 содержат четыре ненулевых символа (С, В, А, 9), которые на такте 10 и соответствующий код маски принимаются во входной регистр 2 - D=CBA9 и M=0F00. Далее аналогично декомпрессии для первых данных DD1 или четвертых данных DD4, которые также содержат по четыре ненулевых символа, проводится восстановление для данных DD6. При этом на такте 11 проводится запись только четырех символов (С, В, А, 9) в соответствующие регистры 51, 52, …, 516, в соответствии с кодом маски M=0F00. Запись результата QD6 в выходной регистр 6 осуществляется на такте 12 (QD6 на фиг. 5). Таким образом, декомпрессия входных данных DD6, содержащих четыре ненулевых символа и поступивших на такте 9, проведена за три такта.In step 9, the sixth data DD6 contains four non-zero characters (C, B, A, 9), which in step 10 and the corresponding mask code are received in input register 2 - D = CBA9 and M = 0F00. Further, similarly to decompression for the first data DD1 or the fourth data DD4, which also contain four non-zero characters, a restoration is performed for the data DD6. At the same time, only four characters (C, B, A, 9) are recorded in bar 11 in the corresponding registers 5 1 , 5 2 , ..., 5 16 , in accordance with the mask code M = 0F00. The result of QD6 is recorded in the output register 6 at step 12 (QD6 in Fig. 5). Thus, the decompression of the input data DD6, containing four non-zero characters and received at measure 9, was carried out in three cycles.

Таким образом, вышеизложенные сведения позволяют сделать вывод, что предлагаемое устройство решает поставленную задачу по декомпрессии данных без потери информации. При этом N выходных символов по k разрядов восстановленных данных Q1, Q2, …, QN соответствуют данным DD до компрессии (сжатия) без потери информации.Thus, the above information allows us to conclude that the proposed device solves the problem of decompressing data without losing information. In this case, N output symbols of k bits of the recovered data Q1, Q2, ..., QN correspond to the data DD before compression (compression) without loss of information.

В сравнении с прототипом в предлагаемом устройстве сокращается разрядность входных данных за счет исключения внутренней L разрядной шины указателей групп символов U. В прототипе и предлагаемом устройстве, когда входные данные из N символов содержат до w ненулевых символов или только нулевые символы, восстановленные данные передаются на выходы Q1, Q2, …, QN через три такта. В предлагаемом устройстве для входной последовательности, содержащей V ненулевых символах, восстановленные данные передаются на выходы Q1, Q2, …, QN через (] V/w [+2) такта (где] [большее целое) независимо от распределения ненулевых символов во входных данных DD, а в прототипе, при включении во входные группы ID из w ненулевых символов отдельных символов из соседних групп, суммарное количество ненулевых символов в соседних группах не должно превышать w, что требует дополнительных тактов для передачи данных. Поэтому в прототипе количество тактов зависит не только от количества ненулевых символов, но и от их расположения в данных до компрессии. Например, для вторых данных DD2, содержащих восемь ненулевых символов (такт 2 на фиг. 5), в предлагаемом устройстве восстановленные данные поступают на выходы Q1, Q2, …, QN через четыре такта на такте 6, а в прототипе для восстановления данных необходимо пять тактов, так как входная последовательность в прототипе будет содержать три группы ненулевых символов (1, В, 9, 8), (8, 7, 6, 5), (2). Аналогично для пятых данных DD5, содержащих десять ненулевых символов (такт 6 на фиг. 5), в предлагаемом устройстве требуется пять тактов (восстановленные данные передаются на такте 11), а в прототипе необходимо шесть тактов, так как ненулевые символы (7, В) и (Е, А) невозможно объединить во входные группы ID с ненулевыми символами (A, F, С) (1, 2, 3) соседних групп. Следовательно, в предлагаемом устройстве необходимо меньшее количество тактов для декомпрессии данных, и, кроме того, сокращается объем памяти для хранения данных после компрессии.Compared with the prototype, the proposed device reduces the bit depth of the input data by eliminating the internal L bit bus of the U symbol group pointers. In the prototype and the proposed device, when the input data from N characters contains up to w nonzero characters or only zero characters, the restored data is transmitted to the outputs Q1, Q2, ..., QN after three clock cycles. In the proposed device for an input sequence containing V non-zero characters, the restored data is transmitted to the outputs Q1, Q2, ..., QN through (] V / w [+2) clock cycles (where] [a larger integer) regardless of the distribution of non-zero characters in the input data DD, and in the prototype, when non-zero characters of individual characters from neighboring groups are included in the input groups ID from w, the total number of non-zero characters in the neighboring groups should not exceed w, which requires additional clock cycles for data transfer. Therefore, in the prototype, the number of measures depends not only on the number of non-zero characters, but also on their location in the data before compression. For example, for the second data DD2, containing eight non-zero characters (cycle 2 in Fig. 5), in the proposed device, the restored data is supplied to the outputs Q1, Q2, ..., QN after four cycles on cycle 6, and in the prototype for data recovery five cycles, since the input sequence in the prototype will contain three groups of non-zero characters (1, B, 9, 8), (8, 7, 6, 5), (2). Similarly, for the fifth DD5 data containing ten non-zero characters (measure 6 in Fig. 5), the proposed device requires five measures (recovered data is transmitted on measure 11), and the prototype requires six measures, since non-zero characters (7, B) and (E, A) it is impossible to combine IDs with non-zero characters (A, F, C) (1, 2, 3) of neighboring groups into the input groups. Therefore, the proposed device requires fewer clock cycles for decompressing data, and, in addition, reduces the amount of memory for storing data after compression.

Таким образом, вышеизложенные сведения позволяют сделать вывод, что предлагаемое устройство обладает регулярностью узлов и связей, простотой реализации, и устройство соответствует заявляемому техническому результату - повышение быстродействия и сокращение разрядности входных данных.Thus, the above information allows us to conclude that the proposed device has a regularity of nodes and connections, ease of implementation, and the device meets the claimed technical result - improving performance and reducing the bit depth of the input data.

Claims (9)

Устройство для декомпрессии данных, содержащее шину входных данных 1, соединенную с входным регистром данных 2, выходной буфер 6, выходы которого содержат N выходных символов Q1, Q2, …, QN по k разрядов и являются внешними выходами устройства 13, многовыходной блок приоритета 3, который содержит w групп выходов S1, S2, …, Sw по N разрядов, группу из N коммутаторов данных 41, 42, …, 4N, группу регистров 5 с синхронным входом R установки в нулевое состояние, элемент ИЛИ-НЕ 7, D-триггер 10 с синхронным входом R установки в нулевое состояние,A device for decompression of data, containing the input data bus 1 connected to the input data register 2, an output buffer 6, the outputs of which contain N output symbols Q1, Q2, ..., QN of k bits and are external outputs of the device 13, multi-output priority block 3, which contains w groups of outputs S1, S2, ..., Sw of N digits, a group of N data switches 4 1 , 4 2 , ..., 4 N , a group of registers 5 with a synchronous input R of setting to zero, the element OR NOT 7, D-trigger 10 with a synchronous input R setting to zero, а также содержащее внешний вход С синхронизации 11, внешний вход R синхронной установки в нулевое состояние 12, внутреннюю шину данных D из w символов по к разрядов, внутреннюю N разрядную первую шину маски символов М,as well as containing an external input C synchronization 11, an external input R synchronous installation in a zero state 12, the internal data bus D of w characters in k bits, the internal N bit first symbol mask bus M, причем внешний вход синхронизации 11 соединен с входами синхронизации С входного регистра данных 2, группы регистров 5, выходного буфера 6 и D-триггера 10, а внешний вход 12 синхронной установки в нулевое состояние соединен с входами R синхронной установки в нулевое состояние входного регистра 2, выходного буфера 6 и D-триггера 10, а выход D-триггера 10 соединен с входом СЕ разрешения работы выходного буфера 6,moreover, the external synchronization input 11 is connected to the synchronization inputs C of the input data register 2, the group of registers 5, the output buffer 6 and the D-trigger 10, and the external input 12 of the synchronous zero state is connected to the inputs R of the synchronous zero state of the input register 2, the output buffer 6 and the D-flip-flop 10, and the output of the D-flip-flop 10 is connected to the input CE of permitting the operation of the output buffer 6, причем шина входных данных 1 содержит группу входных разрядов данных ID из w символов по k разрядов, группу входных N разрядов маски символов IM, при этом выходы входного регистра 2 являются соответствующими w*k разрядами внутренней шины данных D и соответствующими N разрядами внутренней первой шины маски символов М,moreover, the input data bus 1 contains a group of input bits of data ID of w symbols of k bits, a group of input N bits of a mask of IM symbols, while the outputs of input register 2 are the corresponding w * k bits of the internal data bus D and the corresponding N bits of the internal first bus of the mask characters M, причем все N разрядов внутренней первой шины маски символов М соединены с входами многовыходного блока приоритета 3, а все w*k разрядов внутренней шины данных D соединены с информационными входами каждого коммутатора данных группы из N коммутаторов данных 41, 42, …, 4N, управляющие входы выборки которых соединены с соответствующими одноименными разрядами w групп выходов S1, S2, …, Sw многовыходного блока приоритета 3,moreover, all N bits of the internal first symbol mask bus M are connected to the inputs of the multi-output priority block 3, and all w * k bits of the internal data bus D are connected to the information inputs of each data switch of the group of N data switches 4 1 , 4 2 , ..., 4 N whose control inputs of the sample are connected to the corresponding bits of the same name w of the output groups S1, S2, ..., Sw of the multi-output priority block 3, отличающееся тем, что в него дополнительно введены N групп 81, 82, …, 8N по k элементов 2И, регистр маски 9, а группа регистров 5 содержит N регистров 51, 52, …, 5N по k разрядов,characterized in that it additionally contains N groups of 8 1 , 8 2 , ..., 8 N for k elements 2I, mask register 9, and the group of registers 5 contains N registers 5 1 , 5 2 , ..., 5 N for k bits, а также введены внутренняя (N-w) разрядная шина приоритета MS, которая является группой вторых выходов многовыходного блока приоритета 3, внутренняя N разрядная вторая шины маски символов QM, которая является группой выходов регистра маски 9, и флаг нуля FZ,and also introduced an internal (N-w) bit priority bus MS, which is a group of second outputs of a multi-output block of priority 3, an internal N bit second bus of a mask of characters QM, which is a group of outputs of a register of mask 9, and a zero flag FZ, причем выходы группы из N коммутаторов данных 41, 42, …, 4N соединены с соответствующими информационными входами D одноименных регистров группы из N регистров 51, 52, …, 5N, у которых входы R синхронной установки в нулевое состояние соединены с внешним входом 12 синхронной установки в нулевое состояние, а управляющие входы СЕ разрешения работы соединены с одноименными разрядами внутренней N разрядной первой шины маски символов М, а выходы QB1, QB2, …, QBN всех N регистров 51, 52, …, 5N соединены по группам с соответствующими первыми входами элементов 2И одноименных N групп 81, 82, …, 8N, выходы которых соединены с соответствующими группами информационных входов IQ1, IQ2, …, IQN выходного буфера 6, а вторые входы элементов 2И из N групп 81, 82, …, 8N по группам соединены между собой и подключены к соответствующим одноименным разрядам внутренней N разрядной второй шины маски QM,moreover, the outputs of the group of N data switches 4 1 , 4 2 , ..., 4 N are connected to the corresponding information inputs D of the same registers of the group of N registers 5 1 , 5 2 , ..., 5 N , for which the inputs R of the synchronous zero state are connected with the external input 12 of the synchronous zeroing, and the control inputs CE of the work permit are connected to the same bits of the internal N bit of the first bus of the symbol mask M, and the outputs QB1, QB2, ..., QBN of all N registers 5 1 , 5 2 , ..., 5 N are connected in groups with the corresponding first inputs of elements 2 And N groups of the same name 8 1 , 8 2 , ..., 8 N , the outputs of which are connected to the corresponding groups of information inputs IQ1, IQ2, ..., IQN of the output buffer 6, and the second inputs of elements 2 from N groups 8 1 , 8 2 , ..., 8 N in groups are interconnected and connected to the corresponding bits of the same name of the internal N bit of the second bus mask QM, кроме того, (N-w) разрядов внутренней шины приоритета MS соединены с входами элемента ИЛИ-НЕ 7, выход которого является флагом нуля FZ и соединен с информационным D-входом D-триггера 10, выход которого также соединен с входом СЕ разрешения работы регистра маски 9, у которого вход синхронизации С соединен с внешним входом С синхронизации 11, вход R синхронной установки в нулевое состояние соединен с внешним входом 12 синхронной установки в нулевое состояние, а группа информационных D-входов соединены с N разрядами внутренней первой шины маски символов М.in addition, (Nw) bits of the internal priority bus MS are connected to the inputs of the OR-NOT 7 element, the output of which is the zero flag FZ and connected to the information D-input of the D-trigger 10, the output of which is also connected to the input CE of the mask register 9 in which the synchronization input C is connected to the external synchronization input C 11, the synchronous zero input R is connected to the external synchronous zero input 12, and a group of information D inputs are connected to N bits of the first internal symbol mask bus M.
RU2018138452A 2018-10-30 2018-10-30 Device for decompression of data RU2697618C1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
RU2018138452A RU2697618C1 (en) 2018-10-30 2018-10-30 Device for decompression of data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
RU2018138452A RU2697618C1 (en) 2018-10-30 2018-10-30 Device for decompression of data

Publications (1)

Publication Number Publication Date
RU2697618C1 true RU2697618C1 (en) 2019-08-15

Family

ID=67640472

Family Applications (1)

Application Number Title Priority Date Filing Date
RU2018138452A RU2697618C1 (en) 2018-10-30 2018-10-30 Device for decompression of data

Country Status (1)

Country Link
RU (1) RU2697618C1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2729509C1 (en) * 2019-12-23 2020-08-07 федеральное государственное автономное образовательное учреждение высшего образования "Национальный исследовательский ядерный университет МИФИ" (НИЯУ МИФИ) Device for unpacking data

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7685083B2 (en) * 2002-02-01 2010-03-23 John Fairweather System and method for managing knowledge
RU2386210C2 (en) * 2006-08-04 2010-04-10 Государственное образовательное учреждение высшего профессионального образования "Поволжская государственная академия телекоммуникаций и информатики" Method for data compression
RU2403677C1 (en) * 2009-02-09 2010-11-10 Сергей Борисович Муллов Method for lossless data compression and retrieval
RU2622878C1 (en) * 2016-08-01 2017-06-20 федеральное государственное автономное образовательное учреждение высшего образования "Национальный исследовательский ядерный университет МИФИ" (НИЯУ МИФИ) Device for data compression
RU2658147C1 (en) * 2017-10-05 2018-06-19 федеральное государственное автономное образовательное учреждение высшего образования "Национальный исследовательский ядерный университет "МИФИ" (НИЯУ МИФИ) Data decompression device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7685083B2 (en) * 2002-02-01 2010-03-23 John Fairweather System and method for managing knowledge
RU2386210C2 (en) * 2006-08-04 2010-04-10 Государственное образовательное учреждение высшего профессионального образования "Поволжская государственная академия телекоммуникаций и информатики" Method for data compression
RU2403677C1 (en) * 2009-02-09 2010-11-10 Сергей Борисович Муллов Method for lossless data compression and retrieval
RU2622878C1 (en) * 2016-08-01 2017-06-20 федеральное государственное автономное образовательное учреждение высшего образования "Национальный исследовательский ядерный университет МИФИ" (НИЯУ МИФИ) Device for data compression
RU2658147C1 (en) * 2017-10-05 2018-06-19 федеральное государственное автономное образовательное учреждение высшего образования "Национальный исследовательский ядерный университет "МИФИ" (НИЯУ МИФИ) Data decompression device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2729509C1 (en) * 2019-12-23 2020-08-07 федеральное государственное автономное образовательное учреждение высшего образования "Национальный исследовательский ядерный университет МИФИ" (НИЯУ МИФИ) Device for unpacking data

Similar Documents

Publication Publication Date Title
US4593393A (en) Quasi parallel cyclic redundancy checker
US6243808B1 (en) Digital data bit order conversion using universal switch matrix comprising rows of bit swapping selector groups
CA2096432C (en) Maximum search circuit
US4498174A (en) Parallel cyclic redundancy checking circuit
KR20050110646A (en) Iterative circuit and method for variable width parallel cyclic redundancy check (crc) calculation
RU2622878C1 (en) Device for data compression
US4481623A (en) Speed independent arbiter switch employing M-out-of-N codes
US8234320B1 (en) Bitwise comparator for selecting two smallest numbers from a set of numbers
RU2697618C1 (en) Device for decompression of data
US3588364A (en) Adaptive encoder and decoder
RU2658147C1 (en) Data decompression device
RU2672625C1 (en) Device for compression of data
KR20110078164A (en) MIP CSI Receiver with Multi-lane Structure
JP2008204284A (en) Serial interface circuit and serial receiver
US6904116B2 (en) Shift register
RU2729509C1 (en) Device for unpacking data
RU2710987C1 (en) Device for data compression
RU2638724C1 (en) Device for order correction when normalizing numbers
KR100252766B1 (en) Sticky signal generator operating at high-speed
RU2760628C1 (en) Method and associative matrix apparatus for parallel search of a sample based on the prefixes thereof
SU902073A1 (en) Associative storage device
RU2149442C1 (en) Device for modulo seven multiplication
RU2390049C1 (en) Parallel decoder for controlled transposition of information stored on personal computer
JP3012505B2 (en) Frame synchronization circuit
RU2010312C1 (en) Device for calculating natural log of complex number