CN208271176U - A kind of input/output unit and electronic equipment - Google Patents

A kind of input/output unit and electronic equipment Download PDF

Info

Publication number
CN208271176U
CN208271176U CN201820783840.3U CN201820783840U CN208271176U CN 208271176 U CN208271176 U CN 208271176U CN 201820783840 U CN201820783840 U CN 201820783840U CN 208271176 U CN208271176 U CN 208271176U
Authority
CN
China
Prior art keywords
selector
cpu
input
output unit
firmware interface
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.)
Active
Application number
CN201820783840.3U
Other languages
Chinese (zh)
Inventor
张宝祺
符兴建
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Loongson Technology Corp Ltd
Original Assignee
Loongson Technology Corp Ltd
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 Loongson Technology Corp Ltd filed Critical Loongson Technology Corp Ltd
Priority to CN201820783840.3U priority Critical patent/CN208271176U/en
Application granted granted Critical
Publication of CN208271176U publication Critical patent/CN208271176U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Systems (AREA)

Abstract

The utility model provides a kind of input/output unit and electronic equipment, comprising: at least two firmware interfaces, toggle switch and selector;The first end IO of each of selector is connected with corresponding firmware interface respectively;The control terminal of selector is connect with toggle switch, is used to indicate the selected firmware interface of selector;2nd end IO of selector is connect with CPU, and the firmware interface for that will select and CPU are connected.The utility model can pass through the operation to toggle switch, it is connected by the corresponding firmware interface of selector corresponding selection and CPU, it realizes the purpose for supporting a variety of firmware interface selections at same CPU, reduces the operating procedure of the selection interface of input/output unit, while also reducing hardware cost.

Description

