JPH10307704A - Constitution method for circuit for outputting element of two-dimensional linear partial space - Google Patents

Constitution method for circuit for outputting element of two-dimensional linear partial space

Info

Publication number
JPH10307704A
JPH10307704A JP9113678A JP11367897A JPH10307704A JP H10307704 A JPH10307704 A JP H10307704A JP 9113678 A JP9113678 A JP 9113678A JP 11367897 A JP11367897 A JP 11367897A JP H10307704 A JPH10307704 A JP H10307704A
Authority
JP
Japan
Prior art keywords
binary
circuit
basis
components
partial space
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
JP9113678A
Other languages
Japanese (ja)
Other versions
JP3466048B2 (en
Inventor
Hidenao Nagano
秀尚 永野
Noriyuki Suyama
敬之 須山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP11367897A priority Critical patent/JP3466048B2/en
Publication of JPH10307704A publication Critical patent/JPH10307704A/en
Application granted granted Critical
Publication of JP3466048B2 publication Critical patent/JP3466048B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To reduce the scale and delay time of a circuit for successively outputting all two-dimensional vectors to be the elements of a two-dimensional linear partial space parallelly for respective components. SOLUTION: In the case that the base V= a1 , a2 ,..., am } of the two-dimensional linear partial space is supplied, the base V'= a1 ', a2 ',..., am '} for generating the same two-dimensional linear partial space as the two-dimensional linear partial space generated by the base for which the total number of the components to be '1' of the respective two-dimensional vectors is smaller than the total number of the components to be '1' of the respective two-dimensional vectors of the base V is prepared. Then, by calculating the linear combination c1 a1 '+c2 a2 '+...cm am ' of the prepared base V', the circuit for successively outputting all the vectors (v)=(v1 , v2 ,..., Vn ) to be the elements of the two-dimensional linear partial space generated by the supplied base V parallelly for the respective parts is constituted.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明が属する技術分野】本発明は所与の2元線形部分
空間の基底から、2元線形部分空間の要素となる全ての
2元ベクトルを順次、各成分を並列に出力する回路の構
成方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of constructing a circuit for sequentially outputting all binary vectors, which are elements of a binary linear subspace, from a given basis of a given binary linear subspace in parallel. Regarding

【0002】[0002]

【従来の技術】まず、2元ベクトルについて説明する。
長さnの2元ベクトルvとは、v=(v1,v2,・・
・,vn)と表される長さnの系列であり、各成分v
i(i=1,・・・,n)のとる値は1か0のいずれか
である。そして、2つの長さnの2元ベクトルv=(v
1,v2,・・・,vn)とw=(w1,w2,・・・,
n)の加算v+wはv+w=(v1+w1,v1+w2
・・・,vn+wn)として定義される。ここで、0+0
=0,1+0=0+1=1,1+1=0である。例え
ば、v=(1,1,0,0),w=(1,0,0,1)
の場合、v+w=(1+1,1+0,0+0,0+1)
=(0,1,0,1)となる。また、0か1の値をとる
定数kに対し、ベクトルvの定数倍kvは、kv=(k
・v1,k・v2,・・・,k・vn)として定義され
る。ここで、0・0=0,1・0=0・1=0,1・1
=1である。例えば、0(1,0,1,0)=(0・
1,0・0,0・1,0・0)=(0,0,0,0)で
あり、1(1,0,1,0)=(1・1,1・0,1・
1,1・0)=(1,0,1,0)となる。そして、2
元ベクトルの加算と定数倍では、定数倍の方が優先順位
が高く、0(1,0,1,0)+1(1,1,0,0)
=(0・1,0・0,0・1,0・0)+(1・1,1
・1,1・0,1・0)=(0,0,0,0)+(1,
1,0,0)=(1,1,0,0)のように計算され
る。
2. Description of the Related Art First, a binary vector will be described.
A binary vector v of length n is given by v = (v 1 , v 2 ,...
, V n ), and a sequence of length n represented by each component v
The value of i (i = 1, ..., N) is either 1 or 0. Then, two binary vectors of length n v = (v
1, v 2, ···, v n) and w = (w 1, w 2 , ···,
The addition v + w of w n ) is v + w = (v 1 + w 1 , v 1 + w 2 ,
..., v n + w n ). Where 0 + 0
= 0,1 + 0 = 0 + 1 = 1,1 + 1 = 0. For example, v = (1,1,0,0), w = (1,0,0,1)
, V + w = (1 + 1,1 + 0,0 + 0,0 + 1)
= (0,1,0,1). Also, the constant multiple kv of the vector v with respect to the constant k that takes a value of 0 or 1 is kv = (k
· V 1 , k · v 2 , ···, k · v n ). Here, 0.0 = 0, 1.0 = 0 = 0 = 1, 0, 1
= 1. For example, 0 (1,0,1,0) = (0 ·
1,0 · 0,0 · 1,0 · 0) = (0,0,0,0) and 1 (1,0,1,0) = (1 · 1,1 · 0,1 ·
1,1,0) = (1,0,1,0). And 2
In addition and constant multiplication of the original vector, the constant multiplication has a higher priority, and 0 (1, 0, 1, 0) +1 (1, 1, 0, 0)
= (0,1,0,0,0,1,0,0) + (1,1,1
・ 1,1,0,1,0) = (0,0,0,0) + (1,
(1,0,0) = (1,1,0,0).

【0003】次に、2元ベクトルの一次結合について説
明する。有限個の長さnの2元ベクトルa1,a2,・・
・,am(aiはそれぞれ2元ベクトル、1≦i≦m)か
ら加算および定数倍によって生ずる長さnの2元ベクト
ルc11+c22+・・・+cmm+・・・+cm
m(ci=0,1 1≦i≦m)をa1,a2,・・・,a
mの一次結合であるという。また、長さnの2元ベクト
ルaが、a=c11+c22+・・・+cmmとなると
き、aはa1,a2,・・・,amの一次結合として表わ
されるという。例えば、3個の2元ベクトルa1
(1,0,1,1),a2=(1,0,0,1),a3
(0,1,0,0)から1a1+1a2+0a3を計算し
て得られる2元ベクトルv=(0,0,1,0)は2元
ベトクルa1,a2,a3の一次結合であり、vはv=1
1+1a2+0a3のようにa1,a2,a3の一次結合で
表されるという。
Next, the linear combination of binary vectors will be described. A finite number of binary vectors a 1 , a 2 , ...
·, A m (a i respectively binary vector, 1 ≦ i ≦ m) 2-vector of length n produced by the addition and constant multiplication from c 1 a 1 + c 2 a 2 + ··· + c m a m + ... + c ma
m (c i = 0, 11 1 ≦ i ≦ m) is defined as a 1 , a 2 ,.
It is said to be a linear combination of m . Also, binary vector a of length n is, when the a = c 1 a 1 + c 2 a 2 + ··· + c m a m, a is a 1, a 2, · · ·, primary a m It is expressed as a bond. For example, three binary vectors a 1 =
(1,0,1,1), a 2 = (1,0,0,1), a 3 =
A binary vector v = (0,0,1,0) obtained by calculating 1a 1 + 1a 2 + 0a 3 from (0,1,0,0) is a first- order binary vector a 1 , a 2 , a 3 Is a bond, and v is v = 1
It is said that it is represented by linear combinations of a 1 , a 2 and a 3 like a 1 + 1a 2 + 0a 3 .

【0004】次に、2元線形部分空間について説明す
る。m個の長さnの2元ベクトルa1,a2,・・・,a
mに対し、a1,a2,・・・,amの一次結合c11+c
22+・・・+cmm(ci=0,1 1≦i≦m)
が、c1=c2=・・・=cm=0のときに限り零ベクト
ル0=(0,0,・・・,0)になるとき、a1,a2
・・・,amは一次独立であるという。そして、一次独
立なm個の2元ベクトルa1,a2,・・・,amの一次
結合全体の集合W W={c11+c22+・・・+cmm|ci(1≦i
≦m)∈{1,0}}をa1,a2,・・・amで生成され
る2元線形部分空間という。また、2元線形部分空間W
を生成する一次独立な2元ベクトルの集合{a1,a2
・・・,am}をWの基底という。
Next, the binary linear subspace will be described. m binary vectors a 1 , a 2 ,..., a of length n
For m , a 1 , a 2 , ..., A m linear combination c 1 a 1 + c
2 a 2 + ··· + c m a m (c i = 0,1 1 ≦ i ≦ m)
Is zero vector 0 = (0, 0,..., 0) only when c 1 = c 2 =... = C m = 0, and a 1 , a 2 ,
···, a m is that it is linearly independent. Then, linearly independent m-number of 2-vector a 1, a 2, · · ·, set of all linear combinations of a m W W = {c 1 a 1 + c 2 a 2 + ··· + c m a m | c i (1 ≦ i
≦ m) ∈ a {1,0}} a 1, a 2, that binary linear subspace generated by · · · a m. Also, the binary linear subspace W
Set of linearly independent binary vectors {a 1 , a 2 ,
..., a m } is called the basis of W.

【0005】例えば、3個の2元ベクトルa1=(1,
0,1,1),a2=(1,0,0,1),a3=(0,
1,0,0)は一次独立であり、a1,a2,a3が生成
する2元線形部分空間Wの要素はa1,a2,a3の全て
の一次結合であり、以下の8個の2元ベクトル 0a1+0a2+0a3 1a1+0a2+0a3 0a1+0a2+1a3 1a1+0a2+1a3 0a1+1a2+0a3 1a1+1a2+0a3 0a1+1a2+1a3 1a1+1a2+1a3 となり、 W=(0,0,0,0),(1,0,1,1) (0,1,0,0),(1,1,1,1) (1,0,0,1),(0,0,1,0) (1,1,0,1),(0,1,1,0)} となる。また、{a1,a2,a3}はWの基底である。
For example, three binary vectors a 1 = (1,
0,1,1), a 2 = (1,0,0,1), a 3 = (0,
1,0,0) are linearly independent, the elements a 1, a 2, a 3 to produce a binary linear subspace W are all linear combination of a 1, a 2, a 3, below eight binary vector 0a 1 + 0a 2 + 0a 3 1a 1 + 0a 2 + 0a 3 0a 1 + 0a 2 + 1a 3 1a 1 + 0a 2 + 1a 3 0a 1 + 1a 2 + 0a 3 1a 1 + 1a 2 + 0a 3 0a 1 + 1a 2 + 1a 3 1a 1 + 1a 2 + 1a 3 and W = (0,0,0,0), (1,0,1,1) (0,1,0,0), (1,1,1,1) (1,0 , 0,1), (0,0,1,0) (1,1,0,1), (0,1,1,0)}. Also, {a 1 , a 2 , a 3 } is the basis of W.

