High-speed serial configuration circuit structure

文档序号:105098 发布日期:2021-10-15 浏览:20次 中文

阅读说明:本技术 高速串行配置电路结构 (High-speed serial configuration circuit structure ) 是由 韦援丰 白文亮 其他发明人请求不公开姓名 于 2021-09-07 设计创作,主要内容包括:本发明涉及一种高速串行配置电路结构,包括:一控制器;与所述控制器相连接的配置链路,所述配置链路包括若干依次连接的短配置链,所述短配置链包括若干寄存器,且各所述短配置链的首位相互连接;与各所述短配置链一一对应设置且依次连接的时钟同步控制模块,所述时钟同步控制模块用于控制相对应的所述短配置链的时钟信号有效周期;所述控制器用于产生控制信号控制所述配置链路动作和时序,所述配置链路受控于所述控制信号以实现数据串行移位配置。本发明只需通过增加少量控制电路及端口即可提高串行配置速度和串行移位链的配置时钟频率,其基本原理在于通过配置电路将长配置链截断为多个短配置链,从而消除配置链长度对配置速度的影响。(The invention relates to a high-speed serial configuration circuit structure, comprising: a controller; the configuration link is connected with the controller and comprises a plurality of short configuration chains which are sequentially connected, each short configuration chain comprises a plurality of registers, and the first bits of the short configuration chains are mutually connected; the clock synchronization control modules are arranged in one-to-one correspondence with the short configuration chains and are sequentially connected with each other, and the clock synchronization control modules are used for controlling the effective period of clock signals of the corresponding short configuration chains; the controller is used for generating control signals to control the action and the time sequence of the configuration link, and the configuration link is controlled by the control signals to realize data serial shift configuration. The invention can improve the serial configuration speed and the configuration clock frequency of the serial shift chain by only increasing a small amount of control circuits and ports, and has the basic principle that a long configuration chain is cut into a plurality of short configuration chains through a configuration circuit, thereby eliminating the influence of the length of the configuration chain on the configuration speed.)

1. A high speed serial configuration circuit architecture, comprising:

a controller;

the configuration link is connected with the controller and comprises a plurality of short configuration chains which are sequentially connected, each short configuration chain comprises a plurality of registers, and the first bits of the short configuration chains are mutually connected;

the clock synchronization control modules are arranged in one-to-one correspondence with the short configuration chains and are sequentially connected with each other, the clock synchronization control modules are used for controlling the effective period of clock signals of the corresponding short configuration chains, and each clock synchronization control module is connected with the controller;

the controller is used for generating control signals to control the action and the time sequence of the configuration link, and the configuration link is controlled by the control signals to realize data serial shift configuration.

2. The high-speed serial configuration circuit structure according to claim 1, wherein said controller is provided with a configuration data port, a first alternative data selector is provided between adjacent said short configuration chains, said configuration data port is connected to a first input terminal of said first alternative data selector, a data output terminal of a next said short configuration chain is connected to a second input terminal of said first alternative data selector, and an output terminal of said first alternative data selector is connected to a data input terminal of a previous said short configuration chain.

3. The high-speed serial configuration circuit structure according to claim 2, wherein a mode control port is provided on the controller, the mode control port is connected to each clock synchronization control module, and the mode control port is further configured to provide a mode control signal to the short configuration chain.

4. The high-speed serial configuration circuit structure according to claim 3, wherein said controller is provided with a control signal port and a trigger signal port, said control signal port is connected to said clock synchronization control module located at the head, and said trigger signal port is connected to each of said clock synchronization control modules.

5. The high-speed serial configuration circuit architecture of claim 4, wherein said clock synchronization control module comprises: the output end of the first trigger is connected with the input end of the second trigger, the output end of the second trigger is connected with the first input end of the OR logic gate, the second input end of the OR logic gate is connected with the mode control port, the output end of the OR logic gate is connected with the first input end of the AND logic gate, the second input end of the AND logic gate is connected with the clock signal port of the second trigger, and the output end of the AND logic gate outputs an effective clock signal.

6. The architecture as claimed in claim 5, wherein a second alternative data selector is disposed between adjacent short configuration chains, a first input terminal of the second alternative data selector is connected to the clock synchronization control module, a clock output terminal of a previous short configuration chain is connected to a second input terminal of the second alternative data selector, and an output terminal of the second alternative data selector is connected to a clock input terminal of a next short configuration chain.

7. A high speed serial configuration circuit arrangement according to claim 5, characterized in that the register lengths of adjacent said short configuration chains are the same or different.

Technical Field

The invention relates to the technical field of electronic circuits, in particular to a high-speed serial configuration circuit structure.

Background