A kind of input/output unit and electronic equipment
Technical field
The utility model relates to computer hardware technology field more particularly to a kind of input/output units and electronic equipment.
Background technique
With the development of science and technology central processing unit (CPU, Central Processing Unit) applications in various fields It dramatically increases.In general, the board for being integrated with CPU can select different firmware interfaces to connect as starting firmware according to different demands Mouthful.
Currently, CPU supports the scheme of a variety of firmware interfaces, there are mainly two types of implementation, the first implementations: setting Multiple CPU, each CPU are connected with corresponding firmware interface one by one respectively, and when needing using a certain interface, enabling connects with this The CPU of mouth connection, and other CPU out of service.Second of implementation: it is set respectively in CPU for different firmware interfaces Corresponding executable file is set, when selecting firmware interface each time, is all directed to the corresponding executable text of firmware interface of selection Part carries out a compilation operations, to achieve the purpose that correctly to support selected firmware interface.
But at present in scheme, the first implementation, which needs to be arranged multiple CPU, will lead to hardware cost increase, operation It is cumbersome, and in second of implementation, due to selecting interface that will be compiled operation each time, can also generate cumbersome Problem.
Utility model content
The utility model provides a kind of input/output unit and electronic equipment, to solve input/output unit in the prior art Selection interface cumbersome problem.
In order to solve the above-mentioned technical problem, the utility model is realized in this way:
In a first aspect, providing at least two firmware interfaces, toggle switch and selector;
The first end IO of each of described selector is connected with the corresponding firmware interface respectively;
The control terminal of the selector is connect with the toggle switch, and the toggle switch is used to indicate the selector institute The firmware interface of selection;
2nd end IO of the selector is connect with CPU, and the firmware interface for that will select and the CPU are connected.
Second aspect, provides a kind of electronic equipment, and the electronic equipment includes what the utility model first aspect provided A kind of input/output unit.
Input/output unit and electronic equipment provided by the embodiment of the utility model, comprising: at least two firmware interfaces are dialled Code switch and selector;The first end IO of each of selector is connected with corresponding firmware interface respectively;The control terminal of selector with Toggle switch connection, is used to indicate the selected firmware interface of selector;2nd end IO of selector is connect with CPU, and being used for will The firmware interface and CPU of selection are connected.The utility model can be by the operation to toggle switch, by selector corresponding selection phase The firmware interface and CPU answered are connected, and realize the purpose for supporting a variety of firmware interface selections at same CPU, it is defeated to reduce input The operating procedure of the selection interface of device out, while also reducing hardware cost.
Detailed description of the invention
Fig. 1 is a kind of structural schematic diagram of input/output unit provided by the embodiment of the utility model;
Fig. 2 is the structural schematic diagram of another input/output unit provided by the embodiment of the utility model.
Specific embodiment
The following will be combined with the drawings in the embodiments of the present invention, carries out the technical scheme in the embodiment of the utility model It clearly and completely describes, it is clear that the embodiments are a part of the embodiments of the present invention, rather than whole implementation Example.Based on the embodiments of the present invention, those of ordinary skill in the art are obtained without creative efforts The every other embodiment obtained, fall within the protection scope of the utility model.
A kind of input/output unit provided by the utility model is discussed in detail below by several specific embodiments are enumerated And electronic equipment, a kind of electronic equipment provided by the embodiment of the utility model can be smart phone, computer, multimedia Device, electronic reader, wearable device etc..
Referring to Fig.1, a kind of structural schematic diagram of input/output unit provided by the utility model, input and output dress are shown Set includes: at least two firmware interfaces 20, toggle switch 30 and selector 40;The first IO (input and output) of each of selector 40 A is held to connect respectively with corresponding firmware interface 20;The control terminal B of selector 40 is connect with toggle switch 30, is used to indicate selection The selected firmware interface 20 of device 40;2nd end IO C of selector 40 is connect with CPU10, the firmware interface 20 for that will select It is connected with CPU10.
It should be noted that the control terminal B of selector 40 can execute control function, by the control for receiving toggle switch 30 System instruction, to indicate that the selected firmware interface 20 of selector 40, the first end the IO A and the 2nd end IO C of selector 40 can be held Row data input/output function, e.g., by the data chain of the end the IO end the IO C-CPU10 of A-the 2nd of firmware interface 20-the Data are transmitted to CPU10 by firmware interface 20 in road, can also be by the 2nd end the IO end the IO A of C-the first of CPU10-- firmware interface 20 data transmission link transmits data to firmware interface 20 by CPU10.
Wherein, with the continuous growth of electronic equipment use demand, in the electronic equipment for being equipped with CPU, it will usually root According to different demands, multiple firmware interfaces are set to carry out firmware starting, for example, can choose at least two firmware interfaces 20 with The input and output for meeting the firmware interface of different agreement, if input/output unit includes two firmware interfaces, respectively firmware is connect Mouth a and firmware interface b, firmware interface a are to meet full duplex synchronous serial bus firmware interface (SPI, Serial Peripheral Interface) agreement firmware interface, firmware interface b be meet parallel bus protocol firmware interface (LPC, Low Pin Coun) agreement firmware interface.
Wherein, LPC interface is a kind of on September 29th, the 1997 new interface specifications announced, and with the authorization that opens for free Mode is used for industry.The address/data of previous industry standard architecture bus is separated decoding by LPC interface, is changed to similar The address/data signal line of Peripheral Component Interconnect standard (PCI, Peripheral Component Interconnect) is shared Decoded mode, signal wire quantity is greatly reduced, and operating rate is driven by pci bus rate synchronization, although improved LPC connects Mouth can equally maintain maximum transmitted 16,000,000/second of value, but required signal pins digit is greatly reduced 25~30, and LPC connects Mouth has the benefit that signal pins digit is reduced, volume is miniature, and the design of mainboard also can simplify.
SPI interface, be a kind of high speed, full duplex, synchronization communication bus, and only take up four on the pin of chip Root line has saved the pin of chip, while to save space in the layout of board, providing conveniently, exactly for this simple easy Characteristic, nowadays this communication protocol of more and more integrated chips, compared to LPC interface, SPI interface also has capacity Greatly, lower-cost advantage.
Therefore, it is directed under the demand that a CPU10 docks multiple firmware interfaces 20, the utility model embodiment provides A kind of input/output unit is passed through by the way that selector 40 and toggle switch 30 are arranged between CPU10 and each firmware interface 20 Toggle switch 30 is operated, export alternative or multiselect one as a result, and by the output as a result, being detected by software code Currently used interface is which interface if testing result and toggle switch 30 output result are different calls toggle switch The corresponding interface of 30 output results carries out the starting of electronic equipment, realizes an input/output unit as starting firmware interface Under, the compatibility of a variety of firmware interfaces.
Compared to the prior art, the utility model embodiment does not need that more sets and the one-to-one CPU of firmware interface is arranged, It does not need to be compiled operation when docking each time yet.The utility model embodiment can realize the operation of toggle switch The hardware selection under different situations is supported under same execution file.
It should be noted that a kind of input/output unit provided by the embodiment of the utility model needs to realize corresponding code Compatible support is completed, for example, the implementation can be literary by importing configuration for input/output unit in a specific example Part controls the pin of CPU, and the pin of CPU determines which firmware interface used after CPU is powered on, further in executing file Unified function call interface is realized by way of coding, and when there is the read-write operation of flash data, configuration file is logical It is currently used for which firmware interface to cross code detection, according to testing result, by the selection of toggle switch 30, complete call The interface of the selection of corresponding toggle switch 30.
In conclusion a kind of input/output unit provided by the embodiment of the utility model, comprising: at least two firmwares connect Mouth, toggle switch and selector;The first end IO of each of selector is connected with corresponding firmware interface respectively;The control of selector End is connect with toggle switch, is used to indicate the selected firmware interface of selector;2nd end IO of selector is connect with CPU, is used It is connected in the firmware interface and CPU that will be selected.The utility model can be selected by the operation to toggle switch by selector is corresponding It selects corresponding firmware interface and CPU is connected, realize the purpose for supporting a variety of firmware interface selections at same CPU, reduce defeated Enter the operating procedure of the selection interface of output device, while also reducing hardware cost.
Optionally, referring to Fig. 2, the structural schematic diagram of another input/output unit provided by the utility model is shown, Wherein, firmware interface 20 includes at least: parallel bus protocol (LPC) firmware interface 201 and full duplex synchronous serial bus (SPI) Firmware interface 202.
In the utility model embodiment, at present in most cases, it is preferred to use LPC interface and SPI interface carry out Firmware start-up operation, the advantage that LPC interface has processing accuracy high, but the cost is relatively high, SPI interface has capacity big Advantage, it is and lower compared to LPC interface cost, but the processing accuracy of SPI interface is slightly inferior to LPC interface.Therefore, needle To the different demands in practical application, can choose using LPC interface or SPI interface, to reach preferably data processing knot Fruit.
Optionally, selector 40 is one data selector of multiselect.
In the utility model embodiment, selector 40 can be one data selector of multiselect, i.e. multiple selector, multiselect One data selector will wherein can arbitrarily can choose all the way as needed in multichannel data transmit process, common , one data selector of multiselect may include: alternative data selector, and four select a data selector, eight that a data is selected to select The purpose of the application can be realized using alternative data selector, connect according to firmware in the utility model embodiment for device etc. The quantity of mouth 20 is correspondingly arranged corresponding selection logic.
Optionally, toggle switch 30 is two toggle switch.
In the utility model embodiment, two toggle switch are a address switches for being used to operate control, use It is 0/1 binary coding principle, specifically, two toggle switch can export alternative behaviour by hand toggle switch driving lever Make as a result, being each provided with two pins on the corresponding direction of each switch shift lever, this four pins can be with selector Control terminal is attached, and the direction selected according to switch shift lever, connects the pin of corresponding direction side, for example, it is allocated to the first side, Two pins of the first side are connected;It is allocated to second side, two pins of second side are connected.Two toggle switch be applied to more two into System coding, such as connection can be set as 1;It is broken as 0.
Optionally, input/output unit further include: printed wire board;CPU10 is arranged on the printed wire board. In practical applications, can be stuck in by the fixed supporting CPU 10 of printed wiring board card, printed wiring board play the role of carrying it Outside, additionally it is possible to arrange that corresponding cabling and CPU10 are connected.
Optionally, referring to Fig. 2, selector 40 is integrally disposed on CPU10.In the utility model embodiment, selector 40 small volume can be integrated and be wholely set with CPU10, receive the power supply of circuit in CPU10, play saving arrangement areas Effect.
Optionally, CPU10 is monokaryon CPU or multi-core CPU.Multi-core CPU has at stronger data compared to monokaryon CPU Reason ability.
Specifically, CPU may include: computing unit component 101 referring to Fig. 2;Computing unit component 101 includes at least one A computing unit 1011;Computing unit component 101 is connect with the selector 40.
In the utility model embodiment, computing unit 1011 can be the core of CPU10, when CPU10 is multi-core CPU, It is sequentially connected between each computing unit 1011, the computing unit component 101 of CPU10 is the set of the core of CPU, usually CPU10 has the configuration such as monokaryon, double-core, four cores, and multi-core CPU refers to integrates two or more completely in one piece of CPU Computing unit 1011, CPU can support multiple processors on system bus at this time, provide all bus marcos by bus control unit Signal and command signal, core amounts can be selected according to actual needs.Therefore, in the utility model embodiment, for 1011 quantity of computing unit of CPU10 is not construed as limiting.In the utility model embodiment, the 2nd end IO of selector 40 with Computing unit component 101 in CPU10 is connected.
The embodiments of the present invention additionally provide a kind of electricity including input/output unit in the utility model embodiment Sub- equipment, the electronic equipment can be the various electronic equipments such as mobile phone, tablet computer.
In conclusion a kind of input/output unit provided by the embodiment of the utility model and electronic equipment, comprising: at least two A firmware interface, toggle switch and selector;The first end IO of each of selector is connected with corresponding firmware interface respectively;Selection The control terminal of device is connect with toggle switch, is used to indicate the selected firmware interface of selector;2nd end IO of selector and CPU Connection, firmware interface and CPU for that will select are connected.The utility model can be by the operation to toggle switch, by selecting The corresponding firmware interface of device corresponding selection and CPU are connected, and realize the purpose that a variety of firmware interface selections are supported at same CPU, Reduce the operating procedure of the selection interface of input/output unit, while also reducing hardware cost.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
The above is only the preferred embodiment of the utility model only, is not intended to limit the utility model, all at this Made any modifications, equivalent replacements, and improvements etc., should be included in the utility model within the spirit and principle of utility model Protection scope within.
Above description is only a specific implementation of the present invention, but the protection scope of the utility model is not limited to In this, anyone skilled in the art within the technical scope disclosed by the utility model, can readily occur in variation Or replacement, it should be covered within the scope of the utility model.Therefore, the protection scope of the utility model should be wanted with right Subject to the protection scope asked.