【0006】上述のように、所与の2元線形部分空間の
基底から、その2元線形部分空間の要素となる全ての2
元ベクトルを求めるためには、その基底の全ての一次結
合を計算する必要がある。
As described above, from the basis of a given binary linear subspace, all 2 that are elements of that binary linear subspace.
In order to determine the source vector, it is necessary to calculate all linear combinations of the basis.

【0007】従来、要素となる2元ベクトルの長さがn
である2元線形部分空間Wの基底{a1,a2,・・・,
m}から、Wの全ての要素を順次、その各成分を並列
に出力する回路として図2のような回路が考えられてい
る。
Conventionally, the length of a binary vector as an element is n
The basis {a 1 , a 2 , ..., Of the binary linear subspace W that is
A circuit as shown in FIG. 2 has been considered as a circuit that sequentially outputs all the elements of W from a m } and outputs the respective components in parallel.

【0008】図2において、ai=(ai-1,ai-2,・
・・,ai-n)と表した場合、ai-jが1ならば、mビッ
トカウンタ200の第iビット目を表すciからの出力
は排他的論理和ゲートEORjに接続され、0ならば接
続されていない。このようなn個のEORゲート(EO
1,EOR2,・・・,EORn)によって、一次結合
11+c22+・・・+cmmを示す2元ベクトルv
=(v1,v2,・・・,vn)の各成分を並列に出力す
ることができる。そして、mビットカウンタ200にお
いて、c1,c2,・・・,cmの全ての組み合わせを順
次発生することにより、{a1,a2,・・・,am}の
全ての一次結合を、順次出力することができる。なお、
EORjへの入力線が0本となる場合、vjへはつねに0
が出力され、ciからの入力1本だけの場合は、ciから
の入力がvjに直結される。そして、カウンタ500か
ら直結されているv1,v2,・・・,vnへの出力線も
EORゲートへの1入力と考えると、基底の2元ベクト
ルの1となる成分の総和がEORゲートへの入力線の総
和に一致する。
In FIG. 2, a i = (a i-1 , a i-2 , ...
..., when expressed as a in), if a ij is 1, the output from the c i representing the i-th bit of the m-bit counter 200 is connected to the exclusive OR gate EOR j, 0 if connected It has not been. Such n EOR gates (EO)
R 1 , EOR 2 , ..., EOR n ), a binary vector v indicating a linear combination c 1 a 1 + c 2 a 2 + ... + cm a m
= (V 1 , v 2 ,..., V n ) can be output in parallel. Then, the m-bit counter 200, c 1, c 2, ···, by sequentially generating all combinations of c m, all linear combinations of {a 1, a 2, ··· , a m} Can be sequentially output. In addition,
If there are 0 input lines to EOR j , it is always 0 to v j .
There is output, if only input one from c i, the input from the c i are directly connected to v j. If the output lines to v 1 , v 2 , ..., V n directly connected from the counter 500 are also considered as one input to the EOR gate, the total sum of the components of the base binary vector that are 1 is EOR. Matches the sum of the input lines to the gate.

【0009】上述のようにして、図2の構成により、2
元線形部分空間の基底が与えられたときに、この2元線
形部分空間の全ての要素を順次出力する回路を作成する
ことができる。しかし、図2の回路は、基底によっては
EORゲートへの入力線が非常に多くなるために、回路
規模が非常に大きくなり、実現が困難なものになってし
まう。また、一般にLSIで多入力のEORゲートを実
現する場合は少数の入力をもつEORゲートを多段結合
して実現する。そのため、図2のような回路でEORゲ
ートへの入力線数が多くなると、接続されるゲートの段
数が大きくなり、回路の遅延時間も大きなものとなって
しまう。
As described above, the configuration shown in FIG.
Given the basis of the original linear subspace, it is possible to create a circuit that sequentially outputs all elements of the binary linear subspace. However, the circuit of FIG. 2 has an extremely large number of input lines to the EOR gate depending on the base, so that the circuit scale becomes very large and it is difficult to realize. In general, when a multi-input EOR gate is realized by an LSI, the EOR gate having a small number of inputs is realized by multi-stage connection. Therefore, when the number of input lines to the EOR gate increases in the circuit as shown in FIG. 2, the number of connected gate stages increases, and the delay time of the circuit also increases.

【0010】[0010]

【発明が解決しようとする課題】本発明の目的は、2元
線形部分空間の基底が与えられたときに、この2元線形
部分空間の全ての要素を順次、その各成分を並列に出力
する回路の規模と遅延時間を小さなものとする構成方法
を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to, when a basis of a binary linear subspace is given, sequentially output all elements of the binary linear subspace and output their components in parallel. An object of the present invention is to provide a configuration method that reduces the circuit scale and delay time.

【0011】[0011]

【課題を解決するための手段】ある2元線形部分空間W
の基底{a1,a2,・・・.am}が与えられたとき、
図2のような回路では、EORゲートへの入力の総数は
{a1,a2,・・・,am}の2元ベクトルの1となる
成分の総数に一致し、この数が非常に大きいと、実際に
LSIで実現することが困難になる。本発明では、これ
を次のようにして解決する。
SUMMARY OF THE INVENTION A certain binary linear subspace W
The basis of {a 1 , a 2 , ... a m } is given,
In the circuit as shown in FIG. 2, the total number of inputs to the EOR gate coincides with the total number of 1-components of the binary vector of {a 1 , a 2 , ..., Am }, and this number is very large. If it is large, it becomes difficult to actually realize it in an LSI. In the present invention, this is solved as follows.

【0012】まず、本発明の基本的な考えを示す。基底
{a1,a2,・・・,am}において、任意の2元ベク
トルに他の任意の2元ベクトルを加算するという操作に
よってできる2元ベクトルの集合は一次独立であり、こ
の2元ベクトルの集合が生成する2元線形部分空間はW
と一致する。例えば、2元線形部分空間Wの基底である
{a1,a2,・・・,am)において、2元ベクトルai
(1≦i≦m)に2元ベクトルaj(1≦j≦m,j≠
i)を加算した2元ベクトルの集合{a1,a2,・・
・,ai-1,ai+aj,ai+1,・・・,aj-1,aj,a
j+1,・・・,am}の生成する2元線形部分空間はWと
一致する。このときai+ajの1である成分の数がai
よりも少ないとすると、基底{a1,a2,・・・,a
i-1,ai+j,ai+1,・・・,aj-1,aj,aj+1,・
・・,am}を用いて、図2の回路と同じ要領で回路を
作成すると、ai+ajの1である成分の数がaiよりも
少ない分だけEORゲートへの入力数を減らすことがで
きる。
First, the basic idea of the present invention will be shown. In the basis {a 1 , a 2 ,..., A m }, a set of binary vectors formed by adding an arbitrary binary vector to another arbitrary binary vector is linearly independent. The binary linear subspace generated by the set of element vectors is W
Matches. For example, in {a 1 , a 2 ,..., A m ) which is the basis of the binary linear subspace W, the binary vector a i
(1 ≦ i ≦ m) and a binary vector a j (1 ≦ j ≦ m, j ≠)
i), a set of binary vectors {a 1 , a 2 ,...
·, Ai -1, a i + a j, a i + 1, ···, a j-1, a j, a
The binary linear subspace generated by j + 1 ,..., a m } matches W. At this time, the number of 1 components of a i + a j is a i
Less than the basis {a 1 , a 2 , ..., A
i-1, a i + a j, a i + 1, ···, a j-1, a j, a j + 1, ·
When a circuit is created in the same manner as the circuit of FIG. 2 using..., A m }, the number of inputs to the EOR gate is reduced by the amount that the number of components of a i + a j being 1 is smaller than a i be able to.

【0013】図1に、本発明による所与の2元線形部分
空間の基底から、1になる成分の数ができるだけ少ない
基底の作成法の手順を示す。ここで、2元線形部分空間
Wの基底V={a1,a2,・・・,am}が与えられた
とする。そして、関数Min(N)はある整数の集合Nの
要素中、最小の要素を返すものとし、Groupは行列の集
合を表すものとする。以下に、図1における各手順S1
〜S7を示す。
FIG. 1 shows a procedure of a method of creating a basis in which the number of components that become 1 is as small as possible from the basis of a given binary linear subspace according to the present invention. Here, it is assumed that the basis V = {a 1 , a 2 ,..., A m } of the binary linear subspace W is given. The function Min (N) returns the smallest element among the elements of a set N of certain integers, and Group represents a set of matrices. Below, each step S1 in FIG.
~ S7 is shown.

【0014】S1.N={1,2,・・・,m}とす
る。 S2.a1,a2,・・・,amを第1,第2,・・・,
第m行とするm行の行列G0を作り、Group={G0}と
する。 S3.Groupの全ての行列について、第Min(N)行に
その行列の他の任意の行ベクトルを1個以上加算してで
きる全ての行列を求め、求められた全ての行列をGroup
に要素として加える。 S4.NからMin(N)を取り除く。 S5.ステップS3,S4をNが空集合になるまで繰り
返す。 S6.Groupに含まれる全ての行列の中で1である成分
の数が最も少ない行列を1つ求める。 S7.ステップS6で求めた行列のm個の行ベクトルの
集合を求める基底V′とする。
S1. Let N = {1, 2, ..., M}. S2. a 1 , a 2 , ..., Am are the first, second, ...
An m-th row matrix G 0 that is the m-th row is created, and Group = {G 0 }. S3. For all matrices of Group, all matrices obtained by adding at least one other row vector of the matrix to the Min (N) th row are obtained, and all the obtained matrices are Group
As an element. S4. Remove Min (N) from N. S5. Steps S3 and S4 are repeated until N becomes an empty set. S6. Among all the matrices included in Group, one matrix having the smallest number of 1's is obtained. S7. A set of m row vectors of the matrix obtained in step S6 is defined as a base V '.

【0015】このようにして得られたWの基底V′=
{a1′,a2′,・・・,am′}から、図2と同様に
(ただし、aiをai′とする)、mビットカウンタとE
ORゲートにより、Wの全ての要素を順次、各成分を並
列に出力するような回路を作成する。
The basis V ′ of W thus obtained is
From {a 1 ′, a 2 ′, ..., Am ′}, as in FIG. 2 (where a i is a i ′), an m-bit counter and E
The OR gate creates a circuit that sequentially outputs all elements of W and outputs each component in parallel.

【0016】この回路では、ai′=(ai-1′,
i-2′,・・・.ai-n′)と表した場合に、ai-j
が1なら、mビットカウンタの第iビット目を表すci
からの出力が排他的論理和(EOR)ゲートEORj
接続されており、0ならば接続されていない。このよう
なn個のEORゲート(EOR1,EOR2,・・・,E
ORn)によって、一次結合c11′+c22′+・・
・+cmm′を示す2元ベクトルv=(v1,v2,・・
・,vn)の各成分を並列に出力することができる。そ
して、mビットカウンタにおいてc1,c2,・・・,c
mの全ての組み合わせを順次発生することにより、
{a1′,a2′,・・・,am′}の全ての一次結合を
順次出力することができる。なお、EORjへの入力線
が0本となる場合、vjへはつねに0が出力され、ci
らの入力1本だけの場合は、ciからの入力がviに直結
される。
In this circuit, a i ′ = (a i−1 ′,
a i-2 ′, ... a in ′), a ij
Is 1, c i representing the i-th bit of the m-bit counter
The output from is connected to the exclusive OR (EOR) gate EOR j, it is not 0, connected. Such n EOR gates (EOR 1 , EOR 2 , ..., E
OR n ), the linear combination c 1 a 1 ′ + c 2 a 2 ′ +...
· + C m a m 2 illustrates a 'way vector v = (v 1, v 2 , ··
, V n ) can be output in parallel. Then, in the m-bit counter, c 1 , c 2 ,..., C
By sequentially generating all combinations of m ,
All linear combinations of {a 1 ′, a 2 ′, ..., Am ′} can be sequentially output. Incidentally, if the input lines to EOR j is 0 present, v always 0 is output to j, in the case of only the input one from c i, the input from the c i are directly connected to the v i.

【0017】本発明により求めた基底V′の要素である
2元ベクトルの1となる成分の総和は、所与の基底Vの
要素である2元ベクトルの1となる成分の総和以下であ
り、図2の回路のEORゲートへの入力数は従来の場合
の入力数以下である。これにより実際のLSIで2元線
形部分空間の全ての要素を順次、各成分を並列に出力す
るような回路を実現するにおいて、従来よりも、小さな
回路規模で実現できる。また、一般にLSIで多入力の
EORゲートを実現する場合は少数の入力を持つEOR
ゲートを多段結合して実現する。それゆえ、EORゲー
トへの入力線の数を小さくすることにより、実際にLS
Iで回路を実現した場合に、ゲートの結合段数を少なく
することができ、遅延時間も従来の回路よりも小さくす
ることができる。
The sum of the one-component components of the binary vector that is the element of the base V'obtained by the present invention is less than or equal to the sum of the one-component components of the binary vector that is the element of the given base V. The number of inputs to the EOR gate of the circuit of FIG. 2 is less than the number of inputs in the conventional case. As a result, in realizing a circuit in which all elements of the binary linear subspace are sequentially output in parallel with an actual LSI, the circuit can be realized with a smaller circuit scale than before. Further, in general, when implementing a multi-input EOR gate in an LSI, an EOR having a small number of inputs
It is realized by connecting gates in multiple stages. Therefore, by reducing the number of input lines to the EOR gate,
When the circuit is realized by I, the number of gate coupling stages can be reduced, and the delay time can also be reduced as compared with the conventional circuit.

【0018】[0018]

【発明の実施の形態】図3および図4に、従来と本発明
による2元線形部分空間Wの全ての要素を順次、各成分
を並列に出力する回路の具体例を示す。
3 and 4 show a concrete example of a circuit for sequentially outputting all the elements of a binary linear subspace W according to the prior art and the present invention, and outputting the respective components in parallel.

【0019】いま、2元線形部分空間Wを生成する基底
V={a1,a2}が与えられたとし、a1=(1,0,
1,1,0,1,1,1),a2=(1,1,1,1,
0,0,1,1)とする。
Suppose that a basis V = {a 1 , a 2 } for generating a binary linear subspace W is given, and a 1 = (1,0,
1,1,0,1,1,1), a 2 = (1,1,1,1,
0, 0, 1, 1).

【0020】ここで、Wの全ての要素を順次出力するよ
うな回路を、与えられた基底Vをそのまま用いて図2と
同様にして作成すると、図3のようになる。図3の回路
は、各ビットがc1,c2で表される2ビットカウンタ3
00と、5個の排他的論理和(EOR)ゲート301〜
305により、一次結合c11+c22の2元ベクトル
v=(v1,v2,…v8)を、各成分について並列に出
力する。そして、2ビットカウンタ300の値を00か
ら11まで順次変更することで、Wの全ての要素を出力
することができる。
Here, when a circuit for sequentially outputting all the elements of W is created in the same manner as in FIG. 2 using the given base V as it is, FIG. 3 is obtained. The circuit of FIG. 3 has a 2-bit counter 3 in which each bit is represented by c 1 and c 2.
00 and five exclusive OR (EOR) gates 301-
The 305 outputs a linear combination c 1 a 1 + c 2 a 2 a 2-vector v = (v 1, v 2 , ... v 8) , and in parallel for each component. Then, by sequentially changing the value of the 2-bit counter 300 from 00 to 11, all elements of W can be output.

【0021】一方、本発明によれば、図1の手順にした
がって要素となる2元ベクトルの1となる成分の総和が
Vの要素となる2元ベクトルの1となる成分の総和以下
である基底V′を作ることにより、図3の回路のEOR
ゲートを1個にできる。以下、これについて説明する。
According to the present invention, on the other hand, according to the procedure shown in FIG. 1, the sum of the components of the binary vector 1 as the element is equal to or less than the sum of the components of the binary vector 1 as the element of V. V ', the EOR of the circuit of FIG.
One gate can be used. Hereinafter, this will be described.

【0022】まず、図1の手順のステップS1従いN=
{1,2}とする。次に、ステップS2に従い
First, N = according to step S1 of the procedure of FIG.
Let {1, 2}. Next, according to step S2

【0023】[0023]

【数1】 (Equation 1)

【0024】とし、Group={G0}とする。Let Group = {G 0 }.

【0025】次に、ステップS3にしたがって、Group
の全ての行列について第Min(N)行、すなわち第1行
に外の任意の行を1個以上加算してできる全ての行列と
して
Next, according to step S3, Group
Min (N) rows for all matrices, ie, all matrices formed by adding one or more outer rows to the first row

【0026】[0026]

【数2】 (Equation 2)

【0027】を求め、Group={G0,G1}とする。そ
して、ステップS4に従い、第Min(N)=1をNから
取り除き、N={2}とする。
And Group = {G 0 , G 1 }. Then, according to step S4, the Min (N) = 1 is removed from N, and N = {2}.

【0028】次に、再びステップS3に従い、Groupの
全ての行列について第Min(N)行、すなわち第2行に
他の任意の行を1個以上加算してできる全ての行列とし
Next, according to step S3 again, for all matrices of Group, the Min (N) th row, that is, all the matrices formed by adding one or more other arbitrary rows to the second row are obtained.

【0029】[0029]

【数3】 [Equation 3]

