WO2010060237A1 - Network computer based on fpga - Google Patents

Network computer based on fpga Download PDF

Info

Publication number
WO2010060237A1
WO2010060237A1 PCT/CN2008/072912 CN2008072912W WO2010060237A1 WO 2010060237 A1 WO2010060237 A1 WO 2010060237A1 CN 2008072912 W CN2008072912 W CN 2008072912W WO 2010060237 A1 WO2010060237 A1 WO 2010060237A1
Authority
WO
WIPO (PCT)
Prior art keywords
fpga
interface
module
fpga chip
chip
Prior art date
Application number
PCT/CN2008/072912
Other languages
French (fr)
Chinese (zh)
Inventor
江殷
赵煦苏
Original Assignee
北京瑞智创通系统科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京瑞智创通系统科技有限公司 filed Critical 北京瑞智创通系统科技有限公司
Priority to PCT/CN2008/072912 priority Critical patent/WO2010060237A1/en
Publication of WO2010060237A1 publication Critical patent/WO2010060237A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/76Architectures of general purpose stored program computers
    • G06F15/78Architectures of general purpose stored program computers comprising a single central processing unit
    • G06F15/7867Architectures of general purpose stored program computers comprising a single central processing unit with reconfigurable architecture
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • the invention relates to the field of embedded electronic chips, in particular to a network computer based on a field programmable gate array (FPGA). Background technique
  • FIG. 1 is a schematic structural view of a computer system in the prior art.
  • One is the traditional x86-based technology for reducing PCs.
  • the other category is embedded system technology using dedicated chips.
  • the x86-based reduced PC technology is based on the technology of a PC, using a small local flash to replace the hard disk, reducing the local memory configuration, and using a CPU with a reduced instruction set, and using a reduced version of the operating system.
  • Dedicated commercial PC Network computers using this architecture technology, because the hardware modules necessary for the PC system have not been reduced, only a few reductions in the configuration of the functional modules, so the complexity is not reduced. There is no reduction in manufacturing cost compared to traditional PCs. In addition, because this type of network computer must use some fixed chipset, there is no significant improvement in power consumption.
  • Embedded system technology using a dedicated chip is another architecture technology that is widely used in network computer products. Some people call it a "thin client”.
  • Traditional embedded system technologies generally use fixed chips or chipsets, such as embedded systems based on ARM (Advanced reduced instruction set computer machines) and embedded systems using PowerPC architecture. This technology using a fixed chipset is compared to x86 technology. In terms of cost and technical complexity, there is a certain reduction in scalability, but in terms of scalability, for example, if you need to add some hardware or software functional modules to a fixed architecture, this architecture with dedicated chips can be powerless. And the embedded system using A or PowerPC still consumes a lot of power. Summary of the invention
  • an embodiment of the present invention provides an FPGA-based network computer, which is characterized in that the FPGA chip includes a switching bus and a bus controller, and further includes a USB processing module, a display drawing array module, and an Ethernet module. Two or more of a digital audio module or a memory controller for transmitting data of each functional module in the FPGA chip, the bus controller being connected to the switching bus for controlling the The exchange bus transfers data.
  • a further aspect of an FPGA-based network computer further includes a power PC chip connected to the FPGA chip, the power PC chip internally comprising a plurality of hardware chip sets, respectively
  • the function of the FPGA chip of the network computer is not realized, for example, if there is no Ethernet module in the FPGA chip, the Ethernet connection is realized by the Ethernet chipset of the power PC chip.
  • the FPGA chip further includes a processor core simulated by software, and is connected to the switching bus for the FPGA.
  • Other functional modules within the chip send control logic.
  • the FPGA chip further includes a Ps/2 module simulated by software for processing data of an external device using the Ps/2 interface.
  • the network computer further comprises the following interface corresponding to each software simulation module of the FPGA chip: a USB interface, the USB interface is connected to a corresponding pin of the FPGA chip, and is used for data communication with the FP GA, the USB processing module of the FPGA chip processes data of the USB interface; and displays a drawing array interface, The display drawing array interface is connected to a corresponding pin of the FPGA chip, and is configured to output data processed by the display drawing array module of the FPGA chip to a display device external to the network computer;
  • Ethernet interface is connected to a corresponding pin of the FPGA chip, and configured to transmit data processed by an Ethernet module of the FPGA chip;
  • the digital audio interface being connected to a corresponding pin of the FPGA chip, for transmitting data processed by the digital audio module of the FPGA chip;
  • a storage controller interface where the storage controller interface is connected to a corresponding pin of the FPGA chip, and is used for data transmission between the FPGA chip and the memory.
  • the FPGA chip further includes a joint test interface module, and is connected to the switch bus, and is configured to be used in the FPGA chip. Each device was tested.
  • the FPGA chip further includes an on-chip user logic module connected to the switch bus for starting the FPGA chip.
  • the FPGA chip further includes a timer, and is connected to the switching bus, and is used for other internals of the F PGA chip.
  • the function module provides clock data.
  • the beneficial effects of the method embodiment of the present invention are that an FPGA is used to implement a plurality of functional modules of a computer. Since a plurality of corresponding hardware modules are not used, only a software is programmed on the FPGA to implement various functions, so the present invention
  • the network computer is low in manufacturing cost; and therefore, the product can be energy-saving and environmentally friendly, because when the computer is upgraded, the hardware waste is not reduced by using multiple hardware modules, and no more environmental pollution is caused, and the FGPA implementation of the embodiment of the present invention is realized.
  • Functional model of various computers DRAWINGS
  • FIG. 1 is a schematic structural view of a computer system in the prior art
  • FIG. 2 is a schematic diagram of functional modules of a first embodiment of an FPGA-based network computer according to the present invention
  • FIG. 3 is a circuit diagram of a first embodiment of a network computer based on FPGA according to the present invention
  • FIG. 4 is a schematic diagram of a Ps/2 mouse interface according to an embodiment of the present invention.
  • FIG. 5 shows a schematic diagram of the VGA interface
  • FIG. 6 is a schematic diagram of functional modules of a second embodiment of an FPGA-based network computer according to the present invention
  • FIG. 7 is a circuit diagram of a second embodiment of an FPGA-based network computer according to the present invention.
  • FIG. 8 is a schematic diagram of a network interface according to an embodiment of the present invention. detailed description
  • Embodiments of the present invention provide a network computer based on an FPGA. The invention will now be described in detail in conjunction with the drawings.
  • FIG. 2 is a schematic diagram of functional modules of a first embodiment of an FPGA-based network computer according to the present invention, including an FPGA chip 100, a processor core 101 implemented by using an internal logic circuit of the FPGA chip, and an internal logic circuit of the FPGA chip.
  • the memory controller 102, the switching bus controller 103 implemented by the internal logic circuit of the FPGA chip, the switching bus 104 implemented by the internal logic circuit of the FPGA chip, and the asynchronous serial transceiver 105 implemented by the internal logic circuit of the FPGA chip are utilized.
  • the timer 106 implemented by the internal logic circuit of the FPGA chip, the display graphics array (VGA: Video Graphics Array) module 107 implemented by the internal logic circuit of the FPGA chip, and the USB processing module 108 implemented by the internal logic circuit of the FPGA chip,
  • the Ethernet module 109 (ETHPHY) implemented by the internal logic circuit of the FPGA chip, and the synchronous serial interface module implemented by the internal logic circuit of the FPGA chip
  • the Ps/2 processing module 114 implemented by the internal logic circuit of the FPGA chip.
  • the foregoing implementation of various functions by the internal logic circuit of the FPGA chip refers to, according to the method for processing data by the existing hardware function module, using the editing tool of the FPGA chip, so that the FPGA chip simulates the function of the hardware, for example, can be used.
  • the hardware description language constructs the internal logic circuit of the FPGA chip on the FPGA chip, so that the FPGA chip implements the video data processing function of the hardware VGA device.
  • the processor core 101 is used to implement the functions of the soft CPU, process externally input data, and control other functional modules on the FPGA.
  • the processor core 101 can be implemented using a soft core CPU of the prior art.
  • the storage controller 102 is configured to perform data transmission control on a Synchronous Dynamic Random Access Memory (SDRAM), a Read-Only Memory (ROM), and an external Flash.
  • SDRAM Synchronous Dynamic Random Access Memory
  • ROM Read-Only Memory
  • external Flash an external Flash
  • the bus controller 103 is used to control the transfer of data on the bus.
  • the bus controller can be used
  • the HDL language simulates the control functions of a typical computer's bus controller on an FPGA chip.
  • the FPGA internal switch bus 104 is used to provide bus channels to various functional blocks within the FPGA. All functional modules are connected to the FPGA internal switching bus 104 via an NPI interface.
  • the asynchronous serial transceiver 105 is configured to manage data USB when the FPGA is being debugged.
  • the timer 106 is used to provide clocks to other functional modules.
  • the VGA module 107 is configured to process video data and communicate with an external display via a VGA interface or The video capture device performs data communication.
  • the USB processing module 108 is configured to process data of a user USB device.
  • the Ethernet module 109 is configured to receive data transmitted by the network interface, and modulate and demodulate the transmission data to implement a function of the network card.
  • the network interface is, for example, an RJ45 interface.
  • the synchronous serial interface module 110 is configured to manage data USB when the FPGA is debugging.
  • the on-chip user logic 111 is used to boot the FPGA chip.
  • the digital audio module 112 is configured to process audio data and communicate data with an external speaker or audio capture device via an audio interface.
  • the JTAG interface module 113 is configured to connect to an external JTAG debugger, and use the JTAG debugger to test each device in the FPGA chip.
  • the device described here is different from the above functional module and refers to the physical device within the FPGA chip.
  • the Ps/2 processing module 114 is configured to control the input and output of the Ps/2 interface peripheral, such as the mouse and keyboard of the Ps/2 interface.
  • FIG. 3 is a circuit diagram of a first embodiment of an FPGA-based network computer according to the present invention.
  • the FPGA chip 200 shown in FIG. 2 includes various functional modules internally implemented by software, including a controller for the memory, an asynchronous serial transceiver, a VGA module, a USB processing module, an Ethernet module, and a synchronous serial interface.
  • Module, digital audio module, JTAG interface module and Ps/2 processing module also has USB and Ps/2 interface 201 outside the FPGA chip (including USB interface pin and Ps/2 interface pin), digital audio Interface 202, Ethernet interface 203, JTAG interface 204, NAND Flash interface 205, SDRAM interface 206, VGA interface 207, SPI interface 208, UART interface 209.
  • USB and Ps/2 interface 201 the digital audio interface 202, the Ethernet interface 203, the JTAG interface 204, the non-flash interface (NAND Flash) 205, the SDRAM interface 206, the VGA interface 207, the SPI interface 208, and the UART interface 209 are both Connected to corresponding pins on the FPGA chip 200.
  • the USB and Ps/2 interface 201 is connected to the tube of the USB module of the FPGA chip 200 through a corresponding pin (USB-1-n-pin, USB-1-p pin) and Ps/2 module. Foot (KB-d pin and The MS-CK pin is connected, and the USB and Ps/2 interface 201 is connected to a device such as an external mouse, a keyboard, or the like, or a Ps/2 or USB interface.
  • the KB_d pin represents a set of pin data (KB_d) and a clock (KB_CK) pin of the Ps/2 interface keyboard, and the MS-CK pin represents a Ps/2 interface mouse.
  • the digital audio interface 202 is connected to a pin drawn from a digital audio module of the FPGA chip 200 through a corresponding pin, and audio input and output is performed through the digital audio interface 202.
  • the Ethernet interface 203 is connected to a pin drawn from an Ethernet module of the FPGA chip 200 through a corresponding pin, and is connected to the network interface through the Ethernet interface 203 to perform network data communication, for example, the network interface.
  • the JTAG interface 204 is connected to the JTAG interface module of the FPGA chip 200 through a corresponding pin, and the JTAG debugger is accessed through the JTAG interface 204 to implement various devices in the FPGA chip, such as transistors, and non- Devices such as doors are tested.
  • the NAND Flash interface 205 and the corresponding pins of the SDRAM interface 206 are connected to the memory controller of the FPGA chip 200, and the data is transmitted through the NAND Flash interface 205 and the SDRAM interface 206 and external storage devices such as Flash and SDRAM.
  • the operating system and pre-installed software in the external Flash are obtained through the NAND Flash interface 205, and the SDRAM interface 206 enables the FPGA chip to utilize the external SDRAM memory to provide a memory space for running the software.
  • the VGA interface 207 is connected to the VGA module of the FPGA chip 200 through corresponding pins, and the video data is input and output through the VGA interface 207.
  • the SPI interface 208 is connected to the synchronous serial interface module of the FPGA chip 200 through a corresponding pin, and the synchronous serial interface module of the FPGA chip 200 is communicated with external synchronous serial data through the SPI interface 208. .
  • the UART interface 209 is connected to an asynchronous serial transceiver of the FPGA chip 200 through a corresponding pin, and the asynchronous serial transceiver of the FPGA chip 200 is communicated with external asynchronous serial data through the UART interface 209. .
  • Table 1 determines the interface pins of the functional modules of the FPGA chip. Main pin description
  • ETHPHY TXD sends data signals
  • Ethernet module RXD receives data signals
  • RXCLK transmit clock signal
  • TXCLK receive clock signal
  • RXDV accepts control signals
  • MDI-TP differential transmission signal is positive
  • FIG. 4 is a schematic diagram of a Ps/2 mouse interface according to an embodiment of the present invention, wherein the pin 1 of the Ps/2 interface and the MS-D pin of the FPGA chip Ps/2 module of the first embodiment Connection for transmitting data; pin 3 of the Ps/2 interface is connected to the ground; pin 4 of the Ps/2 interface is connected to the power supply VCC; pin 5 of the Ps/2 interface is connected to the MS-CK pin of the FPGA , used to transmit clock information.
  • Figure 5 shows a schematic diagram of the VGA interface.
  • the pins 1, 2, and 3 of the VGA interface are respectively connected to the VGA red, VGA green, and VGA blue pins of the FPGA chip, and are used to transmit red, green, and The blue color data;
  • the pins 13 and 14 of the VGA interface are respectively connected with the horizontal synchronization signal (VGA-HSVNC) and the vertical synchronization signal (VGA-VSVNC) pins of the FPGA chip VGA module, and are used for transmitting horizontal synchronization and vertical synchronization signals.
  • VGA-HSVNC horizontal synchronization signal
  • VGA-VSVNC vertical synchronization signal
  • a single FPGA chip is used to simulate various hardware functions, and the connection between the FPGA chip and the external interface enables the FPGA to implement the function of the network computer, and since all functions are implemented in the FPGA chip using software, the cost is on the hardware. Very low.
  • FIG. 6 is a schematic diagram of functional modules of a second embodiment of an FPGA-based network computer according to the present invention, including a Power PC (Performance Optimized With Enhanced RISC) chip 300, an FPGA chip 301, a NAND interface 302, and an SD card reader interface 303.
  • USB interface 304 Ethernet interface 305, UART interface 306, first JTAG interface 307, digital audio interface 308, Ps/2 interface 309, VGA interface 310, video memory (VID SD) interface 311, second JTAG interface 312, network interface 313.
  • VGA interface 310 video memory (VID SD) interface 311, second JTAG interface 312, network interface 313.
  • the NAND interface 302, the SD card reader interface 303, the USB interface 304, the UART interface 306, the first JTAG interface 307, and the Ethernet interface 305 are respectively connected to the power PC chip 300, the network interface 313 and the The Ethernet interface 305 is connected, and has a corresponding hardware chipset inside the power PC chip 300 to support data control and processing of each interface; the FPGA chip 301 is connected to the power PC chip 300, and accepts the power PC.
  • the control of the chip 300; the Ps/2 interface 309, the digital audio interface 308, the VGA interface 310, the memory (VID SD) interface 311, and the second JTAG interface 312 are respectively connected to the FPGA chip 301, where the FPGA chip
  • the 301 has corresponding software function modules internally to support data control and processing of the external interfaces.
  • the power PC chip 300 Since the power PC chip 300 has a chipset supporting each functional module internally, the processing speed is relatively fast, but the disadvantage is that the cost is relatively high, and since the internal chipset is composed of hardware, the functions that the power PC chip 300 can perform are affected.
  • the FPGA chip 301 By limiting the FPGA chip 301, the FPGA chip 301 can be implemented by various functions.
  • the power PC chip 300 in this example does not have VGA video processing capability, audio data processing capability, and Ps/2.
  • the serial data processing capability, but the above functions are realized by the software function module inside the FPGA chip 301.
  • the Power PC chip 300 realizes the above functions by controlling and calling the FPGA chip 301, so the power PC chip 300 and the FPGA in this embodiment
  • the network computer formed by the chip 301 can realize the basic functions of an ordinary computer at a relatively high speed and at a low cost.
  • FIG. 7 is a circuit diagram of a second embodiment of an FPGA-based network computer according to the present invention.
  • GMII - REFCLK receive clock signal
  • FIG. 8 is a schematic diagram of a network interface according to an embodiment of the present invention, wherein the differential transmission signals of the pins 1, 2, 3, and 6 of the network interface 313 and the Ethernet interface 305 are positive MDI-TP pins, and the differential transmission signals are negative.
  • MDI—TN pin, differential receive signal positive MDI—R pin, differential receive signal negative PMDI—RN pin is connected, and LED1 and LED2 are connected to LED1 and LED2 pins of Ethernet interface 305, respectively.
  • the utility model has the beneficial effects that the function module of the plurality of computers is realized by using one FPGA, and the network computer manufacturing cost of the invention is realized because the corresponding plurality of hardware modules are not used, and only the functions of the FPGA are implemented on the software. Low; and therefore also able to achieve energy saving and environmental protection,
  • the computer is upgraded, the hardware waste is not reduced, and the environmental waste is not caused, and the FGPA of the embodiment of the present invention implements a plurality of computer functional modules, and the power consumption is low, which is equivalent to ordinary PC 1/40 (power consumption 5 watts, maximum no more than 6 watts, ordinary PC power consumption 200 watts); indirect savings of air conditioning costs over 80%, compact size, weight less than 200 grams, saving floor space and transportation Cost; adopts fanless design, no noise operation; product meets the green standard of RoHS (Restriction of Hazardous Substances), does not produce any harmful waste; operation and maintenance management is simple: low power consumption, can avoid heat generation Too much, component aging is accelerated, so the

Abstract

In embedded computer field, a network computer based on field-programmable gate array (FPGA) is provided to overcome the disadvantages that prior computer has higher power consumption, wastes more hardwares and is not convenient to expand the function of the processor. Inside the FPGA chip, there are an interchange bus, a bus controller, and two or more modules of the USB process module, Video Graphics Array module, Ethernet module, digital audio module or memory controller. The interchange bus transmits the data of every function module of the FPGA chip. The bus controller connects the interchange bus to control the interchange bus to transmit data. This invention reduces the system complexity and power consumption of the embedded computer, and makes the network computer have good expanding capability.

Description

一种基于 FPGA的网络计算机  An FPGA-based network computer
技术领域 Technical field
本发明涉及嵌入式电子芯片领域, 具体的讲是一种基于现场可编程门阵列 (FPGA) 的网络计算机。 背景技术  The invention relates to the field of embedded electronic chips, in particular to a network computer based on a field programmable gate array (FPGA). Background technique
随着社会科技的发展, 计算机应用于越来越多的场景, 但是针对于不同工 作的需求, 也许只是用了现代高性能计算机的一部分计算能力, 从而造成了成 本和生产上的浪费, 如图 1所示为现有技术中计算机系统的结构示意图。  With the development of social science and technology, computers are used in more and more scenes, but for the needs of different jobs, perhaps only a part of the computing power of modern high-performance computers is used, resulting in cost and production waste, as shown in the figure. 1 is a schematic structural view of a computer system in the prior art.
现有技术中出现了功能简化的计算机系统, 即网络计算机, 针对于各种不 同的应用, 目前网络计算机的技术总体可以分为以下两类:  In the prior art, a computer system with simplified functions, that is, a network computer, has appeared, and for various different applications, the technologies of the current network computer can be generally classified into the following two categories:
一类是传统的以 x86为基础的精减 PC的技术。 另外一类是采用专用芯片的 嵌入式系统技术。  One is the traditional x86-based technology for reducing PCs. The other category is embedded system technology using dedicated chips.
采用以 x86为基础的精减 PC技术是在 PC机的技术基础上, 采用小型本地 闪存替代硬盘, 减少本地内存配置, 并采用精减指令集的 CPU, 并且采用精减版 操作系统的一种专用商业 PC机。 采用这种架构技术的网络计算机, 由于 PC系 统所必须的硬件模块并没有减少, 只是在功能模块的配置上进行了一些精减, 因此, 其复杂程度并没有降低。 在制造成本上不会比传统的 PC机降低多少。 另 外, 因为这种架构的网络计算机必须采用某些固定的芯片组, 因此, 在功率消 耗上, 也不会有很大程度的改进。  The x86-based reduced PC technology is based on the technology of a PC, using a small local flash to replace the hard disk, reducing the local memory configuration, and using a CPU with a reduced instruction set, and using a reduced version of the operating system. Dedicated commercial PC. Network computers using this architecture technology, because the hardware modules necessary for the PC system have not been reduced, only a few reductions in the configuration of the functional modules, so the complexity is not reduced. There is no reduction in manufacturing cost compared to traditional PCs. In addition, because this type of network computer must use some fixed chipset, there is no significant improvement in power consumption.
采用专用芯片的嵌入式系统技术是目前在网络计算机产品中被广泛采用的 另一种架构技术, 也有人称这种网络计算机为 "瘦客户机" 。 传统的嵌入式系 统技术一般都采用固定的芯片或芯片组, 如基于微处理器 ( ARM : Advanced reduced instruction set computer Machines ) 的嵌入式系统以及采用 PowerPC 架构的嵌入式系统等等。 这种采用固定芯片组的技术虽然相比较于 x86技术而 言, 在成本和技术复杂程度上有了一定的降低, 但是在扩展性上, 比如说如果 需要在一个固定的架构上添加一些硬件或是软件的功能模块, 采用专用芯片的 这种架构就无能为力了, 并且采用了 A體或者 PowerPC的嵌入式系统依然功耗 较高。 发明内容 Embedded system technology using a dedicated chip is another architecture technology that is widely used in network computer products. Some people call it a "thin client". Traditional embedded system technologies generally use fixed chips or chipsets, such as embedded systems based on ARM (Advanced reduced instruction set computer machines) and embedded systems using PowerPC architecture. This technology using a fixed chipset is compared to x86 technology. In terms of cost and technical complexity, there is a certain reduction in scalability, but in terms of scalability, for example, if you need to add some hardware or software functional modules to a fixed architecture, this architecture with dedicated chips can be powerless. And the embedded system using A or PowerPC still consumes a lot of power. Summary of the invention
本发明的目的在于提供一种基于 FPGA的网络计算机,为了解决现有技术中 普通计算机系统功耗过高, 硬件容易造成浪费, 并且成本过高的不足。  It is an object of the present invention to provide a network computer based on an FPGA, in order to solve the problem that the power consumption of the ordinary computer system in the prior art is too high, the hardware is easy to waste, and the cost is too high.
为了解决上述现有问题,本发明实施例提供了一种基于 FPGA的网络计算机, 其特征在于该 FPGA芯片内部包括交换总线及总线控制器,还包括 USB处理模块、 显示绘图阵列模块、 以太网模块、 数字音频模块或存储控制器中的两种或者多 种, 该交换总线用于传送所述 FPGA芯片中各个功能模块的数据, 所述总线控制 器与所述交换总线相连接, 用于控制所述交换总线传送数据。  In order to solve the above existing problems, an embodiment of the present invention provides an FPGA-based network computer, which is characterized in that the FPGA chip includes a switching bus and a bus controller, and further includes a USB processing module, a display drawing array module, and an Ethernet module. Two or more of a digital audio module or a memory controller for transmitting data of each functional module in the FPGA chip, the bus controller being connected to the switching bus for controlling the The exchange bus transfers data.
根据本发明实施例所述的一种基于 FPGA 的网络计算机的一个进一步的方 面, 还包括 power PC芯片, 与所述 FPGA芯片相连接, 该 power PC芯片内部包 括多个硬件芯片组,分别用于实现所述网络计算机的 FPGA芯片没有实现的功能, 例如在 FPGA芯片中没有具有以太网模块, 则通过所述 power PC芯片的以太网 芯片组实现以太网的连接。  A further aspect of an FPGA-based network computer according to an embodiment of the invention further includes a power PC chip connected to the FPGA chip, the power PC chip internally comprising a plurality of hardware chip sets, respectively The function of the FPGA chip of the network computer is not realized, for example, if there is no Ethernet module in the FPGA chip, the Ethernet connection is realized by the Ethernet chipset of the power PC chip.
根据本发明实施例所述的一种基于 FPGA 的网络计算机的一个进一步的方 面, 所述 FPGA芯片内部还包括用软件模拟的处理器内核, 与所述交换总线相连 接, 用于向所述 FPGA芯片内的其他功能模块发送控制逻辑。  According to a further aspect of the FPGA-based network computer according to the embodiment of the present invention, the FPGA chip further includes a processor core simulated by software, and is connected to the switching bus for the FPGA. Other functional modules within the chip send control logic.
根据本发明实施例所述的一种基于 FPGA 的网络计算机的一个进一步的方 面, 所述 FPGA芯片内部还包括用软件模拟的 Ps/2模块, 用于处理采用 Ps/2接 口的外部设备的数据。  According to a further aspect of an FPGA-based network computer according to an embodiment of the invention, the FPGA chip further includes a Ps/2 module simulated by software for processing data of an external device using the Ps/2 interface. .
根据本发明实施例所述的一种基于 FPGA 的网络计算机的一个进一步的方 面, 该网络计算机还包括以下接口与所述 FPGA芯片的各个软件模拟的模块相对 应: USB接口, 该 USB接口与所述 FPGA芯片的相应管脚相连接, 用于与所述 FP GA进行数据通信, 所述 FPGA芯片的 USB处理模块处理所述 USB接口的数据; 显示绘图阵列接口, 该显示绘图阵列接口与所述 FPGA芯片的相应管脚相连 接, 用于将所述 FPGA芯片的显示绘图阵列模块处理的数据输出到所述网络计算 机外部的显示装置; According to a further aspect of an FPGA-based network computer according to an embodiment of the invention, the network computer further comprises the following interface corresponding to each software simulation module of the FPGA chip: a USB interface, the USB interface is connected to a corresponding pin of the FPGA chip, and is used for data communication with the FP GA, the USB processing module of the FPGA chip processes data of the USB interface; and displays a drawing array interface, The display drawing array interface is connected to a corresponding pin of the FPGA chip, and is configured to output data processed by the display drawing array module of the FPGA chip to a display device external to the network computer;
以太网接口, 该以太网接口与所述 FPGA芯片的相应管脚相连接, 用于传送 所述 FPGA芯片的以太网模块处理的数据;  An Ethernet interface, the Ethernet interface is connected to a corresponding pin of the FPGA chip, and configured to transmit data processed by an Ethernet module of the FPGA chip;
数字音频接口, 该数字音频接口与所述 FPGA芯片的相应管脚相连接, 用于 传送所述 FPGA芯片的数字音频模块处理的数据;  a digital audio interface, the digital audio interface being connected to a corresponding pin of the FPGA chip, for transmitting data processed by the digital audio module of the FPGA chip;
存储控制器接口, 该存储控制器接口与所述 FPGA芯片的相应管脚相连接, 用于所述 FPGA芯片与存储器进行数据传输。  And a storage controller interface, where the storage controller interface is connected to a corresponding pin of the FPGA chip, and is used for data transmission between the FPGA chip and the memory.
根据本发明实施例所述的一种基于 FPGA 的网络计算机的一个进一步的方 面, 所述 FPGA芯片内部还包括联合测试接口模块, 与所述交换总线相连接, 用 于对所述 FPGA芯片内的各器件进行测试。  According to a further aspect of the FPGA-based network computer according to the embodiment of the present invention, the FPGA chip further includes a joint test interface module, and is connected to the switch bus, and is configured to be used in the FPGA chip. Each device was tested.
根据本发明实施例所述的一种基于 FPGA 的网络计算机的一个进一步的方 面, 所述 FPGA芯片内部还包括片内用户逻辑模块, 与所述交换总线相连接, 用 于启动所述 FPGA芯片。  According to a further aspect of an FPGA-based network computer according to an embodiment of the invention, the FPGA chip further includes an on-chip user logic module connected to the switch bus for starting the FPGA chip.
根据本发明实施例所述的一种基于 FPGA 的网络计算机的一个进一步的方 面, 所述 FPGA芯片内部还包括定时器, 与所述交换总线相连接, 用于向所述 F PGA芯片内部的其他功能模块提供时钟数据。  According to a further aspect of the FPGA-based network computer according to the embodiment of the present invention, the FPGA chip further includes a timer, and is connected to the switching bus, and is used for other internals of the F PGA chip. The function module provides clock data.
本发明方法实施例的有益效果在于, 采用一个 FPGA实现多种计算机的功能 模块, 由于没有采用相应的多个硬件模块, 只是对 FPGA进行软件上的编成实现 了多种功能, 所以本发明的网络计算机制造成本低; 并且因此也能够实现产品 节能环保, 由于当计算机升级时, 没有采用多个硬件模块而使得硬件浪费减少, 不会造成更多的环境污染, 并且本发明实施例的 FGPA实现多种计算机的功能模 附图说明 The beneficial effects of the method embodiment of the present invention are that an FPGA is used to implement a plurality of functional modules of a computer. Since a plurality of corresponding hardware modules are not used, only a software is programmed on the FPGA to implement various functions, so the present invention The network computer is low in manufacturing cost; and therefore, the product can be energy-saving and environmentally friendly, because when the computer is upgraded, the hardware waste is not reduced by using multiple hardware modules, and no more environmental pollution is caused, and the FGPA implementation of the embodiment of the present invention is realized. Functional model of various computers DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部分, 并不构成对本发明的限定。 在附图中:  The drawings described herein are provided to provide a further understanding of the invention, and are not intended to limit the invention. In the drawing:
图 1所示为现有技术中计算机系统的结构示意图;  1 is a schematic structural view of a computer system in the prior art;
图 2所示为本发明基于 FPGA的网络计算机第一实施例的功能模块示意图; 图 3所示为本发明基于 FPGA的网络计算机第一实施例的电路图;  2 is a schematic diagram of functional modules of a first embodiment of an FPGA-based network computer according to the present invention; FIG. 3 is a circuit diagram of a first embodiment of a network computer based on FPGA according to the present invention;
图 4所示为本发明实施例 Ps/2鼠标接口的示意图;  4 is a schematic diagram of a Ps/2 mouse interface according to an embodiment of the present invention;
图 5所示为 VGA接口的示意图;  Figure 5 shows a schematic diagram of the VGA interface;
图 6所示为本发明基于 FPGA的网络计算机第二实施例的功能模块示意图; 图 7所示为本发明基于 FPGA的网络计算机第二实施例的电路图;  6 is a schematic diagram of functional modules of a second embodiment of an FPGA-based network computer according to the present invention; FIG. 7 is a circuit diagram of a second embodiment of an FPGA-based network computer according to the present invention;
图 8所示为本发明实施例网络接口的示意图。 具体实施方式  FIG. 8 is a schematic diagram of a network interface according to an embodiment of the present invention. detailed description
为使本发明的目的、 技术方案和优点更加清楚, 下面结合附图对本发明的 具体实施例进行详细说明。 在此, 本发明的示意性实施例及其说明用于解释本 发明, 但并不作为对本发明的限定。  In order to make the objects, technical solutions and advantages of the present invention more comprehensible, the specific embodiments of the present invention will be described in detail below. The illustrative embodiments of the present invention and the description thereof are intended to be illustrative of the invention, but are not intended to limit the invention.
本发明实施例提供一种基于 FPGA的网络计算机。 以下结合附图对本发明进 行详细说明。  Embodiments of the present invention provide a network computer based on an FPGA. The invention will now be described in detail in conjunction with the drawings.
如图 2所示为本发明基于 FPGA 的网络计算机第一实施例的功能模块示意 图,包括 FPGA芯片 100,利用该 FPGA芯片内部逻辑电路实现的处理器内核 101, 利用该 FPGA芯片内部逻辑电路实现的存储控制器 102,利用该 FPGA芯片内部逻 辑电路实现的交换总线控制器 103, 利用该 FPGA芯片内部逻辑电路实现的交换 总线 104, 利用该 FPGA芯片内部逻辑电路实现的异步串行收发器 105, 利用该 FPGA芯片内部逻辑电路实现的定时器 106, 利用该 FPGA芯片内部逻辑电路实现 的显示绘图阵列(VGA: Video Graphics Array)模块 107, 利用该 FPGA芯片内部 逻辑电路实现的 USB处理模块 108, 利用该 FPGA芯片内部逻辑电路实现的以太 网模块 109 (ETHPHY) , 利用该 FPGA芯片内部逻辑电路实现的同步串行接口模 块 (SPI ) 110, 利用该 FPGA芯片内部逻辑电路实现的片内用户逻辑 111, 利用 该 FPGA芯片内部逻辑电路实现的数字音频模块 112,联合测试 (JTAG: Joint Test Action Group)接口模块 113。 利用该 FPGA芯片内部逻辑电路实现的 Ps/2处理 模块 114。 2 is a schematic diagram of functional modules of a first embodiment of an FPGA-based network computer according to the present invention, including an FPGA chip 100, a processor core 101 implemented by using an internal logic circuit of the FPGA chip, and an internal logic circuit of the FPGA chip. The memory controller 102, the switching bus controller 103 implemented by the internal logic circuit of the FPGA chip, the switching bus 104 implemented by the internal logic circuit of the FPGA chip, and the asynchronous serial transceiver 105 implemented by the internal logic circuit of the FPGA chip are utilized. The timer 106 implemented by the internal logic circuit of the FPGA chip, the display graphics array (VGA: Video Graphics Array) module 107 implemented by the internal logic circuit of the FPGA chip, and the USB processing module 108 implemented by the internal logic circuit of the FPGA chip, The Ethernet module 109 (ETHPHY) implemented by the internal logic circuit of the FPGA chip, and the synchronous serial interface module implemented by the internal logic circuit of the FPGA chip The block (SPI) 110, the on-chip user logic 111 implemented by the internal logic circuit of the FPGA chip, and the digital audio module 112 implemented by the internal logic circuit of the FPGA chip, the joint test (JTAG: Joint Test Action Group) interface module 113. The Ps/2 processing module 114 implemented by the internal logic circuit of the FPGA chip.
上述通过 FPGA芯片内部逻辑电路实现各种功能是指, 根据现有的硬件功能 模块对数据的处理的方法, 使用所述 FPGA芯片的编辑工具, 让 FPGA芯片模拟 所述硬件的功能,例如可以使用硬件描述语言(HDL)对所述 FPGA芯片进行 FPGA 芯片内部逻辑电路的搭建, 使该 FPGA芯片实现硬件 VGA设备的视频数据处理功 能。  The foregoing implementation of various functions by the internal logic circuit of the FPGA chip refers to, according to the method for processing data by the existing hardware function module, using the editing tool of the FPGA chip, so that the FPGA chip simulates the function of the hardware, for example, can be used. The hardware description language (HDL) constructs the internal logic circuit of the FPGA chip on the FPGA chip, so that the FPGA chip implements the video data processing function of the hardware VGA device.
所述处理器内核 101、 存储控制器 102、 总线控制器 103、 异步串行收发器 The processor core 101, the memory controller 102, the bus controller 103, the asynchronous serial transceiver
105、 定时器 106、 VGA模块 107、 USB处理模块 108、 以太网模块 109、 同步串 行接口模块 110、 片内用户逻辑 111、 数字音频模块 112、 JTAG接口模块 113和 Ps/2处理模块 114分别与所述 FPGA内部交换总线 104相连接。 105. The timer 106, the VGA module 107, the USB processing module 108, the Ethernet module 109, the synchronous serial interface module 110, the on-chip user logic 111, the digital audio module 112, the JTAG interface module 113, and the Ps/2 processing module 114 respectively Connected to the FPGA internal switch bus 104.
所述处理器内核 101用于实现软 CPU的功能, 处理外部输入的数据并控制 所述 FPGA上的其它功能模块。该处理器内核 101可以使用现有技术中的软核 CPU 实现。  The processor core 101 is used to implement the functions of the soft CPU, process externally input data, and control other functional modules on the FPGA. The processor core 101 can be implemented using a soft core CPU of the prior art.
所述存储控制器 102 用于对外部同步动态随机存取存储器 ( SDRAM: Synchronous Dynamic Random Access Memory) , 夕卜部只读内存 (ROM: Read-Only Memory) , 外部 Flash进行数据传输控制。  The storage controller 102 is configured to perform data transmission control on a Synchronous Dynamic Random Access Memory (SDRAM), a Read-Only Memory (ROM), and an external Flash.
所述总线控制器 103用于控制总线上数据的传输。 该总线控制器可以使用 The bus controller 103 is used to control the transfer of data on the bus. The bus controller can be used
HDL语言在 FPGA芯片上模拟通常计算机的总线控制器的控制功能。 The HDL language simulates the control functions of a typical computer's bus controller on an FPGA chip.
所述 FPGA内部交换总线 104用于向所述 FPGA内部各个功能模块提供总线 通道。 所有功能模块通过 NPI接口方式与所述 FPGA内部交换总线 104相连接。  The FPGA internal switch bus 104 is used to provide bus channels to various functional blocks within the FPGA. All functional modules are connected to the FPGA internal switching bus 104 via an NPI interface.
所述异步串行收发器 105用于管理所述 FPGA进行调试时的数据 USB。  The asynchronous serial transceiver 105 is configured to manage data USB when the FPGA is being debugged.
所述定时器 106用于向其它功能模块提供时钟。  The timer 106 is used to provide clocks to other functional modules.
所述 VGA模块 107用于处理视频数据, 并通过 VGA接口与外部的显示器或 者视频采集装置进行数据通信。 The VGA module 107 is configured to process video data and communicate with an external display via a VGA interface or The video capture device performs data communication.
所述 USB处理模块 108用于处理用户 USB设备的数据。  The USB processing module 108 is configured to process data of a user USB device.
所述以太网模块 109用于接收与发送网络接口传输的数据, 对所述传输数 据进行调制与解调, 实现网卡的功能, 所述网络接口例如为 RJ45接口。  The Ethernet module 109 is configured to receive data transmitted by the network interface, and modulate and demodulate the transmission data to implement a function of the network card. The network interface is, for example, an RJ45 interface.
所述同步串行接口模块 110用于管理所述 FPGA进行调试时的数据 USB。 所述片内用户逻辑 111用于引导所述 FPGA芯片启动。  The synchronous serial interface module 110 is configured to manage data USB when the FPGA is debugging. The on-chip user logic 111 is used to boot the FPGA chip.
所述数字音频模块 112用于处理音频数据, 并通过音频接口与外部的扬声 器或者音频采集装置进行数据通信。  The digital audio module 112 is configured to process audio data and communicate data with an external speaker or audio capture device via an audio interface.
所述 JTAG接口模块 113用于连接外部的 JTAG调试器, 利用该 JTAG调试器 对所述 FPGA芯片内各个器件的测试。 这里所述的器件不同于上述功能模块, 指 FPGA芯片内的物理器件。  The JTAG interface module 113 is configured to connect to an external JTAG debugger, and use the JTAG debugger to test each device in the FPGA chip. The device described here is different from the above functional module and refers to the physical device within the FPGA chip.
所述 Ps/2处理模块 114,用于控制 Ps/2接口外设的输入与输出,例如 Ps/2 接口的鼠标与键盘。  The Ps/2 processing module 114 is configured to control the input and output of the Ps/2 interface peripheral, such as the mouse and keyboard of the Ps/2 interface.
如图 3所示为本发明基于 FPGA的网络计算机第一实施例的电路图。  FIG. 3 is a circuit diagram of a first embodiment of an FPGA-based network computer according to the present invention.
包括如图 2所示的 FPGA芯片 200, 其内部使用软件实现了多种功能模块, 包括对于存储器的控制器, 异步串行收发器, VGA模块, USB处理模块, 以太网 模块, 同步串行接口模块, 数字音频模块, JTAG接口模块和 Ps/2处理模块; 在 该 FPGA芯片外部还具有 USB和 Ps/2接口 201(其中包括了 USB接口管脚和 Ps/2 接口的管脚) , 数字音频接口 202, 以太网接口 203, JTAG接口 204, 与非闪存 接口 (NAND Flash) 205, SDRAM接口 206, VGA接口 207, SPI接口 208, UART 接口 209。  The FPGA chip 200 shown in FIG. 2 includes various functional modules internally implemented by software, including a controller for the memory, an asynchronous serial transceiver, a VGA module, a USB processing module, an Ethernet module, and a synchronous serial interface. Module, digital audio module, JTAG interface module and Ps/2 processing module; also has USB and Ps/2 interface 201 outside the FPGA chip (including USB interface pin and Ps/2 interface pin), digital audio Interface 202, Ethernet interface 203, JTAG interface 204, NAND Flash interface 205, SDRAM interface 206, VGA interface 207, SPI interface 208, UART interface 209.
所述 USB和 Ps/2接口 201, 数字音频接口 202, 以太网接口 203, JTAG接 口 204, 与非闪存接口 (NAND Flash) 205, SDRAM接口 206, VGA接口 207, SPI 接口 208, UART接口 209均与所述 FPGA芯片 200上的相应管脚相连接。  The USB and Ps/2 interface 201, the digital audio interface 202, the Ethernet interface 203, the JTAG interface 204, the non-flash interface (NAND Flash) 205, the SDRAM interface 206, the VGA interface 207, the SPI interface 208, and the UART interface 209 are both Connected to corresponding pins on the FPGA chip 200.
所述 USB和 Ps/2接口 201通过相应管脚与所述 FPGA芯片 200的 USB模块 的管脚 (USB— 1— n管脚、 USB— 1— p管脚) 和 Ps/2模块引出的管脚 (KB— d管脚和 MS— CK管脚)相连接, 通过该 USB和 Ps/2接口 201接入外部鼠标、 键盘等 Ps/2 或者 USB接口的设备。 其中, 所述 KB— d管脚代表 Ps/2接口键盘的一组管脚数 据 (KB— d) 和时钟 (KB— CK) 管脚, 所述 MS— CK管脚代表 Ps/2接口鼠标的一组 管脚数据 (MS_d) 和时钟 (MS_CK) 管脚。 The USB and Ps/2 interface 201 is connected to the tube of the USB module of the FPGA chip 200 through a corresponding pin (USB-1-n-pin, USB-1-p pin) and Ps/2 module. Foot (KB-d pin and The MS-CK pin is connected, and the USB and Ps/2 interface 201 is connected to a device such as an external mouse, a keyboard, or the like, or a Ps/2 or USB interface. The KB_d pin represents a set of pin data (KB_d) and a clock (KB_CK) pin of the Ps/2 interface keyboard, and the MS-CK pin represents a Ps/2 interface mouse. A set of pin data (MS_d) and clock (MS_CK) pins.
所述数字音频接口 202通过相应管脚与所述 FPGA芯片 200的数字音频模块 引出的管脚相连接, 通过该数字音频接口 202进行音频的输入与输出。  The digital audio interface 202 is connected to a pin drawn from a digital audio module of the FPGA chip 200 through a corresponding pin, and audio input and output is performed through the digital audio interface 202.
所述以太网接口 203通过相应管脚与所述 FPGA芯片 200的以太网模块引出 的管脚相连接, 通过该以太网接口 203与网络接口相连接, 进行网络数据的通 信, 所述网络接口例如可以为 RJ45接口。  The Ethernet interface 203 is connected to a pin drawn from an Ethernet module of the FPGA chip 200 through a corresponding pin, and is connected to the network interface through the Ethernet interface 203 to perform network data communication, for example, the network interface. Can be RJ45 interface.
所述 JTAG接口 204通过相应管脚与所述 FPGA芯片 200的 JTAG接口模块相 连接, 通过该 JTAG接口 204接入 JTAG调试器, 以实现对所述 FPGA芯片中的各 个器件, 例如晶体管、 与非门等器件进行测试。  The JTAG interface 204 is connected to the JTAG interface module of the FPGA chip 200 through a corresponding pin, and the JTAG debugger is accessed through the JTAG interface 204 to implement various devices in the FPGA chip, such as transistors, and non- Devices such as doors are tested.
所述 NAND Flash接口 205与 SDRAM接口 206的相应管脚与所述 FPGA芯片 200的存储控制器相连接, 通过该 NAND Flash接口 205与 SDRAM接口 206与外 部的例如 Flash、 SDRAM等存储装置传输数据。 通过所述 NAND Flash接口 205 获取外部 Flash中的操作系统和预装软件, 通过 SDRAM接口 206使得该 FPGA芯 片能够利用外部的 SDRAM存储器, 提供运行软件的内存空间。  The NAND Flash interface 205 and the corresponding pins of the SDRAM interface 206 are connected to the memory controller of the FPGA chip 200, and the data is transmitted through the NAND Flash interface 205 and the SDRAM interface 206 and external storage devices such as Flash and SDRAM. The operating system and pre-installed software in the external Flash are obtained through the NAND Flash interface 205, and the SDRAM interface 206 enables the FPGA chip to utilize the external SDRAM memory to provide a memory space for running the software.
所述 VGA接口 207通过相应管脚与所述 FPGA芯片 200的 VGA模块相连接, 通过 VGA接口 207进行视频数据的输入与输出。  The VGA interface 207 is connected to the VGA module of the FPGA chip 200 through corresponding pins, and the video data is input and output through the VGA interface 207.
所述 SPI接口 208通过相应管脚与所述 FPGA芯片 200的同步串行接口模块 相连接, 通过该 SPI接口 208使得所述 FPGA芯片 200的同步串行接口模块与外 部的同步串行数据进行通信。  The SPI interface 208 is connected to the synchronous serial interface module of the FPGA chip 200 through a corresponding pin, and the synchronous serial interface module of the FPGA chip 200 is communicated with external synchronous serial data through the SPI interface 208. .
所述 UART接口 209通过相应管脚与所述 FPGA芯片 200的异步串行收发器 相连接, 通过该 UART接口 209使得所述 FPGA芯片 200的异步串行收发器与外 部的异步串行数据进行通信。  The UART interface 209 is connected to an asynchronous serial transceiver of the FPGA chip 200 through a corresponding pin, and the asynchronous serial transceiver of the FPGA chip 200 is communicated with external asynchronous serial data through the UART interface 209. .
作为优选的实施例, 表 1对所述 FPGA芯片部分功能模块的接口管脚进行定 主要管脚 描述 As a preferred embodiment, Table 1 determines the interface pins of the functional modules of the FPGA chip. Main pin description
USB USB— l—N 通用串行总线 P  USB USB — l—N Universal Serial Bus P
USB— 1— P 通用串行总线 N  USB-1 - P Universal Serial Bus N
Ps/2 KB D Ps键盘接口  Ps/2 KB D Ps keyboard interface
MS— CK Ps鼠标接口 MS-CK Ps mouse interface
ETHPHY TXD 发送数据信号 ETHPHY TXD sends data signals
以太网模块 RXD 接收数据信号 Ethernet module RXD receives data signals
RXCLK 发送时钟信号  RXCLK transmit clock signal
TXCLK 接收时钟信号  TXCLK receive clock signal
COL 冲突检测信号  COL collision detection signal
MDIO 数字 USB和 Ps/2的管理信号 MDIO digital USB and Ps/2 management signals
RXDV 接受控制信号 RXDV accepts control signals
RXER 接受错误信号  RXER accepts error signals
CLK25 时钟信号  CLK25 clock signal
RSTN 控制信号  RSTN control signal
LED1/LED2 LED指示信号  LED1/LED2 LED indication signal
MDC 连续处理时钟信号  MDC continuously processes clock signals
TXEN 发送使能信号  TXEN transmit enable signal
CRS 载波检测信号  CRS carrier detect signal
MDI— RP 差分接收信号正  MDI - RP differential receive signal positive
MDI_RN 差分接收信号负  MDI_RN differential receive signal negative
MDI— TP 差分发送信号正  MDI-TP differential transmission signal is positive
MDI— TN 差分发送信号负 CLK 25 以太网时钟信号 MDI-TN differential transmit signal negative CLK 25 Ethernet clock signal
VGA模块 VGA b VGA蓝色信号输入  VGA module VGA b VGA blue signal input
VGA r VGA红色信号输入  VGA r VGA red signal input
VGA g VGA绿色信号输入  VGA g VGA green signal input
HSYNC 水平同步信号  HSYNC horizontal sync signal
VSYNC 垂直同步信号  VSYNC vertical sync signal
SDA 串行数据线  SDA serial data line
SCL 串行时钟线 如图 4所示为本发明实施例 Ps/2鼠标接口的示意图, 其中 Ps/2接口的管 脚 1与第一实施例的 FPGA芯片 Ps/2模块的 MS— D管脚连接,用于传送数据; Ps/2 接口的管脚 3与地线连接; Ps/2接口的管脚 4与电源 VCC连接; Ps/2接口的管 脚 5与 FPGA的 MS— CK管脚连接, 用于传送时钟信息。  SCL serial clock line is shown in FIG. 4 is a schematic diagram of a Ps/2 mouse interface according to an embodiment of the present invention, wherein the pin 1 of the Ps/2 interface and the MS-D pin of the FPGA chip Ps/2 module of the first embodiment Connection for transmitting data; pin 3 of the Ps/2 interface is connected to the ground; pin 4 of the Ps/2 interface is connected to the power supply VCC; pin 5 of the Ps/2 interface is connected to the MS-CK pin of the FPGA , used to transmit clock information.
如图 5所示为 VGA接口的示意图,其中 VGA接口的管脚 1、 2、 3分别与 FPGA 芯片的 VGA red, VGA green, VGA blue管脚相连接, 用于传送显示所用的红、 绿、蓝色彩数据; VGA接口的管脚 13、 14分别与 FPGA芯片 VGA模块的水平同步信号 (VGA— HSVNC) 、 垂直同步信号 (VGA— VSVNC) 管脚连接, 用于传送水平同步和垂 直同步信号。  Figure 5 shows a schematic diagram of the VGA interface. The pins 1, 2, and 3 of the VGA interface are respectively connected to the VGA red, VGA green, and VGA blue pins of the FPGA chip, and are used to transmit red, green, and The blue color data; the pins 13 and 14 of the VGA interface are respectively connected with the horizontal synchronization signal (VGA-HSVNC) and the vertical synchronization signal (VGA-VSVNC) pins of the FPGA chip VGA module, and are used for transmitting horizontal synchronization and vertical synchronization signals.
通过以上实施例, 使用一片 FPGA芯片模拟多种硬件功能, 通过该 FPGA芯 片与外部接口的连接, 使得该 FPGA实现网络计算机的功能, 并且由于所有功能 使用软件在 FPGA芯片内部实现所以在硬件上成本很低。  Through the above embodiment, a single FPGA chip is used to simulate various hardware functions, and the connection between the FPGA chip and the external interface enables the FPGA to implement the function of the network computer, and since all functions are implemented in the FPGA chip using software, the cost is on the hardware. Very low.
如图 6所示为本发明基于 FPGA 的网络计算机第二实施例的功能模块示意 图, 包括 power PC (Performance Optimized With Enhanced RISC) 芯片 300, FPGA芯片 301, NAND接口 302, SD读卡器接口 303, USB接口 304, 以太网接口 305, UART接口 306, 第一 JTAG接口 307, 数字音频接口 308, Ps/2接口 309, VGA接口 310, 显存 (VID SD) 接口 311, 第二 JTAG接口 312, 网络接口 313。 所述 NAND接口 302, SD读卡器接口 303, USB接口 304, UART接口 306, 第一 JTAG接口 307, 以太网接口 305分别与所述 power PC芯片 300相连接, 所 述网络接口 313与所述以太网接口 305相连接, 在所述 power PC芯片 300内部 具有相应的硬件芯片组支持各接口的数据控制与处理; 所述 FPGA芯片 301与所 述 power PC芯片 300相连接, 接受所述 power PC芯片 300的控制; 所述 Ps/2 接口 309, 数字音频接口 308, VGA接口 310, 显存 (VID SD) 接口 311, 第二 JTAG接口 312分别与所述 FPGA芯片 301相连接, 在所述 FPGA芯片 301内部具 有相应的软件功能模块支持所述各外部接口的数据控制与处理。 FIG. 6 is a schematic diagram of functional modules of a second embodiment of an FPGA-based network computer according to the present invention, including a Power PC (Performance Optimized With Enhanced RISC) chip 300, an FPGA chip 301, a NAND interface 302, and an SD card reader interface 303. USB interface 304, Ethernet interface 305, UART interface 306, first JTAG interface 307, digital audio interface 308, Ps/2 interface 309, VGA interface 310, video memory (VID SD) interface 311, second JTAG interface 312, network interface 313. The NAND interface 302, the SD card reader interface 303, the USB interface 304, the UART interface 306, the first JTAG interface 307, and the Ethernet interface 305 are respectively connected to the power PC chip 300, the network interface 313 and the The Ethernet interface 305 is connected, and has a corresponding hardware chipset inside the power PC chip 300 to support data control and processing of each interface; the FPGA chip 301 is connected to the power PC chip 300, and accepts the power PC. The control of the chip 300; the Ps/2 interface 309, the digital audio interface 308, the VGA interface 310, the memory (VID SD) interface 311, and the second JTAG interface 312 are respectively connected to the FPGA chip 301, where the FPGA chip The 301 has corresponding software function modules internally to support data control and processing of the external interfaces.
由于 power PC芯片 300内部具有支持各功能模块的芯片组, 所以处理速度 比较快, 但是缺点是成本比较高, 而且由于内部的芯片组是由硬件构成, 所以 power PC芯片 300所能够完成的功能受到局限, 其通过控制 FPGA芯片 301, 则 可以通过对 FPGA芯片 301进行各种不同功能的实现, 例如本例中所述 power PC 芯片 300不具有 VGA视频处理能力, 音频数据处理能力和 Ps/2的串行数据处理 能力, 但是通过 FPGA芯片 301内部的软件功能模块实现了上述功能, Power PC 芯片 300通过控制和调用该 FPGA芯片 301实现了上述功能, 因此本实施例中的 power PC芯片 300和 FPGA芯片 301构成的网络计算机可以以较快的速度和较低 的成本实现普通计算机的基本功能。  Since the power PC chip 300 has a chipset supporting each functional module internally, the processing speed is relatively fast, but the disadvantage is that the cost is relatively high, and since the internal chipset is composed of hardware, the functions that the power PC chip 300 can perform are affected. By limiting the FPGA chip 301, the FPGA chip 301 can be implemented by various functions. For example, the power PC chip 300 in this example does not have VGA video processing capability, audio data processing capability, and Ps/2. The serial data processing capability, but the above functions are realized by the software function module inside the FPGA chip 301. The Power PC chip 300 realizes the above functions by controlling and calling the FPGA chip 301, so the power PC chip 300 and the FPGA in this embodiment The network computer formed by the chip 301 can realize the basic functions of an ordinary computer at a relatively high speed and at a low cost.
如图 7所示为本发明基于 FPGA的网络计算机第二实施例的电路图。  FIG. 7 is a circuit diagram of a second embodiment of an FPGA-based network computer according to the present invention.
本实施例针对于现有技术中的 power PC芯片与外设接口的连接不做详细描 述, FPGA 芯片与外设接口的描述可以参考本发明第一实施例, 在本例中只对 power PC芯片与 FPGA芯片之间的接口电路进行描述, 两者之间的接口管脚定义 如表 2所示。  This embodiment is not described in detail in the connection between the power PC chip and the peripheral interface in the prior art. The description of the FPGA chip and the peripheral interface may refer to the first embodiment of the present invention. In this example, only the power PC chip is used. The interface circuit between the FPGA chip is described. The interface pin definition between the two is shown in Table 2.
表 2  Table 2
主要管脚 描述  Main pin description
POWERPC对 FPGA的控制 EBI— DATA 数据线  POWERPC control of FPGA EBI- DATA data line
EBI ADDR 地址线 EBI_WBEN 写使能信号 EBI ADDR address line EBI_WBEN write enable signal
EBI_CSN 片选信号  EBI_CSN chip select signal
EBI_RW 读使能信号  EBI_RW read enable signal
EBI RDY 状态检测信号  EBI RDY status detection signal
EBI CLK EBI时钟信号  EBI CLK EBI clock signal
PPC— RSTN 控制信号  PPC - RSTN control signal
FPGA PROGB 导入信号  FPGA PROGB import signal
FPGA— DONE FPGA就绪信号  FPGA - DONE FPGA Ready Signal
FPGA—皿 TB 地址校验信号  FPGA - dish TB address verification signal
CLK OSC 系统时钟信号  CLK OSC system clock signal
GMII— REFCLK 接收时钟信号  GMII - REFCLK receive clock signal
FPGA— IRQN 中断信号  FPGA - IRQN interrupt signal
FPGA— DIN FPGA检测信号  FPGA - DIN FPGA detection signal
FPGA CCLK FPGA时钟信号  FPGA CCLK FPGA Clock Signal
CLK 24 USB时钟信号  CLK 24 USB clock signal
CLK 25 以太网时钟信号  CLK 25 Ethernet clock signal
如图 8所示为本发明实施例网络接口的示意图,其中网络接口 313的管脚 1、 2、 3、 6 分别与以太网接口 305 的差分发送信号正 MDI— TP 管脚、 差分发送信号负 MDI— TN 管 脚 、 差分接收信号正 MDI— R 管 脚 、 差分接收信号负 PMDI— RN管脚相连接, LED1和 LED2分别与以太网接口 305的 LED1和 LED2管脚相连接。 FIG. 8 is a schematic diagram of a network interface according to an embodiment of the present invention, wherein the differential transmission signals of the pins 1, 2, 3, and 6 of the network interface 313 and the Ethernet interface 305 are positive MDI-TP pins, and the differential transmission signals are negative. MDI—TN pin, differential receive signal positive MDI—R pin, differential receive signal negative PMDI—RN pin is connected, and LED1 and LED2 are connected to LED1 and LED2 pins of Ethernet interface 305, respectively.
本发明有益效果在于, 采用一个 FPGA实现多种计算机的功能模块, 由于没 有采用相应的多个硬件模块, 只是对 FPGA进行软件上的编成实现了多种功能, 所以本发明的网络计算机制造成本低; 并且因此也能够实现产品节能环保, 由 于当计算机升级时, 没有采用多个硬件模块而使得硬件浪费减少, 不会造成更 多的环境污染, 并且本发明实施例的 FGPA实现多种计算机的功能模块, 耗电量 低, 相当于普通 PC的 1/40 (耗电量 5瓦, 最高不超过 6瓦, 普通 PC耗电量 200 瓦); 间接节省空调开支 80%以上, 外形小巧、 重量不到 200克, 节约占地空间 和运输成本; 采用无风扇设计, 运行无噪音; 产品符合 RoHS (Restriction of Hazardous Substances ) 毒害物质限制使用的绿色标准, 不产生任何有害废弃 物; 运维管理简单: 耗电量低, 可以避免由产生热能过多, 部件老化加速, 所 以故障率低; 灵活可随时实现在固定架构上添加硬件和软件的功能模块。 The utility model has the beneficial effects that the function module of the plurality of computers is realized by using one FPGA, and the network computer manufacturing cost of the invention is realized because the corresponding plurality of hardware modules are not used, and only the functions of the FPGA are implemented on the software. Low; and therefore also able to achieve energy saving and environmental protection, When the computer is upgraded, the hardware waste is not reduced, and the environmental waste is not caused, and the FGPA of the embodiment of the present invention implements a plurality of computer functional modules, and the power consumption is low, which is equivalent to ordinary PC 1/40 (power consumption 5 watts, maximum no more than 6 watts, ordinary PC power consumption 200 watts); indirect savings of air conditioning costs over 80%, compact size, weight less than 200 grams, saving floor space and transportation Cost; adopts fanless design, no noise operation; product meets the green standard of RoHS (Restriction of Hazardous Substances), does not produce any harmful waste; operation and maintenance management is simple: low power consumption, can avoid heat generation Too much, component aging is accelerated, so the failure rate is low; flexibility can be used to add hardware and software functional modules to the fixed architecture at any time.
以上所述的具体实施方式, 对本发明的目的、 技术方案和有益效果进行了 进一步详细说明, 所应理解的是, 以上所述仅为本发明的具体实施方式而已, 并不用于限定本发明的保护范围, 凡在本发明的精神和原则之内, 所做的任何 修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。  The above described embodiments of the present invention are further described in detail, and the embodiments of the present invention are intended to be illustrative only. The scope of the protection, any modifications, equivalents, improvements, etc., made within the spirit and scope of the invention are intended to be included within the scope of the invention.

Claims

权 利 要 求 Rights request
1 . 一种基于 FPGA的网络计算机, 其特征在于该 FPGA芯片内部包括交换总 线及总线控制器, 还包括 USB处理模块、 显示绘图阵列模块、 以太网模块、 数 字音频模块或存储控制器中的两种或者多种, 该交换总线用于传送所述 FPGA芯 片中各个功能模块的数据, 所述总线控制器与所述交换总线相连接, 用于控制 所述交换总线传送数据。  1 . An FPGA-based network computer, characterized in that the FPGA chip comprises a switching bus and a bus controller, and further comprises two of a USB processing module, a display drawing array module, an Ethernet module, a digital audio module or a storage controller. The switching bus is configured to transmit data of each functional module in the FPGA chip, and the bus controller is connected to the switching bus for controlling the switching bus to transmit data.
2. 根据权利要求 1所述的一种基于 FPGA的网络计算机, 其特征在于, 还 包括 power PC芯片, 与所述 FPGA芯片相连接, 该 power PC芯片内部包括复数 个硬件芯片组。  2. The FPGA-based network computer according to claim 1, further comprising a power PC chip connected to the FPGA chip, the power PC chip internally comprising a plurality of hardware chip sets.
3. 根据权利要求 1所述的一种基于 FPGA的网络计算机, 其特征在于, 所 述 FPGA芯片内部还包括处理器内核, 与所述交换总线相连接, 用于向所述 FPG A芯片内的其他功能模块发送控制逻辑。  3. The FPGA-based network computer according to claim 1, wherein the FPGA chip further includes a processor core connected to the switching bus for being used in the FPG A chip. Other function modules send control logic.
4. 根据权利要求 3所述的一种基于 FPGA的网络计算机, 其特征在于, 所 述 FPGA芯片内部还包括 Ps/2处理模块, 用于处理采用 Ps/2接口的外部设备的 数据。  4. The FPGA-based network computer according to claim 3, wherein the FPGA chip further comprises a Ps/2 processing module for processing data of an external device using the Ps/2 interface.
5. 根据权利要求 1所述的一种基于 FPGA的网络计算机, 其特征在于, 该 网络计算机还包括以下接口与所述 FPGA芯片的各个模块相对应:  5. The FPGA-based network computer according to claim 1, wherein the network computer further comprises an interface corresponding to each module of the FPGA chip:
USB接口,该 USB接口与所述 FPGA芯片的 USB处理模块的相应管脚相连接, 用于与所述 FPGA进行数据通信, 所述 FPGA芯片的 USB处理模块处理所述 USB 接口的数据;  a USB interface, the USB interface is connected to a corresponding pin of the USB processing module of the FPGA chip, for performing data communication with the FPGA, and the USB processing module of the FPGA chip processes data of the USB interface;
显示绘图阵列接口, 该显示绘图阵列接口与所述 FPGA芯片的显示绘图阵列 模块的相应管脚相连接, 用于将所述 FPGA芯片的显示绘图阵列模块处理的数据 输出到所述网络计算机外部的显示装置;  Displaying a drawing array interface, the display drawing array interface being connected to a corresponding pin of the display drawing array module of the FPGA chip, for outputting data processed by the display drawing array module of the FPGA chip to the outside of the network computer Display device
以太网接口, 该以太网接口与所述 FPGA芯片的以太网模块的相应管脚相连 接, 用于传送所述 FPGA芯片的以太网模块处理的数据;  An Ethernet interface, the Ethernet interface is connected to a corresponding pin of the Ethernet module of the FPGA chip, and configured to transmit data processed by the Ethernet module of the FPGA chip;
数字音频接口, 该数字音频接口与所述 FPGA芯片的数字音频模块的相应管 脚相连接, 用于传送所述 FPGA芯片的数字音频模块处理的数据; a digital audio interface, the digital audio interface and a corresponding tube of the digital audio module of the FPGA chip a pin connection for transmitting data processed by the digital audio module of the FPGA chip;
存储控制器接口, 该存储控制器接口与所述 FPGA芯片的存储控制器的相应 管脚相连接, 用于所述 FPGA芯片与存储器进行数据传输。  And a storage controller interface, where the storage controller interface is connected to a corresponding pin of the storage controller of the FPGA chip, and is used for data transmission between the FPGA chip and the memory.
6. 根据权利要求 1所述的一种基于 FPGA的网络计算机, 其特征在于, 所 述 FPGA芯片内部还包括联合测试接口模块, 与所述交换总线相连接, 用于对所 述 FPGA芯片内的各器件进行测试。  The FPGA-based network computer according to claim 1, wherein the FPGA chip further comprises a joint test interface module, and is connected to the switch bus for being used in the FPGA chip. Each device was tested.
7. 根据权利要求 1所述的一种基于 FPGA的网络计算机, 其特征在于, 所 述 FPGA芯片内部还包括片内用户逻辑模块, 与所述交换总线相连接, 用于启动 所述 FPGA芯片。  7. The FPGA-based network computer according to claim 1, wherein the FPGA chip further comprises an on-chip user logic module connected to the switch bus for starting the FPGA chip.
8. 根据权利要求 1所述的一种基于 FPGA的网络计算机, 其特征在于, 所述 F 8. The FPGA-based network computer according to claim 1, wherein the F
PGA芯片内部还包括定时器, 与所述交换总线相连接, 用于向所述 FPGA芯片内部 的其他功能模块提供时钟数据。 The PGA chip further includes a timer internally connected to the switching bus for providing clock data to other functional modules inside the FPGA chip.
PCT/CN2008/072912 2008-11-03 2008-11-03 Network computer based on fpga WO2010060237A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2008/072912 WO2010060237A1 (en) 2008-11-03 2008-11-03 Network computer based on fpga

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2008/072912 WO2010060237A1 (en) 2008-11-03 2008-11-03 Network computer based on fpga

Publications (1)

Publication Number Publication Date
WO2010060237A1 true WO2010060237A1 (en) 2010-06-03

Family

ID=42225186

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2008/072912 WO2010060237A1 (en) 2008-11-03 2008-11-03 Network computer based on fpga

Country Status (1)

Country Link
WO (1) WO2010060237A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108303935A (en) * 2018-04-08 2018-07-20 北京强度环境研究所 A kind of vibrating controller based on multinuclear SoC processors
CN111766807A (en) * 2020-06-23 2020-10-13 济南浪潮高新科技投资发展有限公司 Hospital ward night shift inspection robot control system
CN112346645A (en) * 2019-08-06 2021-02-09 天津光电通信技术有限公司 Multichannel high-speed signal acquisition and processing board card based on FPGA and single-board PC
CN113742268A (en) * 2021-09-14 2021-12-03 北京坤驰科技有限公司 High-speed pulse acquisition system based on Ethernet optical fiber
CN114301854A (en) * 2021-02-05 2022-04-08 井芯微电子技术(天津)有限公司 PCIe switching equipment

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
GORDON BREBNER ET AL., NETWORKING ON CHIP WITH PLATFORM FPGAS. IEEE, 17 December 2003 (2003-12-17), pages 13 - 20 *
LIN HUA.: "Design of Embedded Sys tem Based on FPGA.", MICROCOMPUTER INFORMATION (EMBEDDING AND SOC)., vol. 24, no. 2-2, 19 March 2008 (2008-03-19), pages 166,173 - 175 *
TIAN QIZHI.: "The Design and Implement of FPGA Based Embedded Internet Terminal System. Chinese Master's Theses Full-text Database", INFORMATION SCIENCE AND TECHNOLOGY., no. 10, 15 October 2008 (2008-10-15), pages II35-86-1 - I135-86-79 *
WANG JUNXIONG ET AL.: "Design of Embedded System Based on FPGA.", ELECTRON IC ENGINEER., vol. 32, no. 10, October 2006 (2006-10-01), pages 67 - 70 *
WANG PEIYUAN ET AL.: "Research on FPGA Co-processor Based on PowerPC.", METALLURGICAL INDUSTRY AUTOMATION, 2007, pages 495 - 498 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108303935A (en) * 2018-04-08 2018-07-20 北京强度环境研究所 A kind of vibrating controller based on multinuclear SoC processors
CN112346645A (en) * 2019-08-06 2021-02-09 天津光电通信技术有限公司 Multichannel high-speed signal acquisition and processing board card based on FPGA and single-board PC
CN111766807A (en) * 2020-06-23 2020-10-13 济南浪潮高新科技投资发展有限公司 Hospital ward night shift inspection robot control system
CN114301854A (en) * 2021-02-05 2022-04-08 井芯微电子技术(天津)有限公司 PCIe switching equipment
CN114301854B (en) * 2021-02-05 2024-02-23 井芯微电子技术(天津)有限公司 PCIe switching device
CN113742268A (en) * 2021-09-14 2021-12-03 北京坤驰科技有限公司 High-speed pulse acquisition system based on Ethernet optical fiber
CN113742268B (en) * 2021-09-14 2023-12-08 北京坤驰科技有限公司 High-speed pulse acquisition system based on Ethernet optical fiber

Similar Documents

Publication Publication Date Title
CN102323905B (en) Remote monitoring system for Godson main board
CN103870429B (en) Based on the igh-speed wire-rod production line plate of embedded gpu
TWI547784B (en) Method of dynamically adjusting bus clock and device thereof
GB2514886A (en) Systems, methods and apparatuses for handling timeouts
US8339869B2 (en) Semiconductor device and data processor
JP2011065685A (en) Bus system based on open type core protocol
CN105718408A (en) Hot-pluggable computing system, computer-implemented method and system
CN107194257B (en) Trusted system based on domestic TCM chip
CN103399830B (en) The Apparatus and method for of computer physics internal memory is read by PCI Express bus
CN102664873A (en) Method for realization of KVM-OVER-IP of domestic Loongson CPU server with BMC
WO2010060237A1 (en) Network computer based on fpga
CN106649021A (en) Testing device for PCIe slave device
CN104881105A (en) Electronic device
CN114253889A (en) Approximate data bus inversion techniques for delay sensitive applications
CN112256615B (en) USB conversion interface device
CN207650794U (en) A kind of desktop mainboard based on Feiteng processor
CN103678244B (en) A kind of smart machine without using application processor
CN206075195U (en) Based on 411 processor of Shen prestige and the CPCI industrial control computer mainboards of Shen Wei nest plates
CN112363977A (en) VPX single-board computer main board
CN207367196U (en) A kind of Portable computer main board and portable computer based on Feiteng processor
CN203759602U (en) Nest plate-based CPCI (Compact Peripheral Component Interconnect) industrial control computer mainboard
CN105068962A (en) I2C controller access method and I2C controller access system
CN204086415U (en) Fault wave recording device
CN203759599U (en) CPCI (Compact Peripheral Component Interconnect) industrial control computer mainboard based on SW processor
CN101344874B (en) Method and device for controlling I2C device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 08878355

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 31/08/2011)

122 Ep: pct application non-entry in european phase

Ref document number: 08878355

Country of ref document: EP

Kind code of ref document: A1