Claims (8)

1. a kind of input/output unit, which is characterized in that the input/output unit includes:
At least two firmware interfaces, toggle switch and selector;
The first end IO of each of described selector is connected with the corresponding firmware interface respectively;
The control terminal of the selector is connect with the toggle switch, and the toggle switch is used to indicate selected by the selector Firmware interface;
2nd end IO of the selector is connect with CPU, and the firmware interface for that will select and the CPU are connected.
2. input/output unit according to claim 1, which is characterized in that
The firmware interface includes at least: parallel bus protocol firmware interface and full duplex synchronous serial bus firmware interface.
3. input/output unit according to claim 1, which is characterized in that
The selector is one data selector of multiselect.
4. input/output unit according to claim 1, which is characterized in that
The toggle switch is two toggle switch.
5. input/output unit according to any one of claims 1 to 4, which is characterized in that the input/output unit is also Include:
Printed wire board;
The CPU is arranged on the printed wire board.
6. input/output unit according to claim 5, which is characterized in that
The selector is integrally disposed on the CPU.
7. input/output unit according to claim 5, which is characterized in that the CPU is monokaryon CPU or multi-core CPU.
8. a kind of electronic equipment, which is characterized in that the electronic equipment includes any input and output of claim 1 to 7 Device.
CN201820783840.3U 2018-05-24 2018-05-24 A kind of input/output unit and electronic equipment Active CN208271176U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201820783840.3U CN208271176U (en) 2018-05-24 2018-05-24 A kind of input/output unit and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201820783840.3U CN208271176U (en) 2018-05-24 2018-05-24 A kind of input/output unit and electronic equipment

Publications (1)

Publication Number Publication Date
CN208271176U true CN208271176U (en) 2018-12-21

Family

ID=64684522

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201820783840.3U Active CN208271176U (en) 2018-05-24 2018-05-24 A kind of input/output unit and electronic equipment

Country Status (1)

Country Link
CN (1) CN208271176U (en)

Similar Documents

Publication Publication Date Title
CN101937414B (en) Method and device of sharing minitype USB interface for UART (Universal Asynchronous Receive/Transmitter) and USB (Universal Serial Bus)
CN100468378C (en) SPI apparatus telecommunication circuit
US20060294279A1 (en) Mechanism for peripheral component interconnect express (PCIe) connector multiplexing
CN109857684B (en) Device, method and system for identifying slot address and type of board card of communication equipment
CN109582623B (en) Expansion board circuit capable of realizing cascade connection of multiple expansion boards of different types
US20070208973A1 (en) PCI-E debug card
CN102665302B (en) A kind of wireless communication system
CN112069107A (en) Server board card capable of automatically identifying external plug-in card and external plug-in card automatic identification method
CN105446930A (en) Single selection end SPI (Serial Peripheral Interface) master-slave multi-machine bidirectional communication method
CN103729319A (en) Equipment system based on serial bus and data transmission method
CN101272405B (en) Receiving equipment, MMIS interface and data interaction method
CN208271176U (en) A kind of input/output unit and electronic equipment
CN209327954U (en) A kind of electronic equipment and its expansion board system
CN107391405A (en) Usb circuit and USB device
CN115858426A (en) Hard disk interface, hard disk and electronic equipment
CN115905096A (en) SPI-based data communication system and method
CN216053017U (en) Configurable PCIE (peripheral component interface express) expansion device of server
CN213122978U (en) Double-mainboard structure capable of being rapidly upgraded and functionally expanded and electronic equipment
CN208888804U (en) A kind of multi-processor electronic device
CN211403415U (en) Type-C interface function testing device
CN114168513A (en) Peripheral high-speed interconnection interface PCIe board card, cable, verification system and computer
CN218037943U (en) Circuit board for interface expansion based on PCIE interface
CN103631749B (en) Enlargement module
CN211479112U (en) PCIE switching integrated circuit board
CN115422110B (en) Port configuration method of electronic equipment and PCIE Switch chip

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 100095 Building 2, Longxin Industrial Park, Zhongguancun environmental protection technology demonstration park, Haidian District, Beijing

Patentee after: Loongson Zhongke Technology Co.,Ltd.

Address before: 100095 Building 2, Longxin Industrial Park, Zhongguancun environmental protection technology demonstration park, Haidian District, Beijing

Patentee before: LOONGSON TECHNOLOGY Corp.,Ltd.

CP01 Change in the name or title of a patent holder