【0030】を求め、Group={G0,G1,G2,G3
とする。そして、ステップS4に従いMin(n)=2を
Nから取り除くと、Nは空集合となる。
Then, Group = {G 0 , G 1 , G 2 , G 3 }
And Then, when Min (n) = 2 is removed from N according to step S4, N becomes an empty set.

【0031】そこで、ステップS6に従い、Group=
{G0,G1,G2,G3}に含まれる行列のうち、1とな
る成分が最も少ない行列の1つ、例えばG1を選ぶ。次
に、ステップS7に従い、要素となる2元ベクトルの1
となる成分の総和が、Vの要素となる2元ベクトルの1
となる成分の総和よりも小さい基底V′={(0,1,
0,0,0,1,0,0),(1,1,1,1,0,
0,1,1)}を得る。
Then, according to step S6, Group =
Among the matrices included in {G 0 , G 1 , G 2 , G 3 }, one of the matrices having the smallest number of 1 components, for example, G 1 is selected. Next, according to step S 7 , 1
The sum of all the components becomes 1 of the binary vector that becomes the element of V
A base V ′ = {(0,1,
0,0,0,1,0,0), (1,1,1,1,0,
0,1,1)}.

【0032】基底V′を用いて、図2と同様の回路を作
成すると、図4のようになる。ここで、a1′=(0,
1,0,0,0,1,0,0),a2′(1,1,1,
1,0,0,1,1)であり、図4の回路は、各ビット
がc1,c2で表される2ビットカウンタ400と、1個
の排他的論理和(EOR)ゲート401とにより、一次
結合c11′+c12′の2次元ベクトルv=(v1
2,…v8)を、各成分について並列に出力する。そし
て、2ビットカウンタ400の値を00から11まで順
次変更することで、Wのすべての要素を出力することが
できる。
When a circuit similar to that of FIG. 2 is created using the basis V ', the circuit becomes as shown in FIG. Here, a 1 ′ = (0,
1,0,0,0,1,0,0), a 2 ′ (1,1,1,
1 , 0, 0, 1 , 1 ), and the circuit of FIG. 4 includes a 2-bit counter 400 in which each bit is represented by c 1 and c 2 and an exclusive OR (EOR) gate 401. From the above, the two-dimensional vector v = (v 1 , v 1) of the linear combination c 1 a 1 ′ + c 1 a 2
v 2, and outputs a ... v 8), in parallel for each component. Then, by sequentially changing the value of the 2-bit counter 400 from 00 to 11, all the elements of W can be output.

【0033】図4の回路と図3の回路を比較すると、図
4の回路は、図3の回路に比べて2入力EORゲートが
5個から1個に減少し、規模の小さなものとなってい
る。
Comparing the circuit of FIG. 4 with the circuit of FIG. 3, the circuit of FIG. 4 is smaller in scale than the circuit of FIG. I have.

【0034】以上、本発明の一実施の形態を説明した
が、図1に示した手順は、いわゆるコンピュータを利用
して実現されるものである。その際、手順(処理フロ
ー)は、アプリケーションプログラムとしてあらかじめ
コンピュータ内に用意しておいてもよいし、あるいは、
これらの手順を記述したプログラムを記録した記録媒体
(フロピーディスク、光ディスク等)をコンピュータに
かけて読み込ませる(インストール)ことでもよい。
While the embodiment of the present invention has been described above, the procedure shown in FIG. 1 is realized using a so-called computer. At that time, the procedure (processing flow) may be prepared in advance in the computer as an application program, or
Alternatively, a recording medium (a floppy disc, an optical disc, etc.) in which a program describing these procedures is recorded may be read (installed) by a computer.

【0035】[0035]

【発明の効果】以上説明したように、本発明によれば、
ある2元線形部分空間の基底が与えられたとき、この2
元線形部分空間のすべての要素を順次、各成分を並列に
出力する回路を従来よりも規模の小さいものとすること
ができる。また、LSIで回路を実現した場合に、遅延
時間も従来の回路より小さくすることができる。このよ
うな回路は、例えば通信分野において用いられる線形ブ
ロック符号の最尤復号器の内部回路に使用されるが、従
来よりも遅延時間の小さい最尤復号器を小さな規模で実
現できるようになる。
As described above, according to the present invention,
Given the basis of a binary linear subspace, this 2
A circuit that sequentially outputs all the elements of the original linear subspace and outputs each component in parallel can be made smaller in scale than before. Further, when the circuit is realized by the LSI, the delay time can be made shorter than that of the conventional circuit. Such a circuit is used, for example, as an internal circuit of a maximum likelihood decoder of a linear block code used in the field of communication, but a maximum likelihood decoder having a delay time smaller than that of the related art can be realized on a small scale.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明による2元線形部分空間の基底からでき
るだけ1になる成分の数の少ない基底を作成する方法の
手順の一例を示す図である。
FIG. 1 is a diagram showing an example of a procedure of a method of creating a basis having a small number of components that become 1 as much as possible from the basis of a binary linear subspace according to the present invention.

【図2】2元線形部分空間のすべての要素を順次、各成
分を並列に出力する回路の一般的構成を示す図である。
FIG. 2 is a diagram showing a general configuration of a circuit that sequentially outputs all elements of a binary linear subspace and outputs each component in parallel.

【図3】従来の2元線形部分空間のすべての要素を順
次、各成分を並列に出力する回路の具体例を示す図であ
る。
FIG. 3 is a diagram illustrating a specific example of a conventional circuit that sequentially outputs all components of a binary linear subspace and outputs each component in parallel.