The serial configuration is widely applied to a medium-low speed starting circuit needing initialization configuration because of simple interface and low time sequence requirement. In serial configuration, in order to prevent register hold problem caused by time sequence change of clock and driven data in transmission, at present, a scheme that a clock direction and a data flow direction are opposite is mostly adopted to reduce design time sequence requirement, due to the adoption of an opposite structure, partial data loss is caused when the overall time delay of a clock is more than one period, and along with the increase of the length of a configuration chain, the time delay of the clock from an inlet to an outlet of the configuration chain is increased, so that the maximum configuration speed is reduced along with the increase of the length of the configuration chain.

As shown in fig. 1, fig. 1 is a schematic diagram of a serial configuration with a conventional structure, which includes a control unit and a configuration chain structure composed of n registers, the configuration chain adopts a typical Data clock phase structure in terms of timing design, the delay of ck _ i to ck _ o increases as the number of registers of the configuration chain increases, each clock edge drives a Data update because of the synchronization of Data and Clk in the control unit, when the delay length is greater than one clock cycle, the rightmost register has not stored old Data, and new Data enters the register Data port, thereby easily causing circuit function errors.

Disclosure of Invention

In order to solve the above technical problems, the present invention provides a high-speed serial configuration circuit structure, which has the advantages of improving configuration and reducing circuit errors.

In order to achieve the purpose, the technical scheme of the invention is as follows:

a high speed serial configuration circuit architecture comprising:

a controller;

the configuration link is connected with the controller and comprises a plurality of short configuration chains which are sequentially connected, each short configuration chain comprises a plurality of registers, and the first bits of the short configuration chains are mutually connected;

the clock synchronization control modules are arranged in one-to-one correspondence with the short configuration chains and are sequentially connected with each other, the clock synchronization control modules are used for controlling the effective period of clock signals of the corresponding short configuration chains, and each clock synchronization control module is connected with the controller;

the controller is used for generating control signals to control the action and the time sequence of the configuration link, and the configuration link is controlled by the control signals to realize data serial shift configuration.

As a preferred embodiment of the present invention, a configuration data port is disposed on the controller, a first one-out-of-two data selector is disposed between adjacent short configuration chains, the configuration data port and a first input end of the first one-out-of-two data selector, a data output end of a next short configuration chain is connected to a second input end of the first one-out-of-two data selector, and an output end of the first one-out-of-two data selector is connected to a data input end of a previous short configuration chain.

As a preferred scheme of the present invention, a mode control port is disposed on the controller, the mode control port is connected to each clock synchronization control module, and the mode control port is further configured to provide a mode control signal to the short configuration chain.

As a preferred scheme of the present invention, the controller is provided with a control signal port and a trigger signal port, the control signal port is connected to the clock synchronization control module located at the head, and the trigger signal port is connected to each clock synchronization control module.

As a preferable aspect of the present invention, the clock synchronization control module includes: the output end of the first trigger is connected with the input end of the second trigger, the output end of the second trigger is connected with the first input end of the OR logic gate, the second input end of the OR logic gate is connected with the mode control port, the output end of the OR logic gate is connected with the first input end of the AND logic gate, the second input end of the AND logic gate is connected with the clock signal port of the second trigger, and the output end of the AND logic gate outputs an effective clock signal.

As a preferred embodiment of the present invention, a second one-out-of-two data selector is disposed between adjacent short configuration chains, a first input end of the second one-out-of-two data selector is connected to the clock synchronization control module, a clock output end of a previous short configuration chain is connected to a second input end of the second one-out-of-two data selector, and an output end of the second one-out-of-two data selector is connected to a clock input end of a next short configuration chain.

In a preferred embodiment of the present invention, the register lengths of adjacent short configuration chains are the same or different.

In conclusion, the invention has the following beneficial effects:

the embodiment of the invention provides a high-speed serial configuration circuit structure, which comprises: a controller; the configuration link is connected with the controller and comprises a plurality of short configuration chains which are sequentially connected, each short configuration chain comprises a plurality of registers, and the first bits of the short configuration chains are mutually connected; the clock synchronization control modules are arranged in one-to-one correspondence with the short configuration chains and are sequentially connected with each other, the clock synchronization control modules are used for controlling the effective period of clock signals of the corresponding short configuration chains, and each clock synchronization control module is connected with the controller; the controller is used for generating control signals to control the action and the time sequence of the configuration link, and the configuration link is controlled by the control signals to realize data serial shift configuration. The invention can improve the serial configuration speed and the configuration clock frequency of the serial shift chain only by adding a small amount of control circuits and ports, and has the basic principle that a long configuration chain is cut into a plurality of short configuration chains through a configuration circuit, so that the influence of the length of the configuration chain on the configuration speed is eliminated, meanwhile, the circuit structure can be compatible with a single-chain configuration mode, the original design configuration time sequence is kept, and the mode switching is more convenient.

Drawings

In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.

Fig. 1 is a schematic diagram of a serial configuration of a conventional configuration.

Fig. 2 is a schematic circuit diagram of an embodiment of the present invention.

Fig. 3 is a schematic circuit diagram of a clock synchronization control module according to an embodiment of the present invention.

FIG. 4 is a timing diagram of the clock synchronization control module according to the embodiment of the present invention.

FIG. 5 is a timing diagram of signals in the speed-up mode according to the embodiment of the present invention.

FIG. 6 is a timing diagram of signals in a conventional single-stage serial shift mode according to an embodiment of the present invention.

The corresponding part names indicated by the numbers and letters in the drawings:

101. a controller; 201-20X short configuration chains; 301-30X, clock synchronization control module; 401. a first flip-flop; 402. a second flip-flop; 403. an OR logic gate; 404. an AND logic gate; 501. a first one-out-of-two data selector; 502. a second one-of-two data selector.

Detailed Description

The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

Examples

A high speed serial configuration circuit arrangement, as shown in fig. 2, comprising: a controller 101; the configuration link is connected with the controller 101 and comprises a plurality of short configuration chains 201-20X which are sequentially connected, each short configuration chain comprises a plurality of registers, and the first bits of the short configuration chains are mutually connected; clock synchronization control modules 301-30X which are arranged in one-to-one correspondence with the short configuration chains and are sequentially connected with each other, wherein the clock synchronization control modules are used for controlling the effective period of clock signals of the corresponding short configuration chains, and each clock synchronization control module is connected with the controller 101; the controller 101 is used for generating control signals to control the actions and the timing of the configuration link, and the configuration link is controlled by the control signals to realize the data serial shift configuration.

Specifically, the controller 101 is provided with a clock signal port (clk port), a configuration Data port (Data port), a mode control port (byp port), a control signal port (en port), and a trigger signal port (tr port), the clk port provides a clock signal for the configuration link, the Data port provides configuration Data for the configuration link, and the configuration Data is synchronous with clk and is triggered by the clk edge; the bypass port provides a mode control signal for the configuration link, a plurality of short configuration chains 201-20X are serially combined into a traditional single-section serial shift mode in a high state, and each short configuration chain is independently a speed-up mode with a multi-section structure in a low state; the en port and the tr port respectively provide a control signal and a trigger signal for the clock synchronization control module.

The structure of the short configuration chain is similar to that of the existing serial configuration structure, and includes a plurality of registers which are connected in sequence and are connected end to end, and the plurality of registers are connected end to form a shift register chain, the short configuration chain is used for performing data serial shift configuration, and the length of the registers in each short configuration chain can be the same or different, the length of the registers is determined by the number of the registers, the shorter the short configuration chain is the longer the registers are, the total length of the configuration link register is the sum of the lengths of the registers in each short configuration chain, for example, the length of the register in the short configuration chain 201 is n1, the length of the register in the short configuration chain 202 is n2, and so on, the length of the register in the 20X module is nx, and the sum of the lengths of the registers in the configuration chain is M = n1+ n2 +. + nx; and the first bits of the short configuration chains are connected together to form a serial register chain with the length of M, the theoretical highest working frequency of the serial register chain is limited by the delay of the clock in the configuration chain, namely the sum of the clock delays of the short configuration chains, and meanwhile, when the serial configuration is set to be in the speed-up mode, the theoretical highest working frequency of the serial register chain is determined by the maximum value of the clock delays in the short configurations.

A first alternative data selector 501 is arranged between adjacent short configuration chains, a configuration data port is connected with a first input end of the first alternative data selector 501, a data output end of a next short configuration chain is connected with a second input end of the first alternative data selector 501, and an output end of the first alternative data selector 501 is connected with a data input end of a last short configuration chain.

The mode control port is connected with each clock synchronization control module, specifically connected to the b port of the clock synchronization control module, and is further used for providing a mode control signal to the short configuration chain, the control signal port is connected to the clock synchronization control module located at the head, and the trigger signal port is connected with each clock synchronization control module.

As shown in fig. 3 and 4, the clock synchronization control module includes: a first flip-flop 401, a second flip-flop 402, an or logic gate 403 and an and logic gate 404, wherein an output of the first flip-flop 401 is connected to an input of the second flip-flop 402, an output of the second flip-flop 402 is connected to a first input of the or logic gate 403, a second input of the or logic gate 403 is connected to the mode control port, an output of the or logic gate 403 is connected to a first input of the or logic gate 404, a second input of the or logic gate 404 is connected to the clock signal port of the second flip-flop 402, and an output of the or logic gate 404 outputs an active clock signal.

The operation process is as follows: the en port is registered by the register triggered by the T port and then sent to the eo port, and is used as the data input of the next stage register, the b port performs or operation after the input signal is registered, the operation result and the cl phase are in phase with an effective clock required by generating a configuration link, wherein the byp port of the b-end controller 101 is connected to control the working mode of the whole configuration link, the first flip-flop 401 is used for transmitting an enable control signal generated by the clock synchronization control module, the second flip-flop 402 is used for synchronizing the enable control signal with the edge of the clk, and the second flip-flop 402 is triggered by using the reverse edge of the clock to ensure that a complete clock cycle is generated after subsequent logic operation.

Further, a second one-out-of-one data selector 502 is disposed between adjacent short configuration chains, a first input end of the second one-out-of-one data selector 502 is connected to the clock synchronization control module, a clock output end of the previous short configuration chain is connected to a second input end of the second one-out-of-one data selector 502, and an output end of the second one-out-of-one data selector 502 is connected to a clock input end of the next short configuration chain.

The working principle of this application does: in the speed-up mode, the mode control signal byp is set to be low, at this time, the data input end signal din of the short configuration chains 201 to 20X is derived from the data port of the controller 101, and the clock ck _ i of the clock input ends of the short configuration chains 201 to 20X is derived from the output of the corresponding clock synchronization control modules 301 to 30X. In this operation mode, in the initial stage, the en port of the controller 101 is driven by the clk falling edge to generate a high pulse of one clk period, meanwhile, the Tr signal of the controller 101 generates a first rising edge, the first rising edge of the Tr signal triggers the clock synchronization control module 301 to generate a clock signal synchronized with clk and send the clock signal to the nt1 port, the second rising edge of the Tr signal turns off the clock output generated by the clock synchronization control module 301, the short configuration chain 302 is triggered to generate a clock synchronized with clk, the third rising edge of the Tr signal turns off the clock output generated by the short configuration chain 302, the short configuration chain 303 is triggered to generate a clock output, and so on until the short configuration chain 30X is triggered completely.

The duration between two adjacent rising edges of the Tr signal is related to the register length of the corresponding short configuration chains 201-20X driven by the trigger output clock, as shown in fig. 5, the duration of the first adjacent rising edge is n1 × Tclk, and the duration of the second adjacent rising edge is n2 × Tclk, where n1 and n2 correspond to the register length of each short configuration chain 201. Therefore, in the speed-up mode, each short configuration chain 201-20X module has an independent clock inlet and data inlet, and the working frequency is not limited by the delay caused by the increase of the serial chain, thereby achieving the speed-up goal.

The structure shown in the invention can realize the speed-up function, and can be compatible with the traditional serial configuration through mode setting, as shown in fig. 6, in the mode, the mode control signal byp is set to be high, at this time, the configuration chain data input end signals din shown by the short configuration chains 201 to 20X are from the data output ports dout of the adjacent short configuration chains, the clock input end clocks ck _ i of the short configuration chains are from the clock output ports ck _ o of the adjacent short configuration chains, in the mode, the ports Tr generate one-time triggering, the short configuration chains 201 to 20X are connected end to form a serial chain, the chain only has one clock inlet nt1, the clock delay of the whole chain is equal to the sum of the clock delays of the short configuration chains 201 to 20X, and the delay limits the highest working frequency of the circuit.

The invention can improve the serial configuration speed and the configuration clock frequency of the serial shift chain only by adding a small amount of control circuits and ports, and has the basic principle that a long configuration chain is cut into a plurality of short configuration chains through a configuration circuit, so that the influence of the length of the configuration chain on the configuration speed is eliminated, meanwhile, the circuit structure can be compatible with a single-chain configuration mode, the original design configuration time sequence is kept, and the mode switching is more convenient.

The invention comprises a plurality of short configuration chains, input data of all the short configuration chains are from the same port signal, only data on one short configuration chain can be moved in series at the same time, clock input ends of all the short configuration chains are connected with a clock output end of a controller 101 through a clock synchronization control module, and only one clock can be used for controlling an output clock of the short configuration chain at the same time; in the clock synchronization control module, the clock output is generated by performing logic operation on the result after the clock reverse edge synchronization and the input clock, the clock and data input of a plurality of short configuration chains are controlled by a first alternative data selector 501 and a second alternative data selector 502, and the selection end logic of the selectors determines the working mode of the circuit structure.

The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

10页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:MCU、主机与多个MCU传输数据的方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!