The invention provides a
chip testing method and device, a
chip testing
machine and a storage medium, and relates to the technical field of
chip testing, and the method comprises the steps: determining a target register of a target enabling end of a
clock gating unit in a chip; obtaining a target
scan chain based on a plurality of target register combinations; generating a target enable
signal through the set values of a plurality of target registers on the target
scan chain; and controlling a target
clock gating unit corresponding to a target enabling end in the
clock gating units to be opened or closed through the target enabling
signal. On the basis of generating the target
scan chain, the
clock gating unit can be controlled to be opened and closed in the chip scan test mode by controlling the value of the register, so that the control difficulty of the
clock gating unit is reduced, the opening proportion of the
clock gating unit is effectively controlled, the number of test vectors is reduced, the test coverage rate is improved, and the
test efficiency is improved. Therefore, the
test power consumption during the chip scanning test is reduced, and the test cost is reduced.