【図4】本発明による2元線形部分空間Wのすべての要
素を順次、各成分を並列に出力する回路の具体例を示す
図である。
FIG. 4 is a diagram showing a specific example of a circuit according to the present invention that sequentially outputs all elements of a binary linear subspace W and outputs each component in parallel.

【符号の説明】[Explanation of symbols]

400 2ビットカウンタ 401 排他的論理和ゲート 400 2-bit counter 401 Exclusive OR gate

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 所与の2元線形部分空間の基底から、そ
の基底の生成する2元線形部分空間の要素となる全ての
2元ベクトルを順次、その各成分を並列に出力する回路
の構成方法であって、 各2元ベクトルの1となる成分の総数が所与の基底の各
2元ベクトルの1となる成分の総数よりも少なく、所与
の基底が生成する2元線形部分空間と同じ2元線形部分
空間を生成する基底を作成し、その作成した基底の一次
結合を計算することで、所与の基底の生成する2元線形
部分空間の要素となる全ての2元ベクトルを順次、その
各成分を並列に出力する回路を構成することを特徴とす
る2元線部分空間の要素を出力する回路の構成方法。
1. A circuit configuration for sequentially outputting, from a basis of a given binary linear subspace, all binary vectors that are elements of the binary linear subspace generated by the basis, and outputting their components in parallel A two-dimensional linear subspace produced by a given basis, wherein the total number of 1-components of each binary vector is less than the total number of 1-components of each binary vector of a given basis; By creating a basis that generates the same binary linear subspace and calculating a linear combination of the created basis, all binary vectors that are elements of the binary linear subspace generated by a given basis are sequentially determined. And a circuit for outputting the components of the binary subspace, wherein the circuit outputs the components in parallel.
JP11367897A 1997-05-01 1997-05-01 Method of configuring circuit for outputting elements of binary linear subspace Expired - Fee Related JP3466048B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11367897A JP3466048B2 (en) 1997-05-01 1997-05-01 Method of configuring circuit for outputting elements of binary linear subspace

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11367897A JP3466048B2 (en) 1997-05-01 1997-05-01 Method of configuring circuit for outputting elements of binary linear subspace

Publications (2)

Publication Number Publication Date
JPH10307704A true JPH10307704A (en) 1998-11-17
JP3466048B2 JP3466048B2 (en) 2003-11-10

Family

ID=14618403

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11367897A Expired - Fee Related JP3466048B2 (en) 1997-05-01 1997-05-01 Method of configuring circuit for outputting elements of binary linear subspace

Country Status (1)

Country Link
JP (1) JP3466048B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013136248A1 (en) * 2012-03-11 2013-09-19 Cigol Digital Systems Ltd. Vlsi circuit signal compression

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013136248A1 (en) * 2012-03-11 2013-09-19 Cigol Digital Systems Ltd. Vlsi circuit signal compression

Also Published As

Publication number Publication date
JP3466048B2 (en) 2003-11-10

Similar Documents

Publication Publication Date Title
JP2765506B2 (en) Logic circuit delay information retention method
Nikolajevic et al. Computation of forward and inverse MDCT using Clenshaw's recurrence formula
Crandall Iterative procedures related to relaxation methods for eigenvalue problems
Shiryaev et al. Performance impact of error correction codes in RNS with returning methods and base extension
US6745219B1 (en) Arithmetic unit using stochastic data processing
JP3466048B2 (en) Method of configuring circuit for outputting elements of binary linear subspace
JP6321216B2 (en) Matrix / key generation device, matrix / key generation system, matrix combination device, matrix / key generation method, program
US7404172B2 (en) Method for the synthesis of VLSI systems based on data-driven decomposition
Carini et al. V-vector algebra and its application to Volterra-adaptive filtering
US6442737B1 (en) Method of generating an optimal clock buffer set for minimizing clock skew in balanced clock trees
JP5060515B2 (en) Ground-to-ground traffic estimation method, ground-to-ground traffic estimation device and program
US7002502B2 (en) Analog-to-digital converter and method of generating an intermediate code for an analog-to-digital converter
JP2002269162A (en) Action synthesizing method
US11281428B2 (en) Conversion circuitry
JPS5957343A (en) High speed carrying system
US20070266353A1 (en) Predictive Event Scheduling in an Iterative Resolution Network
US6134576A (en) Parallel adder with independent odd and even sum bit generation cells
US6877141B2 (en) Evaluating a validation vector for validating a network design
KR20160057590A (en) Elimination Method for Common Sub-Expression And Filter Using the Method
US6507939B1 (en) Net delay optimization with ramptime violation removal
JPH0370416B2 (en)
JP2991788B2 (en) Decoder
CN116737390B (en) Atomic operation processing method and device, electronic equipment and storage medium
JP2822928B2 (en) CRC code calculation method and circuit
JP2839574B2 (en) Matching method for logic circuits containing indefinite values

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080829

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080829

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090829

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees