CN107590092A - A kind of PCIE based on FPGA turns EMC bridges - Google Patents
A kind of PCIE based on FPGA turns EMC bridges Download PDFInfo
- Publication number
- CN107590092A CN107590092A CN201710992668.2A CN201710992668A CN107590092A CN 107590092 A CN107590092 A CN 107590092A CN 201710992668 A CN201710992668 A CN 201710992668A CN 107590092 A CN107590092 A CN 107590092A
- Authority
- CN
- China
- Prior art keywords
- emc
- data
- pcie
- interfaces
- turns
- 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
Links
Landscapes
- Bus Control (AREA)
Abstract
The present invention provides a kind of PCIE based on FPGA and turns EMC bridges, belongs to digital integrated electronic circuit field, technical solution of the present invention is:Its structure includes PCIE interfaces, PCIE turns EMC logics, EMC interfaces, EMC control modules, and wherein PCIE interfaces, EMC interfaces and PCIE turn EMC logical gates using VHDL language progress behavioral scaling description, and compiling is downloaded to FPGA after forming net meter file synthesis mapping;The PCIE interfaces are connected with computer PCI E equipment, and EMC interfaces are connected with EMC control modules.The program realizes standard PCIE interfaces and configurable bit wide(8th, 16 and 32)The signal conversion of EMC interfaces;The design have the characteristics that it is simple in construction, feasible, practical and convenient, have preferably promote practical value.
Description
Technical field
The present invention relates to digital integrated electronic circuit field, more particularly to a kind of PCIE based on FPGA to turn EMC bridges.
Background technology
Current PC IE buses can provide more stable faster data interaction, be widely used in high speed circuit;Outside
The features such as portion storage expanding module EMC is practical and convenient efficient can provide bigger memory space for IC design, except branch
Hold synchronous memory module and also support the asynchronous NOR FLASH of carry and Asynchronous SRAM;FPGA is with its low-power consumption, low cost, programmable
With the construction cycle short gesture for waiting number of features to be widely applied to every field, and having gradually replacement asic chip.
The content of the invention
In order to solve the above technical problems, the present invention proposes a kind of PCIE based on FPGA and turns EMC bridges, utilize FPGA's
Configurability, the signal for completing universal standard PCIE interfaces to customized EMC interfaces are changed.
The technical scheme is that:
A kind of PCIE based on FPGA turns EMC bridges,
Its structure mainly includes PCIE interfaces, PCIE turns EMC logics, EMC interfaces, EMC control modules, wherein PCIE interfaces, EMC
Interface and PCIE turn EMC logical gates and carry out behavioral scaling description using VHDL language, after compiling forms net meter file synthesis mapping
It is downloaded to FPGA;The PCIE interfaces are connected with computer PCI E equipment, and EMC interfaces are connected with EMC control modules.
PCIE interfaces are standard PCIE interfaces;EMC interfaces are with EMC controllers by enabling control signal OEN, writing enabled control
Signal WEN processed, the enabled control signal CEN of piece choosing, address bus signal ADDR [22:0], data bus signal DATA [31:0] and
Bit width mode selection signal BITSET [1:0] transmission to control and data signal.Standard PCIE interfaces turn EMC interfaces, can prop up
Hold the data bandwidth conversion of 8,16 and 32.
The PCIE turn EMC logical gates may be selected support data buffer zone, if EMC control modules without carry outside
FLASH memory, then the logic need appropriately sized buffering area is opened up inside FPGA, if EMC control modules have outside carry
Portion's FLASH memory, then the logic can be without data buffer zone.
Wherein, FLASH memory situation is as follows outside EMC controllers carry:
1)Standard PCIE interfaces and EMC interface sections are realized by its standard using VHDL descriptions;
2)Data bit width through PCIE interfaces supply conversion logic is 32, and a width of 11 of address bit, therefore, conversion logic will solve
The certainly change of address date bit wide, it is as follows that PCIE interfaces turn EMC interface logics design implementation process:
2.1)According to BITSET [1:0] signal confirms that EMC interfaces support the bit wide of data;
2.2)Deposit DATA [31:0] and ADDR [10:0] read-write operation is issued in register group, judgement.
2.3)If write operation, operating control signal is required according to EMC interface sequences, according to (1) result by ADDR [10:0]
Offset operation is done, according to(1)As a result by DATA [31:0] each field assignment.
2.4)If read operation, operating control signal is required according to EMC interface sequences, according to (1) result by ADDR [10:0]
Offset operation and assignment are carried out, waits feedback data.
2.5)By control signal set under idle condition, the read-write indication signal from PCIE interfaces is detected.
Wherein 2.3)With 2.4)The conversion of address date bit wide is carried out, data 32 turn 8 and 16 need to be by corresponding address
By lt 2 and 1, and make 4 times and 2 times skews, 32 turn that assignment can be done at 32 under the premise of sequential is met, a high position is mended
0。
EMC controllers are as follows without FLASH memory situation outside carry:
1)Standard PCIE interfaces and EMC interface sections are realized by its standard using VHDL descriptions;
2)Data bit width through PCIE interfaces supply conversion logic is 32, and a width of 11 of address bit, therefore, conversion logic will solve
The certainly change of address date bit wide, it is as follows that PCIE interfaces turn EMC interface logics design implementation process:
2.1)According to BITSET [1:0] signal confirms that EMC interfaces support the bit wide of data;
2.2)Deposit DATA [31:0] and ADDR [10:0] read-write operation is issued in register group, judgement;
2.3)If write operation, operating control signal is required according to EMC interface sequences, according to (1) result by ADDR [10:0] do partially
Operation is moved, according to(1)As a result by DATA [31:0] each field assignment.And the data after assignment are write into buffering area, EMC controllers
Selection continues scanning buffer data, data renewal to be had, and data read-out is now completed writing for data by EMC controllers
Operation.
2.4)If read operation, operating control signal is required according to EMC interface sequences, according to (1) result by ADDR [10:0]
Carry out offset operation and assignment, EMC controllers write data into after buffering area and start interrupt signal inform main frame by data from
Buffering area is read to internal memory, completes a read operation.
2.5)By control signal set under idle condition, the read-write indication signal from PCIE interfaces is detected.
Wherein 2.3)With 2.4)The conversion of address date bit wide is carried out, data 32 turn 8 and 16 need to be by corresponding address
By lt 2 and 1, and make 4 times and 2 times skews, 32 turn that assignment can be done at 32 under the premise of sequential is met, a high position is mended
0。
The beneficial effects of the invention are as follows
FPGA (Field Programmable Gate Array) is field programmable gate array, is a kind of user according to respective
Need and the voluntarily digital integrated electronic circuit of constitutive logic function, it has the characteristics that integrated level is high, cost is low, stability is good.Adopt
With standard PCIE interfaces, the operation of asynchronous Nor flash storages can be supported;Support optional 8,16 and 32 data bandwidth
Conversion, make carry storage alternative bigger.
Brief description of the drawings
Fig. 1 is the structural representation of the present invention;
Fig. 2 is that PCIE interfaces turn EMC interface logic flow charts.
Embodiment
More detailed elaboration is carried out to present disclosure below:
As shown in Figure 1, the present invention includes PCIE interfaces, PCIE turns EMC logics, EMC interfaces, EMC control modules, PCIE interfaces
It is connected with computer PCI E equipment, EMC interfaces are connected with EMC control modules.PCIE interfaces, EMC interfaces and PCIE turn EMC logics
Part carries out behavioral scaling description using VHDL language.Fpga chip uses the model XC6SLX45T-3CSG324 of XILINX companies
Chip.Flash uses the model IC_TSOP48_XCF32PVOG48C chips of XILINX companies.
On the one hand, PCIE interfaces turn EMC interfaces and address date bit wide inconsistence problems be present, on the other hand, PCIE interfaces
It will meet strict timing Design requirement with EMC Interface designs, so, the conversion logic will meet timing Design requirement
Under the premise of carry out the conversion of address date bit wide, the present invention meets that FPGA is mapped to after design requirement to be realized by VHDL descriptions.
If accompanying drawing 2 is that PCIE interfaces turn EMC interface logic flow charts.FLASH memory situation is shown in embodiment party outside EMC controllers carry
Case 1, EMC controllers are shown in embodiment 2 without FLASH memory situation outside carry.
Embodiment 1:
1)Standard PCIE interfaces and EMC interface sections are realized by its standard using VHDL descriptions;
2)Data bit width through PCIE interfaces supply conversion logic is 32, and a width of 11 of address bit, therefore, conversion logic will solve
The certainly change of address date bit wide, it is as follows that PCIE interfaces turn EMC interface logics design implementation process:
2.1)According to BITSET [1:0] signal confirms that EMC interfaces support the bit wide of data;
2.2)Deposit DATA [31:0] and ADDR [10:0] read-write operation is issued in register group, judgement.
2.3)If write operation, operating control signal is required according to EMC interface sequences, according to (1) result by ADDR [10:0]
Offset operation is done, according to(1)As a result by DATA [31:0] each field assignment.
2.4)If read operation, operating control signal is required according to EMC interface sequences, according to (1) result by ADDR [10:0]
Offset operation and assignment are carried out, waits feedback data.
2.5)By control signal set under idle condition, the read-write indication signal from PCIE interfaces is detected.
Wherein 2.3)With 2.4)The conversion of address date bit wide is carried out, data 32 turn 8 and 16 need to be by corresponding address
By lt 2 and 1, and make 4 times and 2 times skews, 32 turn that assignment can be done at 32 under the premise of sequential is met, a high position is mended
0。
Embodiment 2:
1)Standard PCIE interfaces and EMC interface sections are realized by its standard using VHDL descriptions;
2)Data bit width through PCIE interfaces supply conversion logic is 32, and a width of 11 of address bit, therefore, conversion logic will solve
The certainly change of address date bit wide, it is as follows that PCIE interfaces turn EMC interface logics design implementation process:
2.1)According to BITSET [1:0] signal confirms that EMC interfaces support the bit wide of data;
2.2)Deposit DATA [31:0] and ADDR [10:0] read-write operation is issued in register group, judgement;
2.3)If write operation, operating control signal is required according to EMC interface sequences, according to (1) result by ADDR [10:0] do partially
Operation is moved, according to(1)As a result by DATA [31:0] each field assignment.And the data after assignment are write into buffering area, EMC controllers
Selection continues scanning buffer data, data renewal to be had, and data read-out is now completed writing for data by EMC controllers
Operation.
2.4)If read operation, operating control signal is required according to EMC interface sequences, according to (1) result by ADDR [10:0]
Carry out offset operation and assignment, EMC controllers write data into after buffering area and start interrupt signal inform main frame by data from
Buffering area is read to internal memory, completes a read operation.
2.5)By control signal set under idle condition, the read-write indication signal from PCIE interfaces is detected.
Wherein 2.3)With 2.4)The conversion of address date bit wide is carried out, data 32 turn 8 and 16 need to be by corresponding address
By lt 2 and 1, and make 4 times and 2 times skews, 32 turn that assignment can be done at 32 under the premise of sequential is met, a high position is mended
0。
It is the known technology of those skilled in the art in addition to the technical characteristic described in specification.
Claims (5)
1. a kind of PCIE based on FPGA turns EMC bridges, it is characterised in that structure includes PCIE interfaces, PCIE turns EMC logics, EMC
Interface, EMC control modules, wherein PCIE interfaces, EMC interfaces and PCIE turn EMC logical gates and carry out behavior using VHDL language
Level description, compiling are downloaded to FPGA after forming net meter file synthesis mapping;The PCIE interfaces are connected with computer PCI E equipment,
EMC interfaces are connected with EMC control modules.
2. PCIE according to claim 1 turns EMC bridges, it is characterised in that
Asynchronous controlling and data transfer are carried out by signals below between the EMC interfaces and EMC modules:Enabled control signal
OEN, write enabled control signal WEN, the enabled control signal CEN of piece choosing, address bus signal ADDR [22:0], data bus signal
DATA[31:0] and bit width mode selection signal BITSET [1:0].
3. PCIE according to claim 1 or 2 turns EMC bridges, it is characterised in that
The PCIE turns EMC logical gates and may be selected to support data buffer zone, if EMC control modules are deposited without FLASH outside carry
Reservoir, then the logic needs to open up appropriately sized buffering area inside FPGA, if EMC control modules have FLASH outside carry
Memory, then the logic can be without data buffer zone.
4. PCIE according to claim 3 turns EMC bridges, it is characterised in that
FLASH memory situation is as follows outside EMC controllers carry:
1)Standard PCIE interfaces and EMC interface sections are realized by its standard using VHDL descriptions;
2)Data bit width through PCIE interfaces supply conversion logic is 32, and a width of 11 of address bit, therefore, conversion logic will solve
The certainly change of address date bit wide, it is as follows that PCIE interfaces turn EMC interface logics design implementation process:
2.1)According to BITSET [1:0] signal confirms that EMC interfaces support the bit wide of data;
2.2)Deposit DATA [31:0] and ADDR [10:0] read-write operation is issued in register group, judgement;
2.3)If write operation, operating control signal is required according to EMC interface sequences, according to (1) result by ADDR [10:0] do partially
Operation is moved, according to(1)As a result by DATA [31:0] each field assignment;
2.4)If read operation, operating control signal is required according to EMC interface sequences, according to (1) result by ADDR [10:0] carry out
Offset operation and assignment, wait feedback data;
2.5)By control signal set under idle condition, the read-write indication signal from PCIE interfaces is detected;
Wherein 2.3)With 2.4)The conversion of address date bit wide is carried out, data 32 turn 8 and 16 need to be by corresponding address step-by-step
2 and 1 are moved to left, and make 4 times and 2 times skews, 32 turn that assignment can be done at 32 under the premise of sequential is met, a high position mends 0.
5. PCIE according to claim 3 turns EMC bridges, it is characterised in that
EMC controllers are as follows without FLASH memory situation outside carry:
1)Standard PCIE interfaces and EMC interface sections are realized by its standard using VHDL descriptions;
2)Data bit width through PCIE interfaces supply conversion logic is 32, and a width of 11 of address bit, therefore, conversion logic will solve
The certainly change of address date bit wide, it is as follows that PCIE interfaces turn EMC interface logics design implementation process:
2.1)According to BITSET [1:0] signal confirms that EMC interfaces support the bit wide of data;
2.2)Deposit DATA [31:0] and ADDR [10:0] read-write operation is issued in register group, judgement;
2.3)If write operation, operating control signal is required according to EMC interface sequences, according to (1) result by ADDR [10:0] do partially
Operation is moved, according to(1)As a result by DATA [31:0] each field assignment;And the data after assignment are write into buffering area, EMC controllers
Selection continues scanning buffer data, data renewal to be had, and data read-out is now completed writing for data by EMC controllers
Operation;
2.4)If read operation, operating control signal is required according to EMC interface sequences, according to (1) result by ADDR [10:0] carry out
Offset operation and assignment, EMC controllers, which write data into after buffering area and start interrupt signal, informs main frame by data from buffering
Area is read to internal memory, completes a read operation;
2.5)By control signal set under idle condition, the read-write indication signal from PCIE interfaces is detected;
Wherein 2.3)With 2.4)The conversion of address date bit wide is carried out, data 32 turn 8 and 16 need to be by corresponding address step-by-step
2 and 1 are moved to left, and make 4 times and 2 times skews, 32 turn that assignment can be done at 32 under the premise of sequential is met, a high position mends 0.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710992668.2A CN107590092A (en) | 2017-10-23 | 2017-10-23 | A kind of PCIE based on FPGA turns EMC bridges |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710992668.2A CN107590092A (en) | 2017-10-23 | 2017-10-23 | A kind of PCIE based on FPGA turns EMC bridges |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107590092A true CN107590092A (en) | 2018-01-16 |
Family
ID=61043312
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710992668.2A Pending CN107590092A (en) | 2017-10-23 | 2017-10-23 | A kind of PCIE based on FPGA turns EMC bridges |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107590092A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117827725A (en) * | 2024-03-04 | 2024-04-05 | 山东华翼微电子技术股份有限公司 | EMC interface expansion module, system and method based on FPGA |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102468829A (en) * | 2010-11-03 | 2012-05-23 | 北京普源精电科技有限公司 | Signal generator and wavetable recombination method thereof |
CN103135477A (en) * | 2011-12-01 | 2013-06-05 | 袁爱民 | General purpose interface bus (GPIB) controller based on field programmable gate array (FPGA) |
CN203455841U (en) * | 2013-09-10 | 2014-02-26 | 浪潮集团有限公司 | PCIE converting PSRAM bridge based on FPGA |
CN104050133A (en) * | 2014-06-16 | 2014-09-17 | 哈尔滨工业大学 | Communication device and method for realizing communication between DSP and PC by means of PCIE on basis of FPGA |
CN104780019A (en) * | 2014-12-03 | 2015-07-15 | 中国航天科工集团第三研究院第八三五七研究所 | Method for storing optical fiber communication data |
CN105183680A (en) * | 2015-09-18 | 2015-12-23 | 烽火通信科技股份有限公司 | FPGA chip and method for transforming PCIe interface into CF card interface |
CN105335326A (en) * | 2015-10-10 | 2016-02-17 | 广州慧睿思通信息科技有限公司 | PCIE-SATA interface array device based on FPGA |
-
2017
- 2017-10-23 CN CN201710992668.2A patent/CN107590092A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102468829A (en) * | 2010-11-03 | 2012-05-23 | 北京普源精电科技有限公司 | Signal generator and wavetable recombination method thereof |
CN103135477A (en) * | 2011-12-01 | 2013-06-05 | 袁爱民 | General purpose interface bus (GPIB) controller based on field programmable gate array (FPGA) |
CN203455841U (en) * | 2013-09-10 | 2014-02-26 | 浪潮集团有限公司 | PCIE converting PSRAM bridge based on FPGA |
CN104050133A (en) * | 2014-06-16 | 2014-09-17 | 哈尔滨工业大学 | Communication device and method for realizing communication between DSP and PC by means of PCIE on basis of FPGA |
CN104780019A (en) * | 2014-12-03 | 2015-07-15 | 中国航天科工集团第三研究院第八三五七研究所 | Method for storing optical fiber communication data |
CN105183680A (en) * | 2015-09-18 | 2015-12-23 | 烽火通信科技股份有限公司 | FPGA chip and method for transforming PCIe interface into CF card interface |
CN105335326A (en) * | 2015-10-10 | 2016-02-17 | 广州慧睿思通信息科技有限公司 | PCIE-SATA interface array device based on FPGA |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117827725A (en) * | 2024-03-04 | 2024-04-05 | 山东华翼微电子技术股份有限公司 | EMC interface expansion module, system and method based on FPGA |
CN117827725B (en) * | 2024-03-04 | 2024-05-14 | 山东华翼微电子技术股份有限公司 | EMC interface expansion module, system and method based on FPGA |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11238003B2 (en) | Interface clock management | |
US8266369B2 (en) | Flash memory interface | |
US20080052448A1 (en) | Flash memory interface device | |
CN101344870B (en) | FIFO control module with strong reusability and method for managing internal memory | |
CN101162448A (en) | Hardware transmit method of USB high speed data tunnel | |
CN101436171B (en) | Modular communication control system | |
US9384161B2 (en) | Method for data throughput improvement in open core protocol based interconnection networks using dynamically selectable redundant shared link physical paths | |
CN104238957B (en) | SPI controller, SPI flash memory and its access method and access control method | |
CN104915303A (en) | High-speed digital I/O system based on PXIe bus | |
CN103117797A (en) | High-speed load data analog source | |
CN104021099B (en) | A kind of method and dma controller of control data transmission | |
CN102567272B (en) | Method for improving working frequency of SPI (Serial Peripheral Interface) circuit | |
CN206211976U (en) | A kind of digital DLL controls circuit of SECO | |
CN102789424B (en) | External extended DDR2 (Double Data Rate 2) read-write method on basis of FPGA (Field Programmable Gate Array) and external extended DDR2 particle storage on basis of FPGA | |
CN101114521B (en) | Power consumption controlling method and system of flash memory | |
CN107590092A (en) | A kind of PCIE based on FPGA turns EMC bridges | |
EP1478994B1 (en) | Transferring data between differently clocked busses | |
CN116009647A (en) | Chip for reducing power consumption on clock tree and clock control method | |
CN100375074C (en) | AMBA** peripheral interface circuit of embedded type CPu in 8 bits | |
CN106445879A (en) | SoC architecture with high cost performance | |
CN206282270U (en) | A kind of processor | |
Guojie et al. | Design and implementation of a large capacity storage module in high-speed acquisition system | |
Fu et al. | Realization of controlling eMMC 5.0 device based on FPGA for automatic test system | |
CN207067979U (en) | A kind of high speed SWD protocol conversion interface circuits | |
Qiu et al. | A High-performance Open-channel Open-way NAND Flash Controller Architecture |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180116 |