CN111027108B - Sequential logic safety detection method and device for low-speed synchronous serial bus - Google Patents
Sequential logic safety detection method and device for low-speed synchronous serial bus Download PDFInfo
- Publication number
- CN111027108B CN111027108B CN201910742737.3A CN201910742737A CN111027108B CN 111027108 B CN111027108 B CN 111027108B CN 201910742737 A CN201910742737 A CN 201910742737A CN 111027108 B CN111027108 B CN 111027108B
- Authority
- CN
- China
- Prior art keywords
- serial bus
- low
- bus transceiver
- synchronous
- synchronous serial
- 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
Links
- 230000001360 synchronised effect Effects 0.000 title claims abstract description 268
- 238000001514 detection method Methods 0.000 title claims abstract description 18
- 230000008878 coupling Effects 0.000 claims abstract description 30
- 238000010168 coupling process Methods 0.000 claims abstract description 30
- 238000005859 coupling reaction Methods 0.000 claims abstract description 30
- 238000004891 communication Methods 0.000 claims abstract description 25
- 238000000034 method Methods 0.000 claims abstract description 14
- 230000002159 abnormal effect Effects 0.000 claims abstract description 12
- 238000004088 simulation Methods 0.000 claims description 36
- ZXQYGBMAQZUVMI-GCMPRSNUSA-N gamma-cyhalothrin Chemical compound CC1(C)[C@@H](\C=C(/Cl)C(F)(F)F)[C@H]1C(=O)O[C@H](C#N)C1=CC=CC(OC=2C=CC=CC=2)=C1 ZXQYGBMAQZUVMI-GCMPRSNUSA-N 0.000 abstract description 10
- 230000002093 peripheral effect Effects 0.000 description 5
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/70—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
- G06F21/82—Protecting input, output or interconnection devices
- G06F21/85—Protecting input, output or interconnection devices interconnection devices, e.g. bus-connected or in-line devices
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/32—Monitoring with visual or acoustical indication of the functioning of the machine
- G06F11/324—Display of status information
- G06F11/327—Alarm or error message display
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/50—Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
- G06F21/57—Certifying or maintaining trusted computer platforms, e.g. secure boots or power-downs, version controls, system software checks, secure updates or assessing vulnerabilities
- G06F21/577—Assessing vulnerabilities and evaluating computer system security
Abstract
The embodiment of the invention provides a sequential logic safety detection method and device for a low-speed synchronous serial bus, which are used for solving the problem that the prior art cannot detect sequential logic loopholes or even hardware Trojan in a bus transceiver. The method comprises the following steps: coupling the simulated low-speed synchronous serial bus transceiver with the low-speed synchronous serial bus, simulating the communication of the low-speed synchronous serial bus, and obtaining all synchronous time sequence signals of the bus communication; coupling the simulated low-speed synchronous serial bus transceiver with the bus transceiver, and receiving a synchronous time sequence signal of the bus transceiver; comparing all synchronous time sequence signals of the bus communication with synchronous time sequence signals of the bus transceiver, and if the state of the received synchronous time sequence signals of the bus transceiver is abnormal, the bus transceiver has a time sequence logic loophole or a hardware Trojan horse.
Description
Technical Field
The present invention relates to the field of computer hardware security, and in particular, to a method and apparatus for detecting sequential logic security of a low-speed synchronous serial bus.
Background
At present, the low-speed synchronous serial bus has the advantages of less signal lines, strong anti-interference capability, higher data transmission rate than an asynchronous serial bus and the like, and is widely applied to Central Processing Units (CPU), micro Control Units (MCU) or peripheral connection. In general, a chip bus transceiver connected to a bus belongs to a synchronous sequential logic circuit, and if a sequential logic hole exists in the chip bus transceiver, even if a hardware Trojan is preset, the chip bus transceiver is possibly activated under the triggering of a specific condition, so that the whole bus communication is seriously affected, and the chip bus transceiver becomes a serious hardware safety hidden trouble.
Disclosure of Invention
The embodiment of the invention provides a sequential logic safety detection method and device for a low-speed synchronous serial bus, which are used for solving the problem that the prior art cannot detect sequential logic loopholes or even hardware Trojan in a bus transceiver.
Based on the above-mentioned problems, the method for detecting sequential logic security of a low-speed synchronous serial bus according to the embodiment of the present invention includes:
coupling the simulated low-speed synchronous serial bus transceiver with the low-speed synchronous serial bus, simulating the communication of the low-speed synchronous serial bus, and obtaining all synchronous time sequence signals of the bus communication; coupling the simulated low-speed synchronous serial bus transceiver with the bus transceiver, and receiving a synchronous time sequence signal of the bus transceiver; comparing all synchronous time sequence signals of the bus communication with synchronous time sequence signals of the bus transceiver, and if the state of the received synchronous time sequence signals of the bus transceiver is abnormal, the bus transceiver has a time sequence logic loophole or a hardware Trojan horse.
Furthermore, the simulation low-speed synchronous serial bus transceiver can realize synchronous time sequence signal simulation through a singlechip or a programmable logic device.
Further, the simulation low-speed synchronous serial bus transceiver realizes synchronous time sequence signal simulation through a singlechip, and specifically comprises the following steps: the universal parallel I/O interface pin of the singlechip is coupled with the low-speed synchronous serial bus, and the synchronous timing sequence signal of the synchronous low-speed serial bus is simulated through the singlechip software;
the simulation low-speed synchronous serial bus transceiver realizes synchronous time sequence signal simulation through a programmable logic device, and specifically comprises the following steps: the programmable logic device I/O interface pins are coupled to the low-speed synchronous serial bus, simulate synchronous low-speed serial bus synchronous time sequence signals through hardware description language, and allocate the I/O pins correspondingly coupled to the low-speed synchronous serial bus as simulated transceiver hardware I/O.
Further, the low-speed synchronous serial bus includes a two-wire serial bus or a full duplex synchronous serial bus.
Further, if the low-speed synchronous serial bus is a two-wire serial bus, the specific way of simulating the coupling between the low-speed synchronous serial bus transceiver and the bus transceiver is as follows: the method comprises the steps of coupling a simulated low-speed synchronous serial bus transceiver serial data line signal with a serial data line pin of a two-wire serial bus transceiver, coupling a simulated low-speed synchronous serial bus transceiver serial clock line signal with a pin of a serial clock line of the two-wire serial bus transceiver, and adding a pull resistor on the two-wire serial bus.
Further, if the low-speed synchronous serial bus is a full duplex synchronous serial bus, the simulated low-speed synchronous serial bus transceiver is coupled with the full duplex synchronous serial bus transceiver, specifically:
the simulated low speed synchronous serial bus transceiver input signal is coupled to the output pin of the full duplex synchronous serial bus transceiver, the simulated low speed synchronous serial bus transceiver output signal is coupled to the input pin of the full duplex synchronous serial bus transceiver, the simulated low speed synchronous serial bus transceiver timing signal is coupled to the timing signal pin of the full duplex synchronous serial bus transceiver, the simulated low speed synchronous serial bus transceiver enable signal is coupled to the enable signal pin of the full duplex synchronous serial bus transceiver, and is grounded.
Further, if the state of the received synchronous time sequence signal of the bus transceiver is abnormal, an alarm is sent out, and detailed information of the time sequence signal is output; wherein the state exception comprises: all of the synchronization timing signals of the bus communication do not include the synchronization timing signals of the bus transceiver, the synchronization timing signals of the bus transceiver being advanced or shifted backward.
The embodiment of the invention provides a sequential logic safety detection device of a low-speed synchronous serial bus, which comprises the following components: a simulated low-speed synchronous serial bus transceiver coupled to the low-speed synchronous serial bus and coupled to the bus transceiver; the simulation low-speed synchronous serial bus transceiver can realize synchronous time sequence signal simulation through a singlechip or a programmable logic device, and specifically comprises the following steps: the universal parallel I/O interface pin of the singlechip is coupled with the low-speed synchronous serial bus, and the synchronous timing sequence signal of the synchronous low-speed serial bus is simulated through the singlechip software; alternatively, the programmable logic device I/O interface pins are coupled to the low-speed synchronous serial bus, and simulate the synchronous timing signals of the synchronous low-speed serial bus through the hardware description language, and the I/O pins correspondingly coupled to the low-speed synchronous serial bus are distributed as the simulated transceiver hardware I/O.
Further, the low-speed synchronous serial bus comprises a two-wire serial bus or a full duplex synchronous serial bus, and the specific connection mode of the simulated low-speed synchronous serial bus transceiver and the bus transceiver is as follows:
coupling the serial data line signal of the simulated low-speed synchronous serial bus transceiver with the serial data line pin of the two-wire serial bus transceiver, coupling the serial clock line signal of the simulated low-speed synchronous serial bus transceiver with the pin of the serial clock line of the two-wire serial bus transceiver, and grounding, and adding a pull resistor on the two-wire serial bus;
or, the simulated low speed synchronous serial bus transceiver input signal is coupled with the output pin of the full duplex synchronous serial bus transceiver, the simulated low speed synchronous serial bus transceiver output signal is coupled with the input pin of the full duplex synchronous serial bus transceiver, the simulated low speed synchronous serial bus transceiver timing signal is coupled with the timing signal pin of the full duplex synchronous serial bus transceiver, the simulated low speed synchronous serial bus transceiver enable signal is coupled with the enable signal pin of the full duplex synchronous serial bus transceiver, and is grounded.
Further, the device also comprises an alarm module: and the system is used for sending out an alarm when the state of the received synchronous time sequence signal of the bus transceiver is abnormal and outputting detailed information of the time sequence signal.
Compared with the prior art, the sequential logic safety detection method and device for the low-speed synchronous serial bus provided by the embodiment of the invention have the advantages that at least the following effects are realized:
by coupling the simulated low-speed synchronous serial bus transceiver with the low-speed synchronous serial bus, simulating the communication of the low-speed synchronous serial bus, and obtaining all synchronous time sequence signals of the bus communication; coupling the simulated low-speed synchronous serial bus transceiver with the bus transceiver, and receiving a synchronous time sequence signal of the bus transceiver; comparing all synchronous time sequence signals of the bus communication with synchronous time sequence signals of the bus transceiver, and if the state of the received synchronous time sequence signals of the bus transceiver is abnormal, the bus transceiver has a time sequence logic loophole or a hardware Trojan horse. According to the embodiment of the invention, the simulation low-speed synchronous serial bus transceiver is connected with the peripheral pins of the chip, and the chip is not required to be disassembled, so that the possible sequential logic loopholes in the bus transceiver and even hardware Trojan can be effectively detected, and the cost of the chip-based computer hardware security detection is reduced.
Drawings
FIG. 1 is a flow chart of a method for detecting sequential logic security of a low-speed synchronous serial bus according to an embodiment of the present invention;
FIG. 2 is a flowchart of another method for detecting sequential logic security of a low-speed synchronous serial bus according to an embodiment of the present invention;
fig. 3 is a block diagram of another sequential logic security detection device for a low-speed synchronous serial bus according to an embodiment of the present invention.
Detailed Description
At present, in a computer system or an embedded computer system, a widely applied low-speed synchronous serial bus is connected with some medium-low-speed peripherals, some important configuration information is often stored or some important communication is carried out, if a sequential logic loophole or even a hardware trojan exists in a chip bus transceiver, once the sequential logic loophole or even the hardware trojan is activated, the potential safety hazard is invisible, and therefore, the embodiment of the invention provides a sequential logic safety detection method of the low-speed synchronous serial bus.
The following describes a specific implementation manner of a sequential logic security detection method and device for a low-speed synchronous serial bus according to an embodiment of the present invention with reference to the accompanying drawings.
The embodiment of the invention provides a sequential logic safety detection method of a low-speed synchronous serial bus, as shown in fig. 1, which specifically comprises the following steps:
s101, coupling a simulation low-speed synchronous serial bus transceiver with a low-speed synchronous serial bus, simulating communication of the low-speed synchronous serial bus, and obtaining all synchronous time sequence signals of bus communication;
the simulated low-speed synchronous serial bus transceiver can be realized based on a single chip Microcomputer (MCU) or a low-density programmable logic device, but the simulated low-speed synchronous serial bus transceiver cannot use a hardware transceiver which is self-contained on the MCU or the programmable logic device; wherein the low-density programmable logic device may be a Complex Programmable Logic Device (CPLD) or a small-scale Field Programmable Gate Array (FPGA).
S102, coupling the simulated low-speed synchronous serial bus transceiver with a bus transceiver, and receiving a synchronous time sequence signal of the bus transceiver;
wherein the bus transceiver must be properly connected to the bus and there is both a transmitter and a receiver, security detection is difficult to perform effectively if the transceiver itself is not functioning properly.
S103, comparing all synchronous time sequence signals of the bus communication with synchronous time sequence signals of the bus transceiver, and if the state of the synchronous time sequence signals of the received bus transceiver is abnormal, timing logic loopholes or hardware trojans exist in the bus transceiver.
According to the embodiment of the invention, the simulation low-speed synchronous serial bus transceiver is connected with the peripheral pins of the chip, and the chip is not required to be disassembled, so that the possible sequential logic loopholes in the bus transceiver and even hardware Trojan can be effectively detected, and the cost of the chip-based computer hardware security detection is reduced.
The embodiment of the invention also provides a sequential logic safety detection method of the low-speed synchronous serial bus, as shown in fig. 2, which specifically comprises the following steps:
s201, coupling a simulation low-speed synchronous serial bus transceiver with a low-speed synchronous serial bus, simulating communication of the low-speed synchronous serial bus, and obtaining all synchronous time sequence signals of bus communication;
the simulation low-speed synchronous serial bus transceiver can realize synchronous time sequence signal simulation through a singlechip or a programmable logic device, and specifically comprises the following steps: the universal parallel I/O interface pin of the singlechip is coupled with the low-speed synchronous serial bus, and the synchronous timing sequence signal of the synchronous low-speed serial bus is simulated through the singlechip software; or the programmable logic device I/O interface pin is coupled with the low-speed synchronous serial bus, and simulates synchronous time sequence signals of the synchronous low-speed serial bus through hardware description language, and distributes the I/O pin correspondingly coupled with the low-speed synchronous serial bus as simulated transceiver hardware I/O, wherein the hardware description language comprises: very high speed integrated circuit hardware description language (VHDL), verilog HDL.
S202, coupling the simulated low-speed synchronous serial bus transceiver with a bus transceiver, and receiving a synchronous time sequence signal of the bus transceiver;
wherein the low speed synchronous serial bus comprises a two-wire serial bus (I 2 C) Or full duplex synchronous serial bus (SPI). If the low-speed synchronous serial bus is a two-wire serial bus, the specific way of coupling the simulated low-speed synchronous serial bus transceiver and the bus transceiver is as follows: the method comprises the steps of coupling a simulated low-speed synchronous serial bus transceiver serial data line signal with a serial data line pin of a two-wire serial bus transceiver, coupling a simulated low-speed synchronous serial bus transceiver serial clock line signal with a pin of a serial clock line of the two-wire serial bus transceiver, and adding a pull resistor on the two-wire serial bus.
If the low-speed synchronous serial bus is a full duplex synchronous serial bus, the simulated low-speed synchronous serial bus transceiver is coupled with the full duplex synchronous serial bus transceiver, specifically: the simulated low speed synchronous serial bus transceiver input signal is coupled to the output pin of the full duplex synchronous serial bus transceiver, the simulated low speed synchronous serial bus transceiver output signal is coupled to the input pin of the full duplex synchronous serial bus transceiver, the simulated low speed synchronous serial bus transceiver timing signal is coupled to the timing signal pin of the full duplex synchronous serial bus transceiver, the simulated low speed synchronous serial bus transceiver enable signal is coupled to the enable signal pin of the full duplex synchronous serial bus transceiver, and is grounded.
S203, judging whether the state of the received synchronous time sequence signal of the bus transceiver is abnormal; if yes, go to step 204; otherwise, the bus transceiver is secure;
the state exception includes: all of the synchronization timing signals of the bus communication do not include the synchronization timing signals of the bus transceiver, the synchronization timing signals of the bus transceiver being advanced or shifted backward.
S204, giving an alarm and outputting detailed information of the time sequence signal.
The simulation low-speed synchronous serial bus transceiver adopted by the embodiment of the invention can realize synchronous time sequence signal simulation through a singlechip or a programmable logic device, and has the advantages of simple method and low cost; meanwhile, the simulation low-speed synchronous serial bus transceiver is connected with the peripheral pins of the chip, and the chip is not required to be disassembled, so that sequential logic loopholes and even hardware trojans possibly existing in the bus transceiver can be effectively detected, and the cost and the operation difficulty of the chip-based computer hardware security detection are reduced.
The embodiment of the invention also provides a sequential logic safety detection device of the low-speed synchronous serial bus, as shown in fig. 3, comprising:
a simulated low speed synchronous serial bus transceiver 31 coupled to the low speed synchronous serial bus and coupled to the bus transceiver; the simulation low-speed synchronous serial bus transceiver can realize synchronous time sequence signal simulation through a singlechip or a programmable logic device, and the specific connection mode is as follows: the universal parallel I/O interface pin of the singlechip is coupled with the low-speed synchronous serial bus, and the synchronous timing sequence signal of the synchronous low-speed serial bus is simulated through the singlechip software; alternatively, the programmable logic device I/O interface pins are coupled to the low-speed synchronous serial bus, and simulate the synchronous timing signals of the synchronous low-speed serial bus through the hardware description language, and the I/O pins correspondingly coupled to the low-speed synchronous serial bus are distributed as the simulated transceiver hardware I/O.
The low-speed synchronous serial bus comprises a two-wire serial bus or a full duplex synchronous serial bus, and the specific connection mode of the simulation low-speed synchronous serial bus transceiver and the bus transceiver is as follows: coupling the serial data line signal of the simulated low-speed synchronous serial bus transceiver with the serial data line pin of the two-wire serial bus transceiver, coupling the serial clock line signal of the simulated low-speed synchronous serial bus transceiver with the pin of the serial clock line of the two-wire serial bus transceiver, and grounding, and adding a pull resistor on the two-wire serial bus; or, the simulated low speed synchronous serial bus transceiver input signal is coupled with the output pin of the full duplex synchronous serial bus transceiver, the simulated low speed synchronous serial bus transceiver output signal is coupled with the input pin of the full duplex synchronous serial bus transceiver, the simulated low speed synchronous serial bus transceiver timing signal is coupled with the timing signal pin of the full duplex synchronous serial bus transceiver, the simulated low speed synchronous serial bus transceiver enable signal is coupled with the enable signal pin of the full duplex synchronous serial bus transceiver, and is grounded.
The device further comprises an alarm module 311: and the system is used for sending out an alarm when the state of the received synchronous time sequence signal of the bus transceiver is abnormal and outputting detailed information of the time sequence signal.
Those skilled in the art will appreciate that the drawing is merely a schematic representation of one preferred embodiment and that the modules or processes in the drawing are not necessarily required to practice the invention.
Those skilled in the art will appreciate that modules in an apparatus of an embodiment may be distributed in an apparatus of an embodiment as described in the embodiments, and that corresponding changes may be made in one or more apparatuses different from the present embodiment. The modules of the above embodiments may be combined into one module, or may be further split into a plurality of sub-modules.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.
Claims (8)
1. A sequential logic security detection method for a low-speed synchronous serial bus, comprising:
coupling the simulated low-speed synchronous serial bus transceiver with the low-speed synchronous serial bus, simulating the communication of the low-speed synchronous serial bus, and obtaining all synchronous time sequence signals of the bus communication;
coupling the simulated low-speed synchronous serial bus transceiver with the bus transceiver, and receiving a synchronous time sequence signal of the bus transceiver;
comparing all synchronous time sequence signals of the bus communication with synchronous time sequence signals of the bus transceiver, and if the state of the synchronous time sequence signals of the received bus transceiver is abnormal, timing logic loopholes or hardware trojans exist in the bus transceiver;
the simulation low-speed synchronous serial bus transceiver can realize synchronous time sequence signal simulation through a singlechip or a programmable logic device;
the simulation low-speed synchronous serial bus transceiver realizes synchronous time sequence signal simulation through a singlechip, and specifically comprises the following steps:
the universal parallel I/O interface pin of the singlechip is coupled with the low-speed synchronous serial bus, and the synchronous timing sequence signal of the synchronous low-speed serial bus is simulated through the singlechip software;
the simulation low-speed synchronous serial bus transceiver realizes synchronous time sequence signal simulation through a programmable logic device, and specifically comprises the following steps:
the programmable logic device I/O interface pins are coupled to the low-speed synchronous serial bus, simulate synchronous low-speed serial bus synchronous time sequence signals through hardware description language, and allocate the I/O pins correspondingly coupled to the low-speed synchronous serial bus as simulated transceiver hardware I/O.
2. The method of claim 1, wherein the low speed synchronous serial bus comprises a two-wire serial bus or a full duplex synchronous serial bus.
3. The method of claim 2, wherein if the low speed synchronous serial bus is a two-wire serial bus, the specific manner of coupling the emulated low speed synchronous serial bus transceiver to the bus transceiver is:
the method comprises the steps of coupling a simulated low-speed synchronous serial bus transceiver serial data line signal with a serial data line pin of a two-wire serial bus transceiver, coupling a simulated low-speed synchronous serial bus transceiver serial clock line signal with a pin of a serial clock line of the two-wire serial bus transceiver, and adding a pull resistor on the two-wire serial bus.
4. The method of claim 2, wherein if the low speed synchronous serial bus is a full duplex synchronous serial bus, emulating the coupling of the low speed synchronous serial bus transceiver with the full duplex synchronous serial bus transceiver is performed by:
the simulated low speed synchronous serial bus transceiver input signal is coupled to the output pin of the full duplex synchronous serial bus transceiver, the simulated low speed synchronous serial bus transceiver output signal is coupled to the input pin of the full duplex synchronous serial bus transceiver, the simulated low speed synchronous serial bus transceiver timing signal is coupled to the timing signal pin of the full duplex synchronous serial bus transceiver, the simulated low speed synchronous serial bus transceiver enable signal is coupled to the enable signal pin of the full duplex synchronous serial bus transceiver, and is grounded.
5. The method of claim 1, wherein if the state of the received synchronous timing signal of the bus transceiver is abnormal, an alarm is issued and detailed information of the timing signal is outputted;
wherein the state exception comprises: all of the synchronization timing signals of the bus communication do not include the synchronization timing signals of the bus transceiver, the synchronization timing signals of the bus transceiver being advanced or shifted backward.
6. A sequential logic safety detection device of a low-speed synchronous serial bus is characterized by comprising
A simulated low-speed synchronous serial bus transceiver coupled to the low-speed synchronous serial bus and coupled to the bus transceiver;
the simulation low-speed synchronous serial bus transceiver can realize synchronous time sequence signal simulation through a singlechip or a programmable logic device, and the specific connection mode is as follows:
the universal parallel I/O interface pin of the singlechip is coupled with the low-speed synchronous serial bus, and the synchronous timing sequence signal of the synchronous low-speed serial bus is simulated through the singlechip software;
or, the programmable logic device I/O interface pin is coupled with the low-speed synchronous serial bus, and simulates synchronous timing signals of the synchronous low-speed serial bus through the hardware description language, and distributes the I/O pin correspondingly coupled with the low-speed synchronous serial bus as the hardware I/O of the simulation transceiver;
the device is specifically used for executing the following steps:
coupling the simulated low-speed synchronous serial bus transceiver with the low-speed synchronous serial bus, simulating the communication of the low-speed synchronous serial bus, and obtaining all synchronous time sequence signals of the bus communication;
coupling the simulated low-speed synchronous serial bus transceiver with the bus transceiver, and receiving a synchronous time sequence signal of the bus transceiver;
comparing all synchronous time sequence signals of the bus communication with synchronous time sequence signals of the bus transceiver, and if the state of the synchronous time sequence signals of the received bus transceiver is abnormal, timing logic loopholes or hardware trojans exist in the bus transceiver;
the simulation low-speed synchronous serial bus transceiver can realize synchronous time sequence signal simulation through a singlechip or a programmable logic device;
the simulation low-speed synchronous serial bus transceiver realizes synchronous time sequence signal simulation through a singlechip, and specifically comprises the following steps:
the universal parallel I/O interface pin of the singlechip is coupled with the low-speed synchronous serial bus, and the synchronous timing sequence signal of the synchronous low-speed serial bus is simulated through the singlechip software;
the simulation low-speed synchronous serial bus transceiver realizes synchronous time sequence signal simulation through a programmable logic device, and specifically comprises the following steps:
the programmable logic device I/O interface pins are coupled to the low-speed synchronous serial bus, simulate synchronous low-speed serial bus synchronous time sequence signals through hardware description language, and allocate the I/O pins correspondingly coupled to the low-speed synchronous serial bus as simulated transceiver hardware I/O.
7. The apparatus of claim 6, wherein: the low-speed synchronous serial bus comprises a two-wire serial bus or a full duplex synchronous serial bus, and the specific connection mode of the simulation low-speed synchronous serial bus transceiver and the bus transceiver is as follows:
coupling the serial data line signal of the simulated low-speed synchronous serial bus transceiver with the serial data line pin of the two-wire serial bus transceiver, coupling the serial clock line signal of the simulated low-speed synchronous serial bus transceiver with the pin of the serial clock line of the two-wire serial bus transceiver, and grounding, and adding a pull resistor on the two-wire serial bus;
or, the simulated low speed synchronous serial bus transceiver input signal is coupled with the output pin of the full duplex synchronous serial bus transceiver, the simulated low speed synchronous serial bus transceiver output signal is coupled with the input pin of the full duplex synchronous serial bus transceiver, the simulated low speed synchronous serial bus transceiver timing signal is coupled with the timing signal pin of the full duplex synchronous serial bus transceiver, the simulated low speed synchronous serial bus transceiver enable signal is coupled with the enable signal pin of the full duplex synchronous serial bus transceiver, and is grounded.
8. The apparatus of claim 6, further comprising an alarm module: and the system is used for sending out an alarm when the state of the received synchronous time sequence signal of the bus transceiver is abnormal and outputting detailed information of the time sequence signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910742737.3A CN111027108B (en) | 2019-08-13 | 2019-08-13 | Sequential logic safety detection method and device for low-speed synchronous serial bus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910742737.3A CN111027108B (en) | 2019-08-13 | 2019-08-13 | Sequential logic safety detection method and device for low-speed synchronous serial bus |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111027108A CN111027108A (en) | 2020-04-17 |
CN111027108B true CN111027108B (en) | 2024-02-13 |
Family
ID=70203672
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910742737.3A Active CN111027108B (en) | 2019-08-13 | 2019-08-13 | Sequential logic safety detection method and device for low-speed synchronous serial bus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111027108B (en) |
Citations (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1494226A (en) * | 2002-10-29 | 2004-05-05 | ������������ʽ���� | Transceiver integrated circuit and communication module |
CN1794671A (en) * | 2005-12-26 | 2006-06-28 | 北京中星微电子有限公司 | Method and device of embedding type self-testing for universal serial bus physical layer receiving/sending apparatus |
CN200997135Y (en) * | 2006-11-10 | 2007-12-26 | 上海海尔集成电路有限公司 | Micro-controller structure of universal built-in synchronizing/asynchronizing transceiver |
CN101158855A (en) * | 2007-10-25 | 2008-04-09 | 苏州工业园区新大诚科技发展有限公司 | Serial interface type single-chip data acquisition system |
CN101339543A (en) * | 2007-07-06 | 2009-01-07 | 李世聪 | Universal serial bus full-speed /low speed single end signal 0 transmission method and device |
CN101446623A (en) * | 2008-12-25 | 2009-06-03 | 北京中星微电子有限公司 | Testing method and testing system of USB controller |
CN101499799A (en) * | 2008-12-25 | 2009-08-05 | 四川登巅微电子有限公司 | Circuit and method for time clock signal synchronization |
CN101753212A (en) * | 2009-12-30 | 2010-06-23 | 武汉电信器件有限公司 | Detecting device and detecting method of time sequence parameters of small package pluggable transceiver |
CN101763299A (en) * | 2008-12-23 | 2010-06-30 | 比亚迪股份有限公司 | Method and device for testing universal series bus equipment |
CN101770443A (en) * | 2009-01-07 | 2010-07-07 | 成都市华为赛门铁克科技有限公司 | Time sequence adjusting method for internal IC (integrated circuit) bus, corresponding device and system thereof |
CN102576303A (en) * | 2009-07-20 | 2012-07-11 | 新思公司 | Pseudo-synchronous time division multiplexing |
CN103472748A (en) * | 2013-09-04 | 2013-12-25 | 青岛海信信芯科技有限公司 | Verification system and method of sequential control circuit |
CN103761199A (en) * | 2014-01-03 | 2014-04-30 | 哈尔滨工业大学 | CPCI bus digital-analog input module hardware architecture under VxWorks and CPCI bus digital-analog input timing-configurable driving method under VxWorks |
CN104360970A (en) * | 2014-10-11 | 2015-02-18 | 中国船舶重工集团公司第七二四研究所 | Self-adaptive transmission technology for serial bus protocol |
CN104731007A (en) * | 2015-03-13 | 2015-06-24 | 沈阳中科博微自动化技术有限公司 | Backboard communication assembly and communication method for function security PLC |
CN105302950A (en) * | 2015-10-19 | 2016-02-03 | 北京精密机电控制设备研究所 | Software and hardware cooperation based cross-linking simulation test method for programmable logic device |
CN106569416A (en) * | 2016-10-28 | 2017-04-19 | 珠海格力电器股份有限公司 | Method and device for reusing serial interface and simulation debugging interface of microcontroller |
CN107220193A (en) * | 2016-03-21 | 2017-09-29 | 综合器件技术公司 | Determine that the single-ended signal of feedback equalizer is balanced using programmable 1- taps |
CN107480016A (en) * | 2017-07-27 | 2017-12-15 | 珠海高凌信息科技股份有限公司 | A kind of transmission equipment interface circuit self checking method and its circuitry self test system |
CN108958997A (en) * | 2018-05-23 | 2018-12-07 | 哈尔滨工业大学 | Universal serial bus fault simulation system and analogy method |
CN110011878A (en) * | 2019-04-28 | 2019-07-12 | 西安微电子技术研究所 | Four CAN bus simulated timing diagrams communication test boards of one kind and its test method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8924621B2 (en) * | 2010-11-05 | 2014-12-30 | Linear Technology Corporation | Method and system for detecting and asserting bus speed condition in a USB isolating device |
-
2019
- 2019-08-13 CN CN201910742737.3A patent/CN111027108B/en active Active
Patent Citations (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1494226A (en) * | 2002-10-29 | 2004-05-05 | ������������ʽ���� | Transceiver integrated circuit and communication module |
CN1794671A (en) * | 2005-12-26 | 2006-06-28 | 北京中星微电子有限公司 | Method and device of embedding type self-testing for universal serial bus physical layer receiving/sending apparatus |
CN200997135Y (en) * | 2006-11-10 | 2007-12-26 | 上海海尔集成电路有限公司 | Micro-controller structure of universal built-in synchronizing/asynchronizing transceiver |
CN101339543A (en) * | 2007-07-06 | 2009-01-07 | 李世聪 | Universal serial bus full-speed /low speed single end signal 0 transmission method and device |
CN101158855A (en) * | 2007-10-25 | 2008-04-09 | 苏州工业园区新大诚科技发展有限公司 | Serial interface type single-chip data acquisition system |
CN101763299A (en) * | 2008-12-23 | 2010-06-30 | 比亚迪股份有限公司 | Method and device for testing universal series bus equipment |
CN101446623A (en) * | 2008-12-25 | 2009-06-03 | 北京中星微电子有限公司 | Testing method and testing system of USB controller |
CN101499799A (en) * | 2008-12-25 | 2009-08-05 | 四川登巅微电子有限公司 | Circuit and method for time clock signal synchronization |
CN101770443A (en) * | 2009-01-07 | 2010-07-07 | 成都市华为赛门铁克科技有限公司 | Time sequence adjusting method for internal IC (integrated circuit) bus, corresponding device and system thereof |
CN102576303A (en) * | 2009-07-20 | 2012-07-11 | 新思公司 | Pseudo-synchronous time division multiplexing |
CN101753212A (en) * | 2009-12-30 | 2010-06-23 | 武汉电信器件有限公司 | Detecting device and detecting method of time sequence parameters of small package pluggable transceiver |
CN103472748A (en) * | 2013-09-04 | 2013-12-25 | 青岛海信信芯科技有限公司 | Verification system and method of sequential control circuit |
CN103761199A (en) * | 2014-01-03 | 2014-04-30 | 哈尔滨工业大学 | CPCI bus digital-analog input module hardware architecture under VxWorks and CPCI bus digital-analog input timing-configurable driving method under VxWorks |
CN104360970A (en) * | 2014-10-11 | 2015-02-18 | 中国船舶重工集团公司第七二四研究所 | Self-adaptive transmission technology for serial bus protocol |
CN104731007A (en) * | 2015-03-13 | 2015-06-24 | 沈阳中科博微自动化技术有限公司 | Backboard communication assembly and communication method for function security PLC |
CN105302950A (en) * | 2015-10-19 | 2016-02-03 | 北京精密机电控制设备研究所 | Software and hardware cooperation based cross-linking simulation test method for programmable logic device |
CN107220193A (en) * | 2016-03-21 | 2017-09-29 | 综合器件技术公司 | Determine that the single-ended signal of feedback equalizer is balanced using programmable 1- taps |
CN106569416A (en) * | 2016-10-28 | 2017-04-19 | 珠海格力电器股份有限公司 | Method and device for reusing serial interface and simulation debugging interface of microcontroller |
CN107480016A (en) * | 2017-07-27 | 2017-12-15 | 珠海高凌信息科技股份有限公司 | A kind of transmission equipment interface circuit self checking method and its circuitry self test system |
CN108958997A (en) * | 2018-05-23 | 2018-12-07 | 哈尔滨工业大学 | Universal serial bus fault simulation system and analogy method |
CN110011878A (en) * | 2019-04-28 | 2019-07-12 | 西安微电子技术研究所 | Four CAN bus simulated timing diagrams communication test boards of one kind and its test method |
Also Published As
Publication number | Publication date |
---|---|
CN111027108A (en) | 2020-04-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100541442C (en) | high performance serial bus testing method | |
EP2633418B1 (en) | High speed interchip usb monitoring | |
US7992058B2 (en) | Method and apparatus for loopback self testing | |
KR970076286A (en) | Computer system including system bus and method of device connection by system bus | |
US20130290594A1 (en) | Core-driven translation and loopback test | |
US11762017B2 (en) | Performing scan data transfer inside multi-die package with SERDES functionality | |
US20080140885A1 (en) | Apparatus and method for detecting high speed usb device | |
US7650540B2 (en) | Detecting and differentiating SATA loopback modes | |
CN110647486B (en) | PCIe link training method, end equipment and communication system | |
CN110851376A (en) | PCIe interface design method based on FPGA | |
CN111027108B (en) | Sequential logic safety detection method and device for low-speed synchronous serial bus | |
EP0518511A2 (en) | Computer having I/O channel check and parity check detector | |
US20130234742A1 (en) | Integrated circuit and printed circuit board having receiver testing function | |
US8005999B1 (en) | Data storage system with PCI-E extended reach capability | |
CN116319475A (en) | Signal analysis method, device, equipment and storage medium | |
CN109672482A (en) | Radio frequency module testing method, device, equipment and storage medium | |
US8107575B2 (en) | Method and circuit for changing modes without dedicated control pin | |
US6959398B2 (en) | Universal asynchronous boundary module | |
US20150019772A1 (en) | Signal processing apparatus | |
US8447892B1 (en) | PCI-E extended reach with receive detect circuitry | |
CN105334450A (en) | Signal detection device and method | |
JP2007517327A (en) | Verifying the rate of the received serial transfer alignment sequence | |
CN117436405B (en) | Simulation verification method and device and electronic equipment | |
CN110674000B (en) | Signal testing method and device | |
US6851080B1 (en) | Automatic activation of ASIC test mode |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 150028 building 7, innovation and entrepreneurship square, science and technology innovation city, Harbin high tech Industrial Development Zone, Heilongjiang Province (No. 838, Shikun Road) Applicant after: Antan Technology Group Co.,Ltd. Address before: 150028 building 7, innovation and entrepreneurship square, science and technology innovation city, Harbin high tech Industrial Development Zone, Heilongjiang Province (No. 838, Shikun Road) Applicant before: Harbin Antian Science and Technology Group Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |