# US 2021/0342148 A1 · Apparatus and methods related to microcode instructions indicating instruction types

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0342148 A1
- Document ID: US20210342148A1
- Status: Published application
- Kind: A1
- Application number: 17/372,841
- Filed: 2021-07-12
- Published: 2021-11-04
- Earliest claimed: 2016-08-24
- Assignees: Micron Technology, Inc.
- Applicants: Micron Technology, Inc.
- Inventors: Shawn Rosti; Timothy P. Finkbeiner
- Web page: https://patentgrep.com/patent/US20210342148A1

## CPC

- G06F 9/261: {Microinstruction address formation}
- G06F 9/226: {Microinstruction function, e.g. input/output microinstruction; diagnostic microinstruction; microinstruction format}
- G06F 9/28: Enhancement of operational speed, e.g. by using several microcontrol devices operating in parallel
- G06F 9/30145: {Instruction analysis, e.g. decoding, instruction word fields}
- G06F 9/30185: {according to one or more bits in the instruction, e.g. prefix, sub-opcode}
- G06F 12/0875: with dedicated cache, e.g. instruction or stack
- G06F 15/7821: {Tightly coupled to memory, e.g. computational memory, smart memory, processor in memory}
- G06F 2212/452: Instruction code
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The present disclosure includes apparatuses and methods related to microcode instructions indicating instruction types. One example apparatus comprises a memory storing a set of microcode instructions. Each microcode instruction of the set can comprise a first field comprising a number of control data units, and a second field comprising a number of type select data units. Each microcode instruction of the set can have a particular instruction type defined by a value of the number of type select data units, and particular functions corresponding to the number of control data units are variable based on the particular instruction type.

## Claims

### Claim 1

An apparatus, comprising:
a processing resource configured to execute a microcode instruction, the microcode instruction comprising:
a number of type select data units, wherein each value of the number of type select data units corresponds to a respective one of a number of instructions types; and
a number of control data units whose functions are variable based on a respective instruction type indicated by a value of the number of type select data units; and
the processing resource further configured to, when the microcode instruction is executed, control a component within or outside of the processing resource based at least in part on a respective instruction type indicated by a value of the number of type select data units.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the processing resource is a processor of a host, the processor configured to control the component outside of the processor to further control input/output (I/O) operations between a number of memory devices and the host.

### Claim 3 (depends on 1)

The apparatus of claim 1, wherein the component within the processing resource comprises a program counter, a register, or an arithmetic log unit (ALU), or any combination thereof.

### Claim 4 (depends on 1)

The apparatus of claim 1, wherein the processing resource is configured to, when the microcode instruction is executed:
control the component within the processing resource in response to:
a data unit of the number of control data units having a particular value; and
the number of type select data units having a first value; and
control the component outside of the processing resource in response to:
the same data unit of the number of control data units having the particular value; and
the number of type select data units having a second value.

### Claim 5

An apparatus, comprising:
a controller configured to store a number of microcode instructions, wherein each of the number of microcode instructions comprises a number of type select bits and a number of control data units, wherein:
when a value of the number of type select bits in a particular one of the microcode instructions is a first value, then the particular microcode instruction is of a first instruction type and a value of the number of control data units is used to control a component within the controller; and
when the value of the number of type select bits in the particular one of the microcode instructions is a second value, then the particular microcode instruction is of a second instruction type and the value of the number of control data units is used to control the component outside of the controller.

### Claim 6 (depends on 5)

The apparatus of claim 5, wherein the component within the controller is a register of the controller.

### Claim 7 (depends on 5)

The apparatus of claim 5, wherein the component within the controller is an arithmetic logic unit (ALU) of the controller.

### Claim 8 (depends on 5)

The apparatus of claim 5, wherein the controller comprises a cache configured to store the number of microcode instructions, and the controller further comprises a sequencer and timing circuitry.

### Claim 9 (depends on 5)

The apparatus of claim 5, wherein the component outside of the controller comprises sensing circuitry of a memory device.

### Claim 10 (depends on 9)

The apparatus of claim 9, wherein the controller comprises a controller of the memory device.

### Claim 11 (depends on 5)

The apparatus of claim 5, wherein the component outside of the controller comprises logic of a memory device.

### Claim 12 (depends on 5)

The apparatus of claim 5, wherein the component outside of the controller comprises decode circuitry of a memory device.

### Claim 13 (depends on 5)

The apparatus of claim 5, wherein the controller is configured to fetch one or more of the number of microcode instructions from a memory array of a memory device.

### Claim 14 (depends on 5)

The apparatus of claim 5, wherein the controller is configured to fetch one or more of the number of microcode instructions from a host.

### Claim 15

A system, comprising:
a controller configured to execute a microcode instruction, the microcode instruction comprising:
a number of type select data units, wherein each value of the number of type select data units corresponds to a respective one of a number of instruction types; and
a number of control data units whose functions are variable based on a respective instruction type indicated by a value of the number of type select data units;
the controller further configured to, when the microcode instruction is executed:
responsive to a value of the number of types select data units indicating a first instruction type, control a component within the controller based on a value of at least one of the number of control data units; and
responsive to a value of the number of types select data units indicating a second instruction type, control a component outside of the controller based on a value of the at least one of the number of control data units and a value of the number of type select data units indicating a second instruction type.

### Claim 16 (depends on 15)

The system of claim 15, wherein the controller further comprises, for execution of the microcode instruction, a program counter, a register, an arithmetic logic unit (ALU), a branching logic, or a state machine, or any combination thereof.

### Claim 17 (depends on 15)

The system of claim 15, wherein the at least one of the components within controller comprises an arithmetic logic unit (ALU) or a register, or both.

### Claim 18 (depends on 15)

The system of claim 15, wherein the at least one of the components outside of the controller comprises sensing circuitry, logic circuitry, or decode circuitry, or combination thereof.

### Claim 19 (depends on 15)

The system of claim 15, wherein:
the controller is further coupled to sensing circuitry that is coupled to an array of memory cells; and
the controller further comprises timing circuitry to coordinate timing between execution of a microcode instruction associated with performing one or more logical operations using the sensing circuitry and execution of a microcode instruction associated with transferring data from the array to the controller.

### Claim 20 (depends on 19)

The system of claim 19, wherein the timing circuitry further comprises a state machine, a first-in, first-out (FIFO) buffer, a row address strobe chain interface, or any combination thereof.
