JP2022106432A - Digital filter shift register - Google Patents

Digital filter shift register Download PDF

Info

Publication number
JP2022106432A
JP2022106432A JP2021001421A JP2021001421A JP2022106432A JP 2022106432 A JP2022106432 A JP 2022106432A JP 2021001421 A JP2021001421 A JP 2021001421A JP 2021001421 A JP2021001421 A JP 2021001421A JP 2022106432 A JP2022106432 A JP 2022106432A
Authority
JP
Japan
Prior art keywords
ram
read
address
write
data
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.)
Pending
Application number
JP2021001421A
Other languages
Japanese (ja)
Other versions
JP2022106432A5 (en
Inventor
正敏 近森
Masatoshi Chikamori
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2021001421A priority Critical patent/JP2022106432A/en
Publication of JP2022106432A publication Critical patent/JP2022106432A/en
Publication of JP2022106432A5 publication Critical patent/JP2022106432A5/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Memory System (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Information Transfer Systems (AREA)

Abstract

To provide a digital filter shift register capable of simultaneously outputting data of multiple times.SOLUTION: A digital filter shift register includes a plurality of RAMs #1 to #N, a write control unit 110 that writes one piece of input data to the same write address of the plurality of RAMs #1 to #N and increments the write address each time one piece of data is written, and a read control unit 120 that performs control such that data is read simultaneously from different addresses in the plurality of RAMs.SELECTED DRAWING: Figure 1

Description

本開示は、デジタルフィルタのシフトレジスタに関する。 The present disclosure relates to shift registers of digital filters.

デジタルフィルタは、入力信号を遅延した複数の信号のデータを、ある時刻において同時に取得して処理する必要がある。遅延要素を複数構成したものをシフトレジスタと呼ぶ。特許文献1に記載された方法では、シフトレジスタ機能をLSI(Large Scale Integrated Circuit)内部のRAMで実現してLSI内部のフリップフロップの使用数を抑制している。一般に1個のRAMの容量は大きく、ある時刻におけるデータのみでなく、複数の時刻のデータを保持することができるため、フリップフロップの使用数の抑制に効果的である。RAMにデータを格納し、RAMからデータを出力するためには、アドレスの指定によるライト制御およびリード制御が必要となり、ライト、およびリードそれぞれに1クロック(処理単位時間)の時間が必要である。よって、データの入力からデータの出力までに最低2クロックの時間を要する。また、ライト、およびリード可能なデータは、1時刻あたり1個に限られる。特許文献1に記載された方法では、RAMに対する入力信号のデータのライトとリードの時刻を制御して、データを特定の時間だけ遅延させて出力する。 The digital filter needs to acquire and process the data of a plurality of signals whose input signals are delayed at the same time at a certain time. A shift register is a configuration of multiple delay elements. In the method described in Patent Document 1, the shift register function is realized by the RAM inside the LSI (Large Scale Integrated Circuit) to suppress the number of flip-flops used inside the LSI. Generally, the capacity of one RAM is large, and it is possible to hold not only data at a certain time but also data at a plurality of times, which is effective in suppressing the number of flip-flops used. In order to store data in the RAM and output the data from the RAM, write control and read control by specifying an address are required, and one clock (processing unit time) is required for each of the write and read. Therefore, it takes at least 2 clocks from the data input to the data output. Further, the number of writeable and readable data is limited to one per hour. In the method described in Patent Document 1, the time of writing and reading the data of the input signal to the RAM is controlled, and the data is output with a delay of a specific time.

特表2001-520429号公報Special Table 2001-520429

しかしながら、特許文献1に記載された方法をデジタルフィルタのシフトレジスタに適用しようとすると、1時刻において1個のデータしか取得できないため、複数の時刻のデータを同時に出力することはできない。 However, when the method described in Patent Document 1 is applied to the shift register of the digital filter, only one data can be acquired at one time, so that the data at a plurality of times cannot be output at the same time.

それゆえに、本開示の目的は、複数の時刻のデータを同時に出力することができるデジタルフィルタのシフトレジスタを提供することである。 Therefore, an object of the present disclosure is to provide a shift register of a digital filter capable of simultaneously outputting data at a plurality of times.

本開示のデジタルフィルタのシフトレジスタは、複数個のRAMと、入力された1つのデータを複数のRAMの同一のライトアドレスにライトし、1つのデータをライトするごとに、ライトアドレスをインクリメントするライト制御部と、複数個のRAMの互いに相違するアドレスから同時にデータがリードされるように制御するリード制御部とを備える。 The shift register of the digital filter of the present disclosure is a write that writes a plurality of RAMs and one input data to the same write address of the plurality of RAMs, and increments the write address each time one data is written. It includes a control unit and a read control unit that controls so that data is read from different addresses of a plurality of RAMs at the same time.

本開示のデジタルフィルタのシフトレジスタによれば、複数個のRAMの互いに相違するアドレスから同時にデータがリードされるので、複数の時刻のデータを同時に出力することができる。 According to the shift register of the digital filter of the present disclosure, data is read from different addresses of a plurality of RAMs at the same time, so that data at a plurality of times can be output at the same time.

実施の形態1に従うデジタルフィルタのシフトレジスタの全体構成図である。FIG. 5 is an overall configuration diagram of a shift register of a digital filter according to the first embodiment. ライト制御部110の構成を表わす図である。It is a figure which shows the structure of the light control unit 110. ライトアドレスの設定手順を表わすフローチャートである。It is a flowchart which shows the setting procedure of a write address. ライト指示の手順を表わすフローチャートである。It is a flowchart which shows the procedure of a light instruction. 入力データがRAM#1~RAM#Nに格納される一例を示す図である。It is a figure which shows an example which input data is stored in RAM # 1 to RAM # N. リード制御部120の構成を表わす図である。It is a figure which shows the structure of the read control part 120. リードアドレスの設定手順を表わすフローチャートである。It is a flowchart which shows the setting procedure of a read address. リード指示の手順を表わすフローチャートである。It is a flowchart which shows the procedure of a read instruction. RAM#1~RAM#Nに格納されたデータが出力される一例を示す図である。It is a figure which shows an example which the data stored in RAM # 1 to RAM # N is output. 入力データが遅延されて出力される一例を示すタイミングチャートである。It is a timing chart which shows an example which input data is delayed and is output. リセット制御部130の構成を表わす図である。It is a figure which shows the structure of the reset control unit 130. ライト済みアドレスの記録手順を表わすフローチャートである。It is a flowchart which shows the recording procedure of a written address. 初期値マスク信号の生成手順を表わすフローチャートである。It is a flowchart which shows the generation procedure of the initial value mask signal. 初期値マスク制御の手順を表わすフローチャートである。It is a flowchart which shows the procedure of the initial value mask control.

以下、実施の形態について、図面を参照して説明する。
実施の形態1.
図1は、実施の形態1に従うデジタルフィルタのシフトレジスタの全体構成図である。デジタルフィルタのシフトレジスタは、複数の時刻の入力データを同時に取得可能な構成を有する。デジタルフィルタのシフトレジスタは、記憶部100と、ライト制御部110と、リード制御部120と、リセット制御部130と、初期値マスク制御部140とを備える。
Hereinafter, embodiments will be described with reference to the drawings.
Embodiment 1.
FIG. 1 is an overall configuration diagram of a shift register of a digital filter according to the first embodiment. The shift register of the digital filter has a configuration in which input data at a plurality of times can be acquired at the same time. The shift register of the digital filter includes a storage unit 100, a write control unit 110, a read control unit 120, a reset control unit 130, and an initial value mask control unit 140.

記憶部100は、入力データを格納および出力する。記憶部100は、第1RAM(RAM#1)102(1)と、第2RAM(RAM#2)102(2)と、・・・、第NRAM(RAM#N)102(N)とを備える。
ライト制御部110は、入力データの記憶部100へのライトを制御する。
リード制御部120は、記憶部100内の格納データのリードを制御する。
The storage unit 100 stores and outputs input data. The storage unit 100 includes a first RAM (RAM # 1) 102 (1), a second RAM (RAM # 2) 102 (2), ..., And an Nth RAM (RAM # N) 102 (N).
The write control unit 110 controls the writing of the input data to the storage unit 100.
The read control unit 120 controls the read of the stored data in the storage unit 100.

リセット制御部130は、リセット有効中および記憶部100にデータがライトされるまでの間、リセット制御を実行する。 The reset control unit 130 executes the reset control while the reset is enabled and until the data is written to the storage unit 100.

初期値マスク制御部140は、リセット制御部130のリセット制御に応じて出力データとして初期値を出力する。 The initial value mask control unit 140 outputs an initial value as output data according to the reset control of the reset control unit 130.

記憶部100は、同時に取得を要するデータの個数分のRAMを備える。図1では、記憶部100は、N個のRAM#1~RAM#Nを備える。Nは3以上である。各RAMは、ライト制御部110の制御に従って入力データが格納される。各RAM内の格納データは、リード制御部120の制御に従って、必要な遅延量を付与した状態で出力される。遅延量の付与は、各RAMのリードアドレスおよびリード指示のタイミングを変えることによって実現される。 The storage unit 100 includes RAMs for the number of data that need to be acquired at the same time. In FIG. 1, the storage unit 100 includes N RAMs # 1 to RAM # N. N is 3 or more. Input data is stored in each RAM according to the control of the write control unit 110. The stored data in each RAM is output in a state where a necessary delay amount is added according to the control of the read control unit 120. The delay amount is given by changing the read address of each RAM and the timing of the read instruction.

一般に、RAMに格納されるデータをリセットにより直ちに初期化することはできない。そこで、本実施の形態では、リセット制御部130と初期値マスク制御部140の制御に従って、RAM#1~RAM#Nに格納されるデータを初期化する代わりに、出力データを初期値に置き換える。これにより、リセットによる初期化が実現される。 In general, the data stored in RAM cannot be initialized immediately by resetting. Therefore, in the present embodiment, the output data is replaced with the initial value instead of initializing the data stored in RAM # 1 to RAM # N according to the control of the reset control unit 130 and the initial value mask control unit 140. As a result, initialization by reset is realized.

ライト制御部110は、入力された1つのデータを複数個のRAM#1~RAM#Nの同一のライトアドレスにライトし、1つのデータをライトするごとに、ライトアドレスをインクリメントする。ライト制御部110は、ライトイネーブルが無効な場合に、ライトアドレスをインクリメントせずに、元の値を保持する。ライト制御部110は、リセットが有効な場合に、ライトアドレスを初期値に戻す。 The write control unit 110 writes one input data to the same write address of a plurality of RAMs # 1 to RAM # N, and increments the write address each time one data is written. The write control unit 110 holds the original value without incrementing the write address when the write enable is invalid. The write control unit 110 returns the write address to the initial value when the reset is effective.

図2は、ライト制御部110の構成を表わす図である。
ライト制御部110は、ライトアドレス設定部200と、ライト指示部210とを備える。
ライトアドレス設定部200は、入力データを格納するRAM#1~RAM#Nのライトアドレスを設定する。
FIG. 2 is a diagram showing the configuration of the light control unit 110.
The write control unit 110 includes a write address setting unit 200 and a write instruction unit 210.
The write address setting unit 200 sets the write addresses of RAMs # 1 to RAM # N for storing the input data.

図3は、ライトアドレスの設定手順を表わすフローチャートである。
ステップS101において、リセットが有効な場合に、処理がステップS102に進み、リセットが無効な場合に、処理がステップS103に進む。
FIG. 3 is a flowchart showing the procedure for setting the write address.
In step S101, if the reset is valid, the process proceeds to step S102, and if the reset is invalid, the process proceeds to step S103.

ステップS102において、ライトアドレス設定部200は、ライトアドレスを初期値に戻す。これは、リセットが有効になった際に、後述するライト済みアドレス記録部400に記録するライト済みアドレスがクリアされるため、ライト制御部110が制御するライトアドレスも初期値に戻すことによって、整合をとるためである。 In step S102, the write address setting unit 200 returns the write address to the initial value. This is because when the reset is enabled, the written address recorded in the written address recording unit 400, which will be described later, is cleared. Therefore, the write address controlled by the write control unit 110 is also returned to the initial value for matching. This is to take.

ステップS103において、ライトイネーブルが有効な場合に、処理がステップS104に進む。ライトイネーブルが無効な場合に、処理がステップS107に進む。 In step S103, when write enable is enabled, the process proceeds to step S104. If the write enable is invalid, the process proceeds to step S107.

ステップS104において、ライトアドレス設定部200は、RAM#1~RAM#Nのアドレスの初期値から順に入力データをライトするために、ライトアドレスをインクリメントする。 In step S104, the write address setting unit 200 increments the write address in order to write the input data in order from the initial value of the addresses of RAM # 1 to RAM # N.

ステップS105において、ライトアドレスがRAM#1~RAM#Nのアドレスの末尾を超える場合に、処理がステップS106に進み、ライトアドレスがRAM#1~RAM#Nのアドレスの末尾を越えない場合に、処理がステップS107に進む。 In step S105, when the write address exceeds the end of the address of RAM # 1 to RAM # N, the process proceeds to step S106, and when the write address does not exceed the end of the address of RAM # 1 to RAM # N, the process proceeds to step S106. The process proceeds to step S107.

ステップS106において、ライトアドレス設定部200は、ライトアドレスを初期値に戻す。これによって、入力データが連続的に入力される場合にも対応できる。 In step S106, the write address setting unit 200 returns the write address to the initial value. As a result, it is possible to cope with the case where the input data is continuously input.

ステップS107において、ライトアドレス設定部200は、RAM#~RAM#Nにライトアドレスを設定する。N個のRAM#1~RAM#Nには、同一のライトアドレスが設定される。 In step S107, the write address setting unit 200 sets the write address in RAM # to RAM # N. The same write address is set for N RAMs # 1 to RAM # N.

ステップS103において、ライトイネーブルが無効な場合に、ライトアドレス設定部200は、ライトアドレスをインクリメントせずに、元の値を保持する。これにより、連続的に入力されるデータに対するシフトレジスタ機能のみでなく、ライトイネーブルと共に間欠的に入力されるデータに対してもシフトレジスタ機能を実現できる。 In step S103, when the write enable is invalid, the write address setting unit 200 holds the original value without incrementing the write address. As a result, not only the shift register function for continuously input data but also the shift register function for intermittently input data with write enable can be realized.

ライト指示部210は、RAM#1~RAM#Nに入力データを格納するライト指示を行う。
図4は、ライト指示の手順を表わすフローチャートである。
ステップS201において、ライトイネーブルが有効な場合に、処理がステップS202に進み、ライトイネーブルが無効な場合に、処理がステップS203に進む。
The write instruction unit 210 gives a write instruction to store input data in RAM # 1 to RAM # N.
FIG. 4 is a flowchart showing the procedure of the light instruction.
In step S201, if the write enable is enabled, the process proceeds to step S202, and if the write enable is disabled, the process proceeds to step S203.

ステップS203において、ライト指示部210は、RAM#1~RAM#Nに対するライト指示を無効に設定する。その結果が、RAM#1~RAM#Nに入力データが格納されない。ライトアドレス設定部200は、ライトイネーブルが無効な場合にライトアドレスを保持する。保持したアドレスの格納データが入力データで上書きされないようにするために、ライトイネーブルが有効なときにのみ、入力データがRAM#1~RAM#Nに書き込まれる。 In step S203, the write instruction unit 210 sets the write instruction for RAM # 1 to RAM # N to be invalid. As a result, the input data is not stored in RAM # 1 to RAM # N. The write address setting unit 200 holds the write address when the write enable is invalid. The input data is written to RAM # 1 to RAM # N only when write enable is enabled so that the stored data of the retained address is not overwritten by the input data.

ステップS202において、ライト指示部210は、RAM#1~RAM#Nに対するライト指示を有効に設定する。その結果、RAM#1~RAM#Nに入力データが格納される。 In step S202, the write instruction unit 210 effectively sets the write instruction to RAM # 1 to RAM # N. As a result, the input data is stored in RAM # 1 to RAM # N.

ライトイネーブルが有効の場合に、ライト制御部110は、RAM#1~RAM#Nの同一のライトアドレスに対してライト指示を有効に設定する。各RAMへの入力データは同一のため、同一時刻において記憶部100を構成する全てのRAM#1~RAM#Nには、同一の入力データが格納される。各RAMに格納される入力データは、時間的に連続な入力データであっても、抜けることなく格納される。
図5は、入力データがRAM#1~RAM#Nに格納される一例を示す図である。
When the write enable is enabled, the write control unit 110 effectively sets the write instruction to the same write address of RAM # 1 to RAM # N. Since the input data to each RAM is the same, the same input data is stored in all the RAMs # 1 to RAM # N constituting the storage unit 100 at the same time. The input data stored in each RAM is stored without missing even if the input data is continuous in time.
FIG. 5 is a diagram showing an example in which input data is stored in RAM # 1 to RAM # N.

最初に、RAM#1~RAM#Nのライトアドレスが初期値「0」に設定されて、設定されたライトアドレスに入力データD(nt-7T)が格納される。 First, the write addresses of RAM # 1 to RAM # N are set to the initial value "0", and the input data D (nt-7T) is stored in the set write addresses.

次に、クロック周期Tの時間の経過後、RAM#1~RAM#Nのライトアドレスが「1」にインクリメントされて、設定されたライトアドレスに入力データD(nt-6T)が格納される。 Next, after the time of the clock cycle T elapses, the write addresses of RAM # 1 to RAM # N are incremented to "1", and the input data D (nt-6T) is stored in the set write addresses.

さらに、クロック周期Tの時間の経過後、RAM#1~RAM#Nのライトアドレスが「2」にインクリメントされて、設定されたライトアドレスに入力データD(nt-5T)が格納される。 Further, after the time of the clock cycle T elapses, the write addresses of RAM # 1 to RAM # N are incremented to "2", and the input data D (nt-5T) is stored in the set write addresses.

さらに、クロック周期Tの時間の経過後、RAM#1~RAM#Nのライトアドレスが「3」にインクリメントされて、設定されたライトアドレスに入力データD(nt-4T)が格納される。 Further, after the time of the clock cycle T elapses, the write addresses of RAM # 1 to RAM # N are incremented to "3", and the input data D (nt-4T) is stored in the set write addresses.

入力データD(nT-4T)の入力時、RAM#1~RAM#Nの格納データは全て同一である。 When the input data D (nT-4T) is input, the stored data of RAM # 1 to RAM # N are all the same.

図5に示すように、入力データD(nT-7T)、D(nT-6T)、D(nT-5T)、D(nT-4T)が時間的に連続して入力されるが、抜けることなく、全て格納される。 As shown in FIG. 5, the input data D (nT-7T), D (nT-6T), D (nT-5T), and D (nT-4T) are continuously input in time, but are omitted. Not all are stored.

なお、間欠的に入力されるデータにおいても、上記のライトアドレス設定部200およびライト指示部210によって、入力データは欠けることなくRAM#1~RAM#Nに格納される。 Even for data that is intermittently input, the input data is stored in RAM # 1 to RAM # N without being chipped by the write address setting unit 200 and the write instruction unit 210.

リード制御部120は、複数個のRAM#1~RAM#Nの互いに相違するアドレスから同時にデータがリードされるように制御する。リード制御部120は、複数個のRAM#1~RAM#Nのリードアドレスを連続する複数個のアドレスに設定する。リード制御部120は、リードイネーブルが有効となったときに、複数個のRAM#1~RAM#Nに対して1つずつ順番に一定時間ごとにリード指示を有効に設定する。リード制御部120は、リセットが有効な場合に、複数個のRAM#1~RAM#Nのリードアドレスを初期値に戻す。 The read control unit 120 controls the plurality of RAMs # 1 to RAM # N so that data is read from different addresses at the same time. The read control unit 120 sets the read addresses of the plurality of RAMs # 1 to RAM # N to a plurality of consecutive addresses. When the read enable is enabled, the read control unit 120 effectively sets the read instruction to the plurality of RAMs # 1 to RAM # N one by one at regular time intervals. The read control unit 120 returns the read addresses of the plurality of RAMs # 1 to RAM # N to the initial values when the reset is effective.

図6は、リード制御部120の構成を表わす図である。
リード制御部120は、設定部300と、指示部310とを備ええる。
設定部300は、記憶部100を構成するRAM#1~RAM#Nから格納データを取得するため、RAM#1~RAM#Nのリードアドレスを設定する。設定部300は、第1リードアドレス設定部302(1)と、第2リードアドレス設定部302(2)と、・・、第Nリードアドレス設定部302(N)とを備える。
第iリードアドレス設定部302(i)は、RAM#iのリードアドレス(i)を設定する。
FIG. 6 is a diagram showing the configuration of the lead control unit 120.
The lead control unit 120 includes a setting unit 300 and an indicator unit 310.
The setting unit 300 sets the read addresses of the RAMs # 1 to RAM # N in order to acquire the stored data from the RAMs # 1 to RAM # N constituting the storage unit 100. The setting unit 300 includes a first read address setting unit 302 (1), a second read address setting unit 302 (2), and ..., an Nth read address setting unit 302 (N).
The i-th read address setting unit 302 (i) sets the read address (i) of the RAM # i.

図7は、リードアドレスの設定手順を表わすフローチャートである。
ステップS301において、リセットが有効な場合に、処理がステップS302に進み、リセットが無効な場合に、処理がステップS303に進む。
FIG. 7 is a flowchart showing the procedure for setting the read address.
In step S301, if the reset is valid, the process proceeds to step S302, and if the reset is invalid, the process proceeds to step S303.

ステップS302において、第iリードアドレス設定部302(i)は、リードアドレス(i)を初期値に戻す。たとえば、第iリードアドレス設定部302(i)は、RAM#iのリードアドレス(i)を「0」に戻す。ただし、i=1~Nである。これは、リセットが有効になった際に、後述する初期値マスク信号生成部410が実施するライト済みアドレスとリードアドレスとの比較の整合をとるためである。ライト済みアドレスのみ初期値に戻ると、リードアドレスとの比較が正しく行われなくなるため、リードアドレス(i)も初期値に戻して整合をとる。 In step S302, the i-th read address setting unit 302 (i) returns the read address (i) to the initial value. For example, the i-th read address setting unit 302 (i) returns the read address (i) of RAM # i to “0”. However, i = 1 to N. This is for matching the comparison between the written address and the read address performed by the initial value mask signal generation unit 410, which will be described later, when the reset is enabled. If only the written address is returned to the initial value, the comparison with the read address will not be performed correctly. Therefore, the read address (i) is also returned to the initial value for matching.

ステップS303において、リードイネーブルが有効な場合に、処理がステップS304に進む。リードイネーブルが無効の場合に、処理がステップS308に進む。 In step S303, if read enable is enabled, the process proceeds to step S304. If read enable is disabled, processing proceeds to step S308.

ステップS304において、第1リードアドレス設定部302(1)は、RAM#1のアドレスの初期値を先頭に格納データを順にリードするためにRAM#1のリードアドレス(1)をインクリメントする。 In step S304, the first read address setting unit 302 (1) increments the read address (1) of the RAM # 1 in order to sequentially read the stored data starting with the initial value of the address of the RAM # 1.

ステップS305において、第iリードアドレス設定部302(i)は、RAM#1のリードアドレス(1)に応じて、RAM#iのリードアドレス(i)を調整する。ただし、i=2~Nである。 In step S305, the i-th read address setting unit 302 (i) adjusts the read address (i) of the RAM # i according to the read address (1) of the RAM # 1. However, i = 2 to N.

たとえば、第iリードアドレス設定部302(i)は、RAM#1のリードアドレス(1)から(i-1)だけ減算したアドレスをRAM#iのリードアドレス(i)とする。たとえば、RAM#1のリードアドレス(1)が「2」の場合に、第2リードアドレス設定部302(2)は、RAM#2のリードアドレス(2)を「1」に設定し、第3リードアドレス設定部302(3)は、RAM#3のリードアドレス(3)を「0」に設定する。これにより、RAM#1~RAM#Nの間の出力データに差異が生じる。出力データの差異および指示部310による出力タイミングの調整により、シフトレジスタ機能として必要な、複数の時刻のデータを同時に取得することができる。 For example, the i-th read address setting unit 302 (i) uses the address obtained by subtracting (i-1) from the read address (1) of RAM # 1 as the read address (i) of RAM # i. For example, when the read address (1) of the RAM # 1 is "2", the second read address setting unit 302 (2) sets the read address (2) of the RAM # 2 to "1", and the third read address setting unit 302 (2) sets the read address (2) of the RAM # 2 to "1". The read address setting unit 302 (3) sets the read address (3) of RAM # 3 to “0”. This causes a difference in the output data between RAM # 1 and RAM # N. By adjusting the output data and the output timing by the indicator 310, it is possible to simultaneously acquire data at a plurality of times required as a shift register function.

ステップS306において、リードアドレス(i)がRAM#iのアドレスの末尾を超える場合に、処理がステップS307に進み、リードアドレス(i)がRAM#iのアドレスの末尾を超えない場合に、処理がステップS308に進む。ただし、i=1~Nである。 In step S306, when the read address (i) exceeds the end of the address of RAM # i, the process proceeds to step S307, and when the read address (i) does not exceed the end of the address of RAM # i, the process proceeds. The process proceeds to step S308. However, i = 1 to N.

ステップS307において、第iリードアドレス設定部302(i)は、RAM#iのリードアドレス(i)を初期値に戻す。ただし、i=1~Nである。初期値に戻すことで、連続的に格納データを出力する場合にも対応できる。 In step S307, the i-th read address setting unit 302 (i) returns the read address (i) of the RAM # i to the initial value. However, i = 1 to N. By returning to the initial value, it is possible to handle the case where the stored data is continuously output.

ステップS308において、第iリードアドレス設定部302(i)は、RAM#iにリードアドレス(i)を設定する。ただし、i=1~Nである。 In step S308, the i-th read address setting unit 302 (i) sets the read address (i) in the RAM # i. However, i = 1 to N.

ステップS303において、リードイネーブルが無効な場合に、第1リードアドレス設定部302(1)は、リードアドレス(1)をインクリメントせずに元の値を保持する。これにより、連続的にRAMの格納データを出力するようなシフトレジスタ機能のみでなく、間欠的にデータを処理するようなデジタルフィルタに対しても、シフトレジスタ機能を実現できる。リード制御の調整によってシフトレジスタ機能を実現できるため、RAMの数を増やす必要がない。 In step S303, when the read enable is invalid, the first read address setting unit 302 (1) holds the original value without incrementing the read address (1). As a result, the shift register function can be realized not only for the shift register function that continuously outputs the stored data of the RAM but also for the digital filter that processes the data intermittently. Since the shift register function can be realized by adjusting the read control, it is not necessary to increase the number of RAMs.

指示部310は、記憶部100を構成する各RAMから格納データを取得するため、各RAMのリード指示を行なう。 The instruction unit 310 gives a read instruction to each RAM in order to acquire stored data from each RAM constituting the storage unit 100.

指示部310は、第1リード指示部312(1)と、第2リード指示部312(2)と、・・・、第Nリード指示部312(N)とを備える。第iリード指示部312(i)は、RAM#iの格納データを出力するリード指示を行う。
図8は、リード指示の手順を表わすフローチャートである。
The instruction unit 310 includes a first lead instruction unit 312 (1), a second lead instruction unit 312 (2), ..., And an Nth lead instruction unit 312 (N). The i-th read instruction unit 312 (i) gives a read instruction to output the stored data of the RAM # i.
FIG. 8 is a flowchart showing the procedure of lead instruction.

ステップS401において、リードイネーブルが有効な場合に、処理がステップS402に進む。リードイネーブルが無効な場合に、処理がステップS405に進む。 In step S401, if read enable is enabled, the process proceeds to step S402. If the read enable is invalid, the process proceeds to step S405.

ステップS402において、第iリード指示部312(i)は、RAM#iに応じた遅延量の分だけ待機する。ただし、i=2~Nである。たとえば、第iリード指示部312(i)は、(i-1)個のクロック周期Tだけ待機する。これにより、設定部300で調整するリードアドレスに対応したタイミングでリード指示を行うことができる。
ステップS403において、待機が完了した場合に、処理がステップS404に進む。
In step S402, the i-th read instruction unit 312 (i) waits for a delay amount corresponding to RAM # i. However, i = 2 to N. For example, the i-th read instruction unit 312 (i) waits for (i-1) clock cycles T. As a result, the read instruction can be given at the timing corresponding to the read address adjusted by the setting unit 300.
When the standby is completed in step S403, the process proceeds to step S404.

ステップS404において、第iリード指示部312(i)は、RAM#iに対するリード指示を有効に設定する。ただし、i=1~Nである。 In step S404, the i-th read instruction unit 312 (i) effectively sets the read instruction to the RAM # i. However, i = 1 to N.

ステップS405において、第iリード指示部312(i)は、RAM#iに対するリード指示無効に設定する。ただし、i=1~Nである。これにより、RAM#iから格納データがリードされない。設定部300において、リードイネーブルが無効の場合にもリードアドレスを保持する。保持したアドレスの格納データを繰り返し出力して、後段の回路に影響を及ぼさないようにするために、リード指示が行われない。 In step S405, the i-th read instruction unit 312 (i) sets the read instruction to the RAM # i to be invalid. However, i = 1 to N. As a result, the stored data is not read from RAM # i. The setting unit 300 holds the read address even when the read enable is invalid. No read instruction is given in order to repeatedly output the stored data of the retained address so as not to affect the circuit in the subsequent stage.

図9は、RAM#1~RAM#Nに格納されたデータが出力される一例を示す図である。
リード制御部120は、RAM#1~RAM#Nに格納されたデータをリードする。ライト制御と異なり、リード制御は各RAMがそれぞれ別個に制御される。各RAMに格納されているデータは同一だが、リードアドレスの調整およびリード指示のタイミング調整により、同一時刻における各RAMからリードされる出力データが異なる。各RAMの出力データが異なることで、シフトレジスタと同様の機能である複数の遅延したデータが出力される。
FIG. 9 is a diagram showing an example in which the data stored in RAM # 1 to RAM # N is output.
The read control unit 120 reads the data stored in RAM # 1 to RAM # N. Unlike write control, read control controls each RAM separately. The data stored in each RAM is the same, but the output data read from each RAM at the same time differs due to the adjustment of the read address and the timing adjustment of the read instruction. Since the output data of each RAM is different, a plurality of delayed data having the same function as the shift register is output.

クロック周期Tの時間の経過後に、RAM#1のリード指示が有効になる。さらに、クロック周期Tの時間の経過後に、RAM#2のリード指示が有効になる。さらに、クロック周期Tの時間の経過後に、RAM#3のリード指示が有効になる。 After the time of the clock cycle T has elapsed, the read instruction of RAM # 1 becomes effective. Further, after the time of the clock cycle T has elapsed, the read instruction of RAM # 2 becomes effective. Further, after the time of the clock cycle T has elapsed, the read instruction of RAM # 3 becomes effective.

クロック周期Tの時間が3回経過した時には、RAM#1のリードデータはD(nT-5T)、RAM#2のリードデータはD(nT-6T)、RAM#NのリードデータはD(nT-7T)である。これによって、3クロック周期分の連続した遅延が付与されるとともに、同一時刻に3個のRAMから出力データを取得できる。
図10は、入力データが遅延されて出力される一例を示すタイミングチャートである。
When the time of the clock cycle T elapses three times, the read data of RAM # 1 is D (nT-5T), the read data of RAM # 2 is D (nT-6T), and the read data of RAM # N is D (nT). -7T). As a result, continuous delays for three clock cycles are added, and output data can be acquired from the three RAMs at the same time.
FIG. 10 is a timing chart showing an example in which the input data is delayed and output.

図10では、説明の便宜ため、記憶部100は、3つのRAM#1、RAM#2、RAM#3を備えるものとする。 In FIG. 10, for convenience of explanation, it is assumed that the storage unit 100 includes three RAMs # 1, RAM # 2, and RAM # 3.

RAM#1のライト指示S20、RAM#2のライト指示S90、およびRAM#3のライト指示S160は、同一のタイミングである。 The write instruction S20 of RAM # 1, the write instruction S90 of RAM # 2, and the write instruction S160 of RAM # 3 have the same timing.

RAM#1のライトアドレスS30、RAM#2のライトアドレスS100、およびRAM#3のライトアドレスS170は、いずれの時間においても同一である。 The write address S30 of RAM # 1, the write address S100 of RAM # 2, and the write address S170 of RAM # 3 are the same at any time.

一方、RAM#1のリード指示S60、RAM#2のリード指示S130、RAM#3のリード指示S200を有効にするタイミングを調整することによって連続的な遅延が実現される。例えば、図10に示すように、同一時刻において連続した遅延を付与された出力データを同一に取得するもことができる。 On the other hand, a continuous delay is realized by adjusting the timing for enabling the read instruction S60 of RAM # 1, the read instruction S130 of RAM # 2, and the read instruction S200 of RAM # 3. For example, as shown in FIG. 10, it is also possible to acquire the same output data with continuous delays at the same time.

RAM#1リード指示S60、RAM#2リード指示S130、RAM#3リード指示S200が有効となる最初のタイミングを1クロック(T)ずらすことで、区間5以降において、同一時刻において、連続的な遅延を付与された3個の出力データが取得される。 By shifting the first timing at which the RAM # 1 read instruction S60, the RAM # 2 read instruction S130, and the RAM # 3 read instruction S200 become effective by one clock (T), a continuous delay occurs at the same time in the section 5 and thereafter. Three output data with the above are acquired.

例えば、区間5において、RAM#1出力データS80、RAM#2出力データS150、RAM#3出力データS220は、それぞれD(nT-7T)、D(nT-6T)、D(nT-5T)である。同一時刻において連続した遅延が実現できる。 For example, in the section 5, the RAM # 1 output data S80, the RAM # 2 output data S150, and the RAM # 3 output data S220 are D (nT-7T), D (nT-6T), and D (nT-5T), respectively. be. Continuous delay can be realized at the same time.

デジタルフィルタのシフトレジスタに入力する対象として、間欠的に入力されるデータであれば、入力データをRAMに全て格納した後に、逐次リードして処理を行うことも可能である。しかし、RAMに入力データを格納するための処理時間(レイテンシ)が増大する。本実施の形態によれば、RAMに入力データを格納した後、直ちにリード制御部120により出力データを取得できるため、レイテンシが抑制される。 If the data is input intermittently as the target to be input to the shift register of the digital filter, it is possible to store all the input data in the RAM and then sequentially read and process the data. However, the processing time (latency) for storing the input data in the RAM increases. According to the present embodiment, the output data can be acquired by the read control unit 120 immediately after the input data is stored in the RAM, so that the latency is suppressed.

初期値マスク制御部140は、リセット有効時にRAM#1~RAM#Nの出力データを初期値で置き換えることによって、RAM#1~RAM#Nの出力データをマスクする。 The initial value mask control unit 140 masks the output data of RAM # 1 to RAM # N by replacing the output data of RAM # 1 to RAM # N with the initial value when the reset is enabled.

初期値マスク制御部140は、入力データがライトされていないRAM#1~RAM#Nのアドレスがリードアドレスに指示された場合に、RAM#1~RAM#Nの出力データを初期値で置き換えることによって、RAM#1~RAM#Nの出力データをマスクする。このようにするのは、RAM内の格納データは、リセットにより初期化されないためである。 The initial value mask control unit 140 replaces the output data of RAM # 1 to RAM # N with the initial value when the address of RAM # 1 to RAM # N whose input data is not written is instructed to the read address. Masks the output data of RAM # 1 to RAM # N. This is done because the stored data in the RAM is not initialized by reset.

図11は、リセット制御部130の構成を表わす図である。
リセット制御部130は、ライト済みアドレス記録部400と、初期値マスク信号生成部410とを備える。
ライト済みアドレス記録部400は、RAM#1~RAM#Nに設定されたライト済みアドレスを記録する。
FIG. 11 is a diagram showing the configuration of the reset control unit 130.
The reset control unit 130 includes a written address recording unit 400 and an initial value mask signal generation unit 410.
The written address recording unit 400 records the written addresses set in RAM # 1 to RAM # N.

図12は、ライト済みアドレスの記録手順を表わすフローチャートである。
ステップS501において、リセットが有効な場合に、処理がステップS504に進み、リセットが無効な場合に、処理がステップS502に進む。
FIG. 12 is a flowchart showing the recording procedure of the written address.
In step S501, if the reset is valid, the process proceeds to step S504, and if the reset is invalid, the process proceeds to step S502.

ステップS502において、ライト済みアドレス記録部400は、ライト制御部110からライトアドレスを取得する。 In step S502, the written address recording unit 400 acquires the write address from the write control unit 110.

ステップS503において、ライト済みアドレス記録部400は、取得したライトアドレスをライト済みアドレスとして記録する。 In step S503, the written address recording unit 400 records the acquired write address as the written address.

ステップS504において、ライト済みアドレス記録部400は、記録したライト済みアドレスをクリアする。これによって、RAM#1~RAM#Nに入力データを1回もライトしていない状態となる。 In step S504, the written address recording unit 400 clears the recorded written address. As a result, the input data has not been written to RAM # 1 to RAM # N even once.

初期値マスク信号生成部410は、ライト済みアドレス記録部400からライト済みアドレスを取得するとともに、リード制御部120からリードアドレスを取得して、初期値マスク制御部140に初期値マスク信号の有効、または無効を通知する。 The initial value mask signal generation unit 410 acquires the written address from the written address recording unit 400 and acquires the read address from the read control unit 120, and enables the initial value mask signal to be valid for the initial value mask control unit 140. Or notify invalidity.

図13は、初期値マスク信号の生成手順を表わすフローチャートである。
ステップS601において、リセットが有効の場合、処理がステップS606に進み、リセットが無効の場合、処理がステップS602に進む。
FIG. 13 is a flowchart showing the procedure for generating the initial value mask signal.
In step S601, if the reset is valid, the process proceeds to step S606, and if the reset is invalid, the process proceeds to step S602.

ステップS602において、初期値マスク信号生成部410は、ライト済みアドレス記録部400からライト済みアドレスを取得する。 In step S602, the initial value mask signal generation unit 410 acquires the written address from the written address recording unit 400.

ステップS603において、初期値マスク信号生成部410は、リード制御部120からリードアドレスを取得する。 In step S603, the initial value mask signal generation unit 410 acquires a read address from the read control unit 120.

ステップS604において、リードアドレスがライト済みアドレスに含まれている場合に、処理がステップS605に進む。リードアドレスがライト済みアドレスに含まれていない場合に、処理がステップS606に進む。 In step S604, if the read address is included in the written address, the process proceeds to step S605. If the read address is not included in the written address, the process proceeds to step S606.

ステップS605において、初期値マスク信号生成部410は、初期値マスク制御部140に対する初期値マスク信号を無効に設定する。 In step S605, the initial value mask signal generation unit 410 sets the initial value mask signal for the initial value mask control unit 140 to be invalid.

ステップS606において、初期値マスク信号生成部410は、初期値マスク信号を有効に設定する。RAM#1~RAM#Nに入力データがライトされておらず、不定値またはリセット前の値が格納されている場所がリードアドレスに指定されたときに、初期値マスク信号が有効となる。また、リセットが有効なときに、ライト済みアドレスおよびリードアドレスによらず、初期値マスク信号が有効となる。 In step S606, the initial value mask signal generation unit 410 effectively sets the initial value mask signal. The initial value mask signal is valid when the input data is not written in RAM # 1 to RAM # N and the place where the indefinite value or the value before reset is stored is specified as the read address. Also, when reset is enabled, the initial value mask signal is valid regardless of the written address and read address.

初期値マスク制御部140は、リセット制御部130が生成する初期値マスク信号の状態に基づいて、RAM#1~RAM#Nの出力データを初期値で置き換えてマスクするか、RAM#1~RAM#Nの出力データをそのまま出力するのかを切り替える。初期値マスク制御部140は、初期値マスク信号が有効のときに、RAM#1~RAM#Nの出力データを初期値でマスクする。 The initial value mask control unit 140 either replaces the output data of RAM # 1 to RAM # N with the initial value and masks it based on the state of the initial value mask signal generated by the reset control unit 130, or RAM # 1 to RAM. Switch whether to output the output data of #N as it is. The initial value mask control unit 140 masks the output data of RAM # 1 to RAM # N with the initial value when the initial value mask signal is valid.

図14は、初期値マスク制御の手順を表わすフローチャートである。
ステップS701において、初期値マスク信号が有効な場合に、処理がステップS703に進み、初期値マスク信号が無効な場合に、処理がステップS702に進む。
FIG. 14 is a flowchart showing the procedure of initial value mask control.
In step S701, when the initial value mask signal is valid, the process proceeds to step S703, and when the initial value mask signal is invalid, the process proceeds to step S702.

ステップS703において、初期値マスク制御部140は、初期値として指定した値をRAM#1~RAM#Nの出力遅延データとして出力する。 In step S703, the initial value mask control unit 140 outputs the value specified as the initial value as the output delay data of RAM # 1 to RAM # N.

ステップS702において、初期値マスク制御部140は、RAM#1~RAN#Nのデータを出力遅延データとして出力する。 In step S702, the initial value mask control unit 140 outputs the data of RAM # 1 to RAN # N as output delay data.

RAM#1~RAM#N内の格納データをリセットにより初期化するには、RAM#1~RAM#N内の格納データを全て初期値でライト(上書き)する必要があり、相当の時間を要する。本実施の形態では、初期値マスク信号によって、RAM#1~RAM#Nの出力データを初期値でマスクすることによって、リセットと同等の機能を実現する。この処理に必要な時間は、ライト済みアドレスとリードアドレスとの比較および初期値マスク信号の生成の時間だけので、本実施の形態では、短時間でリセットの機能を実現することができる。 In order to initialize the stored data in RAM # 1 to RAM # N by resetting, it is necessary to write (overwrite) all the stored data in RAM # 1 to RAM # N with the initial values, which takes a considerable amount of time. .. In the present embodiment, the output data of RAM # 1 to RAM # N is masked with the initial value by the initial value mask signal, thereby realizing the function equivalent to the reset. Since the time required for this process is only the time required for comparing the written address and the read address and generating the initial value mask signal, the reset function can be realized in a short time in the present embodiment.

RAMが実装されるシステムにおいて、起動直後においてRAMは初期化されておらず、格納データとして不定値が格納される。この状態でRAMに対してリード指示すると、不定値が出力されて誤動作する恐れがある。本実施の形態では、RAM#1~RAM#Nに入力データがライトされるまでは、ライト済みアドレスが記録されないため、どのリードアドレスを対象にリード指示しても、初期値マスク信号が有効となる。その結果、RAM#1~RAM#Nから不定値が出力されても、初期値マスク制御部140が、不定値を初期値で置き換えることによって、不定値が処理されることはない。 In a system in which RAM is mounted, the RAM is not initialized immediately after startup, and an indefinite value is stored as stored data. If a read instruction is given to the RAM in this state, an indefinite value may be output and a malfunction may occur. In the present embodiment, the written address is not recorded until the input data is written to RAM # 1 to RAM # N, so that the initial value mask signal is valid regardless of which read address is read. Become. As a result, even if the indefinite value is output from RAM # 1 to RAM # N, the indefinite value is not processed by the initial value mask control unit 140 replacing the indefinite value with the initial value.

本実施の形態によれば、図10のタイミングチャートの動作例のとおり、連続した遅延量を付与された出力データを同一時刻において同時に取得できる。そのため、連続して入力されるデータに対して、連続して処理を行うことができる。 According to the present embodiment, as shown in the operation example of the timing chart of FIG. 10, output data to which a continuous delay amount is given can be acquired at the same time at the same time. Therefore, it is possible to continuously process the continuously input data.

連続して入力されるデータでなく、間欠的にデータが入力される場合も、設定部300によるリードアドレスの調整によって、RAMの個数を変えることなくシフトレジスタ機能を実現できる。また、入力されるデータは間欠的だが、データの出力は連続して行う場合も、RAMの個数を変えずにシフトレジスタ機能を実現できる。 Even when data is input intermittently instead of continuously input data, the shift register function can be realized without changing the number of RAMs by adjusting the read address by the setting unit 300. Further, although the input data is intermittent, the shift register function can be realized without changing the number of RAMs even when the data is continuously output.

連続して入力されるデータに対して、間引きして間欠的にデータを処理する場合、設定部300によるリードアドレスの調整で実現できる。また、同一時刻において同時に取得する必要のあるデータの個数分、RAM#1~RAM#Nが存在すればよいため、RAMを効率的に使用できる。 When the data that is continuously input is thinned out and the data is processed intermittently, it can be realized by adjusting the read address by the setting unit 300. Further, since it is sufficient that RAM # 1 to RAM # N exist for the number of data that need to be acquired at the same time at the same time, the RAM can be used efficiently.

RAMの出力データを後段のRAMの入力とするような構成とすると、ライトおよびリードそれぞれに1クロック(処理単位時間)がかかるため、連続した遅延量を付与できない。連続した遅延量を付与しようとすると、例えば同様の構成を2組以上用いる必要があり、使用するRAMの個数が増大する。本実施の形態の構成では、出力データとして連続した遅延量を付与できるため、使用するRAMの個数を削減できる。 If the output data of the RAM is used as the input of the RAM in the subsequent stage, one clock (processing unit time) is required for each of the write and the read, so that a continuous delay amount cannot be given. When trying to give a continuous delay amount, for example, it is necessary to use two or more sets of the same configuration, and the number of RAMs used increases. In the configuration of this embodiment, since a continuous delay amount can be added as output data, the number of RAMs used can be reduced.

入力データが間欠的に入力される場合、RAMに入力データを一旦格納した後に、逐次リードを行って、データの取得処理することも考えられるが、データの取得処理開始までのレイテンシが増大する。本実施の形態では、入力データが入力された後、直ちにデータの取得処理を実施できるため、レイテンシを抑制できる。 When the input data is input intermittently, it is conceivable that the input data is temporarily stored in the RAM and then sequentially read to perform the data acquisition process, but the latency until the start of the data acquisition process increases. In the present embodiment, since the data acquisition process can be performed immediately after the input data is input, the latency can be suppressed.

リセット制御部130および初期値マスク制御部140によるRAMの出力データの初期値マスク処理により、リセット有効時に直ちにRAMの出力データを初期値とすることができる。リセットによる初期化の直後から入力データを処理する必要がある場合、リセットに時間を要すると、処理できない期間が生じてしまうが、本実施の形態では、直ちに初期化されるため、連続的に処理を実施できる。 By masking the initial value of the output data of the RAM by the reset control unit 130 and the initial value mask control unit 140, the output data of the RAM can be immediately set as the initial value when the reset is enabled. When it is necessary to process the input data immediately after the initialization by reset, if it takes time to reset, there will be a period during which processing cannot be performed. However, in the present embodiment, since it is initialized immediately, it is processed continuously. Can be carried out.

起動直後のRAMにおいて、不定値が格納される状態でRAMに対してリード指示すると、不定値が出力されて誤動作する恐れがある。本実施の形態では、リセット制御部130および初期値マスク制御部140により、不定値が出力されても初期値で置き換えてマスクされるため、不定値を処理することはなく、誤動作を防止できる。 In the RAM immediately after startup, if a read instruction is given to the RAM while the indefinite value is stored, the indefinite value may be output and a malfunction may occur. In the present embodiment, even if the reset control unit 130 and the initial value mask control unit 140 output an indefinite value, the indefinite value is replaced with the initial value and masked. Therefore, the indefinite value is not processed and a malfunction can be prevented.

今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本開示の範囲は上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味及び範囲内でのすべての変更が含まれることが意図される。 It should be considered that the embodiments disclosed this time are exemplary in all respects and not restrictive. The scope of the present disclosure is indicated by the scope of claims rather than the above description, and is intended to include all modifications within the meaning and scope equivalent to the scope of claims.

100 記憶部、110 ライト制御部、120 リード制御部、130 リセット制御部、140 初期値マスク制御部、200 ライトアドレス設定部、210 ライト指示部、300 設定部、302(1) 第1リードアドレス設定部、302(2) 第2リードアドレス設定部、302(N) 第Nリードアドレス設定部、310 指示部、312(1) 第1リード指示部、312(2) 第2リード指示部、312(N) 第Nリード指示部、400 ライト済みアドレス記録部、410 初期値マスク信号生成部。 100 storage unit, 110 write control unit, 120 read control unit, 130 reset control unit, 140 initial value mask control unit, 200 write address setting unit, 210 write indicator unit, 300 setting unit, 302 (1) 1st read address setting Unit, 302 (2) 2nd read address setting unit, 302 (N) Nth read address setting unit, 310 instruction unit, 312 (1) 1st read instruction unit, 312 (2) 2nd read instruction unit, 312 ( N) Nth read indicator, 400 written address recording unit, 410 initial value mask signal generation unit.

Claims (8)

複数個のRAMと、
入力された1つのデータを前記複数個のRAMの同一のライトアドレスにライトし、前記1つのデータをライトするごとに、前記ライトアドレスをインクリメントするライト制御部と、
前記複数個のRAMの互いに相違するアドレスから同時にデータがリードされるように制御するリード制御部とを備えた、デジタルフィルタのシフトレジスタ。
With multiple RAMs
A write control unit that writes one input data to the same write address of the plurality of RAMs and increments the write address each time the one data is written.
A shift register of a digital filter including a read control unit that controls data to be read from different addresses of the plurality of RAMs at the same time.
前記リード制御部は、前記複数個のRAMのリードアドレスを連続する複数個のアドレスに設定する、請求項1記載のデジタルフィルタのシフトレジスタ。 The shift register of the digital filter according to claim 1, wherein the read control unit sets the read addresses of the plurality of RAMs to a plurality of consecutive addresses. 前記リード制御部は、リードイネーブルが有効となったときに、前記複数個のRAMに対して1つずつ順番に一定時間ごとにリード指示を有効に設定する、請求項1または2記載のデジタルフィルタのシフトレジスタ。 The digital filter according to claim 1 or 2, wherein the read control unit enables read instructions for the plurality of RAMs one by one at regular time intervals when the read enable is enabled. Shift register. 前記リード制御部は、リセットが有効な場合に、前記複数個のRAMの前記リードアドレスを初期値に戻す、請求項1~3のいずれか1項に記載のデジタルフィルタのシフトレジスタ。 The shift register of the digital filter according to any one of claims 1 to 3, wherein the read control unit returns the read addresses of the plurality of RAMs to initial values when the reset is effective. 前記ライト制御部は、ライトイネーブルが無効な場合に、前記ライトアドレスをインクリメントせずに、元の値を保持する、請求項1~4のいずれか1項に記載のデジタルフィルタのシフトレジスタ。 The shift register of the digital filter according to any one of claims 1 to 4, wherein the write control unit holds the original value without incrementing the write address when the write enable is invalid. 前記ライト制御部は、リセットが有効な場合に、前記ライトアドレスを初期値に戻す、請求項1~5のいずれか1項に記載のデジタルフィルタのシフトレジスタ。 The shift register of the digital filter according to any one of claims 1 to 5, wherein the write control unit returns the write address to an initial value when reset is effective. 前記複数個のRAMに設定されたライト済みアドレスを記憶するライト済みアドレス記録部と、
リードアドレスがライト済みアドレスに含まれていない場合に、初期値マスク信号を有効に設定する初期値マスク信号生成部と、
前記初期値マスク信号の状態に基づいて、前記複数個のRAMの出力データを初期値で置き換えるか否かを切り替える初期値マスク制御部とを備えた、請求項1~6のいずれか1項に記載のデジタルフィルタのシフトレジスタ。
A written address recording unit that stores the written addresses set in the plurality of RAMs, and a written address recording unit.
An initial value mask signal generator that enables the initial value mask signal when the read address is not included in the written address,
6. The shift register of the described digital filter.
前記初期値マスク信号生成部は、さらに、リセットが有効な場合に、前記初期値マスク信号を有効に設定する、請求項7記載のデジタルフィルタのシフトレジスタ。
The shift register of the digital filter according to claim 7, wherein the initial value mask signal generation unit further effectively sets the initial value mask signal when reset is effective.
JP2021001421A 2021-01-07 2021-01-07 Digital filter shift register Pending JP2022106432A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021001421A JP2022106432A (en) 2021-01-07 2021-01-07 Digital filter shift register

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021001421A JP2022106432A (en) 2021-01-07 2021-01-07 Digital filter shift register

Publications (2)

Publication Number Publication Date
JP2022106432A true JP2022106432A (en) 2022-07-20
JP2022106432A5 JP2022106432A5 (en) 2023-12-12

Family

ID=82457181

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021001421A Pending JP2022106432A (en) 2021-01-07 2021-01-07 Digital filter shift register

Country Status (1)

Country Link
JP (1) JP2022106432A (en)

Similar Documents

Publication Publication Date Title
KR100337052B1 (en) Dual port fifo with synchronized read and write pointers
US10599178B2 (en) Data transfer between asynchronous clock domains
US7193429B2 (en) Serial data communication system having plurality of data transmission paths
JP5518103B2 (en) Transmission control device and PLC including the transmission control device
JP2004062630A (en) Fifo memory and semiconductor device
JP2022106432A (en) Digital filter shift register
US7783693B2 (en) Reconfigurable circuit
JP4757583B2 (en) Output control signal generation circuit
KR0140454B1 (en) Semiconductor memory device for incrementing address at high speed in burst access
EP0661648B1 (en) Digital signal processing circuit
JP5446939B2 (en) A computer program written in a hardware description language
EP1443412A2 (en) Information processing apparatus and memory access arranging method
JP5126010B2 (en) Memory access control circuit and image processing apparatus
JP4696003B2 (en) Data transfer circuit
JP4851964B2 (en) Synchronization circuit using dual port memory
JP6382751B2 (en) Semiconductor device, data communication system, and data write control method
US6744833B1 (en) Data resynchronization between modules sharing a common clock
JPH07168652A (en) Synchronous resetting circuit
JP4750505B2 (en) Clock switching circuit
JP2002182973A (en) Memory interface and its signal processing method
JPH05266685A (en) Storage device
JP3114111B2 (en) Logic emulation method and system
JPH04171566A (en) Data updating control circuit
JP2010204913A (en) Vector processor
JP2010054396A (en) Timing data transfer circuit

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20231201

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20231201