Command transmission method and device
By implementing unicast, multicast, and broadcast command transmission methods in multi-channel chips, the limitations of channel selection in existing technologies are solved, multiple operation modes are supported, chip testing efficiency is improved, and costs are reduced.
Patent Information
- Application Number
- CN202310509017.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-08
- Publication Date
- 2024-11-08
AI Technical Summary
In the existing technology, multi-channel chips can only perform register read and write operations on a single channel or all channels, and cannot select any number of channels. In addition, the connection between the control terminal and the channel group is complicated, resulting in large path interference and making it impossible to perform mode register related operations.
A command transmission method is provided, which enables the channel group of the chip by receiving a first command, receives a second command and sends it to the target channel, so as to send commands in unicast, multicast and broadcast manner, simplify the connection between the control terminal and the channel group, and support mode register operation and service access.
It enables register read/write operations and business access for single, multiple, or all channels, improving testing efficiency, reducing testing costs, minimizing path interference, and enhancing command transmission and execution efficiency.
Smart Images

Figure CN118916322A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of chip technology, and in particular to a command transmission method and device. Background Art
[0002] In a chip with a multi-channel (CH) architecture, each channel includes at least one bank group (BG), and each channel is independent of each other. Each channel can read and write data and execute commands independently, which can increase the data throughput inside the chip and improve the processing performance of the chip.
[0003] The related art provides a method for transmitting commands to multiple channels, in which a chip has an interface for connecting to a host device (host), and the output signal of the interface can be transmitted to each channel. The host device connects to the chip through the interface, and then sends an operation command to the chip, which is used to configure the wrapper instruction register (WIR) of the chip, thereby realizing channel selection and read and write operations on the register of the selected channel.
[0004] However, in the WIR register, the bit for channel selection supports selection of a single channel or all channels, so only read and write operations can be implemented on the registers of a single channel or all channels. Summary of the invention
[0005] The present application provides a command transmission method and device, which solves the problem in the related art that only read and write operations can be implemented on registers of a single channel or all channels, and can send commands to channels in unicast, multicast and broadcast modes.
[0006] In a first aspect, the present application provides a command transmission method, applied to a control end, the method comprising: receiving a first command; based on the first command, enabling at least one target channel in a channel group of a chip, the channel group comprising multiple channels; receiving a second command; sending the second command to the at least one target channel so that the at least one target channel executes the second command.
[0007] The first command is used to indicate to enable at least one target channel among multiple channels of the channel group, that is, the channel to be enabled indicated by the first command in the channel group is the target channel, and the at least one target channel is used to execute the subsequent second command.
[0008] The related technology provides a JEDEC (JESD235A) standard for high bandwidth memory (HBM) chips, which stipulates that the HBM chip needs to provide an interface that complies with the Institute of electrical and electronics engineers Standard (IEEE Std) 1500 for connecting to the host device. The output signal of the interface will be transmitted to a single channel or all channels.
[0009] As described in JESD235A, assuming that the HBM chip includes 8 channels, the master device connects to the HBM chip through the IEEE Std 1500 interface, and then configures the WIR of the HBM chip to select the channel and read and write the registers of the selected channel. The WIR consists of 12 bits [11:0], where bits [11:8] are used to store the enable status of each channel, and bits [7:0] are used for register read and write operation commands.
[0010] This technology selects the channel through the [11:8] bits of WIR, so it can only realize single channel selection and all channel selection, and cannot realize the selection of any multiple channels. However, the embodiment of the present application can send the second command to the channel in unicast, multicast and broadcast mode. The unicast mode can make different channels execute commands independently, which is helpful for rapid positioning, and different adjustment code words can also be configured for different channels, which helps to eliminate process deviations of different channels. Multicast and broadcast modes can realize the rapid sending and execution of commands, which can effectively improve the test efficiency, save test time and reduce test costs during chip testing.
[0011] Moreover, in the related art, only register read and write operations can be implemented, and normal service access cannot be implemented. However, in the embodiment of the present application, the second command can include commands of mode register operation type and commands of service operation type, etc., which has the beneficial effect of not only implementing related operations on registers of a single, multiple or all channels, but also implementing service access to a single, multiple or all channels.
[0012] In a possible implementation manner, the control terminal and the channel group are located in a same die of the chip.
[0013] In a possible implementation manner, the chip includes a plurality of Dies, and the control end and the channel group are located in different Dies.
[0014] The related technology also provides a method of controlling multiple pseudo channels to connect one or more Dies through a memory controller. The memory controller can send commands in a broadcast mode, and multiple pseudo channels respond to the commands and perform data access transmission at the same time. Alternatively, the command can be sent in a unicast mode, and a single pseudo channel responds to the command and performs data access transmission.
[0015] However, in this technology, the memory controller and the die are connected through a printed circuit board (PCB) wiring, which results in a complex wiring between the memory controller and the die and a large path interference. In the embodiment of the present application, the control end and the channel group can be located inside the same chip, which simplifies the data wiring between the control end and the channel group, thereby reducing the path interference when transmitting signals between the control end and the channel group.
[0016] In addition, in this technology, only the pseudo channel can be controlled to perform data access transmission, and the Die mode register related operations (such as the configuration of the mode register and the configuration of the test mode inside the mode register) cannot be performed. In the embodiment of the present application, the second command may include commands of the mode register operation type and commands of the business operation type, so that not only data access transmission of a single, multiple or all channels can be realized, but also related operations of the mode register of a single, multiple or all channels (such as the configuration of the mode register and the configuration of the test mode inside the mode register) can be realized.
[0017] In a possible implementation manner, a topological connection manner between the control end and the channel group includes at least one of the following: a bus type, a line type, a star type, and a ring type.
[0018] In a possible implementation, enabling at least one target channel in the channel group of the chip includes: enabling the at least one target channel by configuring a channel enable register corresponding to the second command, the channel enable register being used to indicate an enable state of each channel in the multiple channels; after receiving the second command, the method further includes: determining the at least one target channel based on the channel enable register corresponding to the second command.
[0019] In a possible implementation, the first command and the second command are combined and sent to the control terminal, which has the beneficial effect of improving the command transmission process and improving the command transmission and execution efficiency.
[0020] In a second aspect, the present application provides a command transmission device, which is applied to a control end, and the device includes: a transceiver module, which is used to receive a first command; a processing module, which is used to enable at least one target channel in a channel group of a chip based on the first command, and the channel group includes multiple channels; the transceiver module is also used to receive a second command; the transceiver module is also used to send the second command to the at least one target channel so that the at least one target channel executes the second command.
[0021] In a possible implementation manner, the control end and the channel group are located in a same Die of the chip.
[0022] In a possible implementation manner, the chip includes a plurality of Dies, and the control end and the channel group are located in different Dies.
[0023] In a possible implementation manner, a topological connection manner between the control end and the channel group includes at least one of the following: a bus type, a line type, a star type, and a ring type.
[0024] In a possible implementation, the processing module is specifically used to enable the at least one target channel by configuring a channel enable register corresponding to the second command, wherein the channel enable register is used to indicate an enable state of each channel among the multiple channels; the processing module is also used to determine the at least one target channel based on the channel enable register corresponding to the second command after receiving the second command.
[0025] In a possible implementation manner, the first command and the second command are combined and sent to the control end.
[0026] In a third aspect, the present application provides a command transmission device, comprising: one or more processors; a memory for storing one or more computer programs or instructions; when the one or more computer programs or instructions are executed by the one or more processors, the one or more processors implement a method as described in any one of the first aspects.
[0027] In a fourth aspect, the present application provides a command transmission device, including a processor, configured to execute a method as described in any one of the first aspects.
[0028] In a fifth aspect, the present application provides a command transmission device, comprising: a processing circuit and an interface circuit; wherein the interface circuit is used to couple with a memory outside the command transmission device and provide a communication interface for the processing circuit to access the memory; the processing circuit is used to execute program instructions in the memory to implement any method as described in the first aspect.
[0029] In the specific implementation process, the command transmission device can be a chip, the input circuit can be an input pin, the output circuit can be an output pin, and the processing circuit can be a transistor, a gate circuit, a trigger, and various logic circuits. The input signal received by the input circuit can be, for example, but not limited to, received and input by a receiver, and the signal output by the output circuit can be, for example, but not limited to, output to a transmitter and transmitted by the transmitter, and the input circuit and the output circuit can be the same circuit, which is used as an input circuit and an output circuit at different times. The embodiments of the present application do not limit the specific implementation methods of the processor and various circuits.
[0030] In one implementation, the command transmission device may be a wireless communication device, that is, a computer device that supports wireless communication functions. Specifically, the wireless communication device may be a terminal such as a smart phone, or a wireless access network device such as a base station. The system chip may also be referred to as a system on chip (SoC), or simply as an SoC chip. The communication chip may include a baseband processing chip and a radio frequency processing chip. The baseband processing chip is sometimes also referred to as a modem or a baseband chip. The radio frequency processing chip is sometimes also referred to as a radio frequency transceiver or a radio frequency chip. In a physical implementation, some or all of the chips in the communication chip may be integrated inside the SoC chip. For example, the baseband processing chip is integrated in the SoC chip, and the radio frequency processing chip is not integrated with the SoC chip. The interface circuit may be a radio frequency processing chip in a wireless communication device, and the processing circuit may be a baseband processing chip in a wireless communication device.
[0031] In another implementation, the command transmission device may be a part of a wireless communication device, such as an integrated circuit product such as a system chip or a communication chip. The interface circuit may be an input / output interface, an interface circuit, an output circuit, an input circuit, a pin or a related circuit on the chip or chip system. The processor may also be embodied as a processing circuit or a logic circuit.
[0032] In a sixth aspect, the present application provides a computer-readable storage medium, in which a program code is stored. When the program code is executed by a processor, the method described in any one of the first aspects is implemented.
[0033] In a seventh aspect, the present application provides a chip, comprising: at least one processor. The at least one processor is configured to execute the method as described in any one of the first aspects.
[0034] Optionally, the chip further includes a memory. The at least one processor is used to execute the code in the memory, and when the at least one processor executes the code, the chip implements the method as described in any one of the first aspects.
[0035] Optionally, the above chip may also be an integrated circuit.
[0036] In an eighth aspect, the present application provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to implement the method as described in any one of the first aspects. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 A schematic diagram of the structure of a chip system provided in an embodiment of the present application;
[0038] Figure 2 A schematic diagram of the structure of another chip system provided in an embodiment of the present application;
[0039] Figure 3 A flowchart of a command transmission method provided in an embodiment of the present application;
[0040] Figure 4 A flowchart of another command transmission method provided in an embodiment of the present application;
[0041] Figure 5 A schematic diagram of a signal format provided in an embodiment of the present application;
[0042] Figure 6 A block diagram of a command transmission device provided in an embodiment of the present application;
[0043] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0044] Figure 8 A schematic diagram of the structure of a command transmission device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0045] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in this application. Obviously, the described embodiments are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0046] The terms "first", "second", etc. in the specification embodiments, claims, and drawings of the present application are only used for the purpose of distinguishing descriptions, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, including a series of steps or units. The method, system, product, or device is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products, or devices.
[0047] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0048] The embodiment of the present application provides a chip system with a multi-channel architecture design, which may include at least one chip, and a chip may include a single Die or multiple Dies. For example, the chip may be a dynamic random access memory (DRAM) chip (including a single Die), or may be an HBM chip. An HBM chip is a high-speed computer memory chip formed by stacking multiple DRAM Dies.
[0049] The chip system includes a control end and a channel group, and the control end and the channel group are connected by data routing. The channel group includes multiple channels, and the control end is a test and debug infrastructure (test and debuginfrastructure) of the channel in the chip, for example, a test circuit of the channel. Each channel can independently perform operations such as activation, reading, writing and refreshing, thereby improving the overall efficiency and bandwidth of the chip. That is, the embodiment of the present application can be applied in one or more chips to realize unicast, multicast and broadcast of commands in multiple channels.
[0050] When the chip system includes multiple chips, any two channels in the channel group may be located in the same chip or in different chips. There may be channels in the channel group that are in the same chip as the control end, or there may not be channels in the same chip as the control end. The embodiment of the present application does not limit the distribution of channels and control ends. The control end and channels in other chips may be connected by PCB routing.
[0051] When the chip system includes one chip, if the chip includes a single Die, the control end and the channel group are located in the same Die. If the chip includes multiple Dies, the control end can be located in the same Die as the channel group, or in different Dies, which is not limited in the embodiments of the present application. In this way, the control end and the channel group are located in one chip, which simplifies the data routing between the control end and the channel group, thereby reducing the path interference when transmitting signals between the control end and the channel group.
[0052] When the control terminal and the channel group are located in the same Die, the connection method between the control terminal and the channel group includes but is not limited to metal connection. When the control terminal and the channel group are located in different Dies, the connection method between the control terminal and the channel group includes but is not limited to: through silicon via (TSV) connection and bonding connection. Bonding connection includes but is not limited to: Die Bonding, Die attach, wire bonding, and flip chip bonding.
[0053] The topological connection mode between the control end and the channel group includes at least one of the following: bus type, line type, star type, and ring type. The appropriate topological connection mode can be determined based on the number of channels in the channel group.
[0054] In the embodiment of the present application, the control end may be referred to as a global channel (global channel, GCH), and the channel may be referred to as a normal channel (normal channel, NCH). Figure 1 , Figure 1 A schematic diagram of the structure of a chip system provided in an embodiment of the present application is shown in FIG. Figure 1 The chip system includes one chip, and the chip is an HBM chip as an example for description. Figure 1 A DRAM Die in the HBM chip is shown and it is assumed that the GCH and NCH are located in the same DRAM Die. Figure 1As shown, the DRAM Die includes 18 NCHs (NCH0 to NCH17) and 1 GCH. The GCH includes a control module, which can be used to receive commands, forward commands, and configure the mode register of the DRAM Die. The topological connection between the GCH and the 18 NCHs is a linear connection.
[0055] The GCH is connected to each NCH through an internal repeater or buffer and data routing. The NCH includes two BGs (BG0 and BG1), and between BG0 and BG1 is a TSV and input / output (IO) zone.
[0056] Please refer to Figure 2 , Figure 2 A schematic diagram of the structure of another chip system provided in an embodiment of the present application, Figure 2 The chip system includes one chip, and the chip is an HBM chip as an example for description. Figure 2 A DRAM Die in the HBM chip is shown and it is assumed that the GCH and NCH are located in the same DRAM Die. Figure 2 As shown, the DRAM Die includes 4 NCHs (NCH0 to NCH3) and 1 GCH, and the topological connection mode of the GCH and the 4 NCHs is a star connection.
[0057] Among them, NCH includes broadcast pin, Pins, Pin and select (SEL) pin. Take this figure as an example to explain the enable of NCH. Broadcast is used to input the broadcast enable signal. and Used to input unicast enable signal, SEL is used to output enable signal. Take NCH0 and NCH1 as an example. For NCH0, when NCH0 is enabled by broadcast, Broadcast inputs high level, SEL0 outputs high level, and NCH0 is enabled. When NCH0 is enabled by unicast, S0 and S1 input high level, SEL0 outputs high level, and NCH0 is enabled. For NCH1, when NCH1 is enabled by broadcast, Broadcast inputs high level, SEL1 outputs high level, and NCH1 is enabled. When NCH1 is enabled by unicast, S1 inputs a high level, SEL1 outputs a high level, and NCH1 is enabled. The above example illustrates a method for enabling unicast and broadcast channels. In the embodiment of the present application, a pin for inputting a multicast enable signal can be added according to the example. The high and low levels of the above pins are only exemplary, and the embodiment of the present application does not limit this.
[0058] Figure 1 Due to the large number of NCHs, the structure of NCH is not shown. Figure 1 The NCH structure in can be referred to Figure 2 , the embodiments of the present application will not be described in detail here.
[0059] It can be seen from the above description that in the embodiments of the present application, the structural design of NCH and GCH of different chips can be the same. For chips with different numbers of NCHs, the connection method between GCH and NCH can be changed, so as to adapt to different chips while reducing repeated design.
[0060] It should be noted that Figure 1 and Figure 2 The chip structure shown is for exemplary purposes only. The embodiments of the present application do not limit the number of NCHs and the connection method between GCH and NCH. For example, the chip may also include 1 GCH and 8 NCHs, and the topological connection method between GCH and 8 NCHs is a linear connection.
[0061] The embodiment of the present application provides a command transmission method, which supports the selection of a single, any number of channels, or all channels, so as to implement the execution of commands on the selected single, any number of channels, or all channels. The method can be applied to the control end, for example, Figure 1 or Figure 2 The control module in the GCH shown in FIG. 1 is a control module in the GCH shown in FIG. 1. In the implementation process of the method, the control end can be regarded as a master device (Master), and the channel (ie, NCH) can be regarded as a slave device (Slave).
[0062] Please refer to Figure 3 , Figure 3 A flowchart of a command transmission method provided in an embodiment of the present application is provided. The method can be applied to a control end, for example Figure 1 or Figure 2 The GCH shown. The method may include the following process:
[0063] 101. Receive a first command.
[0064] After the chip is started, when it is necessary to select a channel for executing a subsequent second command, the host or the test machine can send a first command to the chip, and the control end of the chip receives the first command.
[0065] 102. Based on a first command, enable at least one target channel in a channel group of a chip, where the channel group includes a plurality of channels.
[0066] The chip includes channel enable registers corresponding to various types of commands, and the channel enable registers corresponding to the commands store the channels used to execute the commands. Based on the first command, at least one target channel can be enabled by configuring the channel enable register corresponding to the second command.
[0067] Refer to the above Figure 2 Description: When the first command indicates to enable all channels in the channel group, the Broadcast in each NCH inputs a high level and the SEL outputs a high level. When the first command indicates to enable a single channel in the channel group, the enabled NCH Input high level, SEL output high level. All inputs are low level, and SEL all outputs low level.
[0068] 103. Receive a second command.
[0069] 104. Send a second command to at least one target channel, so that the at least one target channel executes the second command.
[0070] The control end may determine at least one target channel based on the channel enable register corresponding to the second command, and then send the second command to the at least one target channel.
[0071] To summarize, the command transmission method provided in the embodiment of the present application enables at least one target channel in a channel group of a chip based on a received first command, where the channel group includes multiple channels, and then sends a second command to the at least one target channel so that the at least one target channel executes the second command. When there is only one target channel, the second command can be sent to a specific channel alone (unicast); when there are multiple target channels, the second command can be sent to multiple specific channels (multicast); when the target channel is all channels in the channel group, the second command can be sent to all channels (broadcast); when each channel needs to execute different commands or receive different data (for example, each channel needs to be configured with a different trim code word, or each channel's mode register needs to be configured with a different value), the corresponding second command (trim code word configuration command or mode register configuration command) can be sent to each channel in sequence in a unicast manner; when multiple channels or all channels need to execute the second command at the same time (for example, multiple or all channels need to be enabled or reset after the chip is powered on), the corresponding second command (enable command or reset command) can be sent to multiple channels in a multicast manner, or the corresponding second command (enable command or reset command) can be sent to all channels in a broadcast manner; the unicast method enables different channels to execute commands independently, which is helpful for rapid positioning, and different trim code words can also be configured for different channels, etc., which helps to eliminate process deviations of different channels. Multicast and broadcast methods can realize the rapid sending and execution of commands, which can effectively improve test efficiency, save test time and reduce test costs during chip testing.
[0072] Please refer to Figure 4 , Figure 4 A flowchart of another command transmission method provided in an embodiment of the present application is provided. The method can be applied to a control end, for example Figure 1 or Figure 2 The control module in the GCH shown. The method may include the following processes:
[0073] 201. Receive a first command.
[0074] The first command is used to indicate at least one target channel among the multiple channels of the enabled channel group, that is, the channel indicated by the first command in the channel group that needs to be enabled is the target channel, and the at least one target channel is used to execute the subsequent second command. Non-target channels will not execute the subsequent second command, so the target channel is determined based on the second command. The second command may include commands of mode register operation type and commands of business operation type, etc. For example, the command of mode register operation type may be, for example, a mode register configuration (MODE REGISTER SET) command or a test mode configuration (TESTMODE SET) command, etc. The command of business operation type may be: an activate (Activate) command or a precharge (Precharge) command.
[0075] In the case where the second command needs to be executed by a single channel, for example, due to process deviations of each channel, it is necessary to configure different trimming codes for each channel, or configure different values for the mode registers of each channel, the first command indicates to enable one channel. In the case where the second command needs to be executed by multiple channels or all channels, for example, multiple channels or all channels are enabled / reset after the chip is powered on, the first command indicates to enable multiple channels or all channels.
[0076] The chip includes channel enable registers corresponding to various types of commands, and the first command is used to configure the channel enable register corresponding to the second command, so as to enable the target channel. For example, the second command is a command of a mode register operation type, and the corresponding channel enable register can be a corresponding register channel enable (register channel enable) register. The second command is a command of a business operation type, and the corresponding channel enable register can be a corresponding command address channel enable (command address channel enable) register.
[0077] The following uses Table 1 and Table 2 as examples to explain the functions of the register channel enable register and the command address channel enable register. Please refer to Table 1, which shows the mode register (ModeRegister) item, bit (binary systems, Bits) item, description (Description) item and notes (Notes) item of the register channel enable register. [8:0] of the Bits item indicates that the register is composed of 9 bits [8:0]. The operation code (operation code, OP) [n] of the Description item = high: Channel n Read / Write Enable means: when OP [n] is high (high), it indicates that channel n is enabled, that is, channel n read / write enable (Channel n Read / Write Enable), and n is an integer greater than or equal to 0 and less than or equal to 8. default 0 means that the default value of OP [n] is 0 when the chip is powered on.
[0078] Table 1
[0079]
[0080] Please refer to Table 2, which shows the Mode Register item, Bits item, Description item, and Notes item of the command address channel enable register. [8:0] in the Bits item indicates that the register consists of 9 bits [8:0]. OP[n]=high in the Description item: Channel n Enable means: when OP[n] is high, it indicates that channel n is enabled, and n is an integer greater than or equal to 0 and less than or equal to 8. Default 0 indicates that the default value of OP[n] is 0 when the chip is powered on.
[0081] Table 2
[0082]
[0083] It should be noted that the aforementioned Table 1 and Table 2 are only exemplary descriptions, and the embodiments of the present application do not limit the functions of the register channel enable register and the command address channel enable register.
[0084] 202. Based on the first command, enable at least one target channel in a channel group of the chip by configuring a channel enable register corresponding to the second command, where the channel enable register is used to indicate an enable state of each channel in the plurality of channels.
[0085] For example, based on the first command, the value of each bit in the channel enable register corresponding to the second command may be configured, thereby enabling at least one target channel.
[0086] Referring to the aforementioned process 201, assuming that the second command is a mode register operation type command, and the target channels indicated by the first command are channel 0, channel 1, channel 4, and channel 5, the control end can configure OP[0], OP[1], OP[4], and OP[5] of the register channel enable register to high, and configure other OPs to low.
[0087] Assuming that the second command is a business operation type command, and the target channels indicated by the first command are channel 2, channel 3, channel 6, channel 7, and channel 8, the control end can configure OP[2], OP[3], OP[6], OP[7], and OP[8] of the command address channel enable register to high, and configure other OPs to low.
[0088] 203. Receive a second command.
[0089] The first command and the second command can be sent to the control end in sequence, or the signal bus width between the host or test machine and the control end can be increased to merge the first command and the second command and send them to the control end. This can improve the command transmission process and improve the command transmission and execution efficiency.
[0090] Please refer to Figure 5 , Figure 5 A schematic diagram of a signal format provided in an embodiment of the present application. Figure 5 Take the example to illustrate the method of combining the first command and the second command and sending them to the control end. The signal includes a first field and a second field, the first field is used to carry the first command, and the second field is used to carry the second command. Among them, the first field may include multiple bits, one bit is a broadcast flag, which is used to indicate whether to broadcast, that is, whether all channels in the channel group are determined as target channels. For example, when the broadcast flag is 0, it indicates not to broadcast; when the broadcast flag is 1, it indicates broadcast. When the broadcast flag indicates not to broadcast, the remaining bits indicate the channel identifier of the target channel. Figure 5 Four bits [3:0] in the first field are shown, bit 0 is a broadcast flag, and bits 1 to 3 are used to indicate the channel identifier of the target channel.
[0091] Optionally, the signal may further include a third field, where the third field is used to carry data required for the channel to execute the second command.
[0092] 204. Determine at least one target channel based on the channel enable register corresponding to the second command.
[0093] Referring to the aforementioned process 201, the control end determines the channel whose OP is currently high in the channel enable register corresponding to the second command as the target channel.
[0094] 205. Send a second command to at least one target channel, so that the at least one target channel executes the second command.
[0095] The second command is transmitted to the target channel through the data line between the control end and the target channel and the Repeater / Buffer inside the target channel.
[0096] When only one channel in the channel group is the target channel, the control end sends the second command in unicast mode. When multiple channels in the channel group are the target channels, the control end sends the second command in multicast mode. When all channels in the channel group are the target channels, the control end sends the second command in broadcast mode. Thus, the control end can send the second command in unicast, multicast and broadcast mode. When the control end sends the second command in multicast or broadcast mode, each target channel can execute the second command at the same time, thereby improving execution efficiency.
[0097] For example, when the second command is a command of a mode register operation type, at least one target channel may be a channel in a channel group, and the control end sends the second command to the target channel in a unicast manner. For example, when the second command is a MODE RESISTER command, the target channel adjusts the internal MODE RESISTER based on the MODE RESISTER command. When the second command is a test mode configuration command, the target channel adjusts the internal TESTMODE based on the test mode configuration command.
[0098] Optionally, if the target channel needs to exchange data with the host or test machine during the execution of the second command, in one example, data can be directly exchanged with the host or test machine through the IO port of the target channel. In another example, the IO port of the target channel can be used to interact with the control end, and then the IO port of the control end can be used to exchange data with the host or test machine.
[0099] In the JEDEC standard, the IEEE Std 1500 interface is only used to provide chip status information query and configuration information writing. The frequency of executing these processes is 0 to 50 megahertz (MHz), which is much lower than the data access frequency of the channel in the normal HBM. In the embodiment of the present application, the second command is forwarded to the NCH through the GCH, and the same timing parameters as the normal access service can be achieved.
[0100] Through the aforementioned process, a channel selection and a sending of a second command are explained. The channel selection can be re-performed and the same or different second command can be sent later. The process can refer to the aforementioned description, and the embodiment of the present application is not repeated here. In the embodiment of the present application, multiple same or different second commands can be sent in sequence after a channel selection, or a channel selection can be performed before each sending of the second command. The embodiment of the present application does not limit the execution time and execution number of the channel selection process.
[0101] To summarize, the command transmission method provided in the embodiment of the present application enables at least one target channel in the channel group of the chip based on the received first command by configuring the channel enable register corresponding to the second command, and the channel enable register is used to indicate the enable status of each channel in multiple channels. Then, based on the channel enable register corresponding to the received second command, at least one target channel is determined, and a second command is sent to the at least one target channel so that the at least one target channel executes the second command. When there is only one target channel, the second command can be sent to a specific channel alone (unicast); when there are multiple target channels, the second command can be sent to multiple specific channels (multicast); when the target channel is all channels in the channel group, the second command can be sent to all channels (broadcast); when each channel needs to execute different commands or receive different data (for example, each channel needs to be configured with a different trim code word, or each channel's mode register needs to be configured with a different value), the corresponding second command (trim code word configuration command or mode register configuration command) can be sent to each channel in sequence in a unicast manner; when multiple channels or all channels need to execute the second command at the same time (for example, multiple or all channels need to be enabled or reset after the chip is powered on), the corresponding second command (enable command or reset command) can be sent to multiple channels in a multicast manner, or the corresponding second command (enable command or reset command) can be sent to all channels in a broadcast manner; the unicast method enables different channels to execute commands independently, which is helpful for rapid positioning, and different trim code words can also be configured for different channels, etc., which helps to eliminate process deviations of different channels. Multicast and broadcast methods can realize the rapid sending and execution of commands, which can effectively improve test efficiency, save test time and reduce test costs during chip testing.
[0102] Moreover, the second command may include commands of mode register operation type and commands of business operation type, etc. Therefore, the embodiments of the present application can not only realize read and write operations on registers of a single, multiple or all channels, but also realize business access to a single, multiple or all channels.
[0103] In addition, in an embodiment of the present application, the control end and the channel group can be located inside the same chip, which simplifies the data routing between the control end and the channel group, thereby reducing path interference when transmitting signals between the control end and the channel group.
[0104] The sequence of the methods provided in the embodiments of the present application can be adjusted appropriately, and the process can be increased or decreased accordingly according to the situation. Any technician familiar with the technical field can easily think of a method of change within the technical scope disclosed in this application, which should be included in the protection scope of this application, and the embodiments of the present application do not limit this.
[0105] The command transmission method provided by the embodiment of the present application is mainly introduced from the perspective of the device. It is understandable that, in order to realize the above functions, the device includes a hardware structure and / or software module corresponding to each function. It should be easily appreciated by those skilled in the art that, in combination with the algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present application.
[0106] The embodiment of the present application can divide the functional modules of the device according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0107] Figure 6A block diagram of a command transmission device provided in an embodiment of the present application, in the case of dividing each functional module according to each function, the command transmission device 300 may include a transceiver module 301 and a processing module 302. Exemplarily, the command transmission device may be a device, or a chip therein, or other combined devices, components, etc. having the functions of the above-mentioned command transmission device. When the command transmission device 300 is a device, the transceiver module 301 may be a transceiver, and the transceiver may include an antenna and a radio frequency circuit, etc.; the processing module 302 may be a processor (or a processing circuit), such as a baseband processor, and the baseband processor may include one or more central processing units (CPUs). When the command transmission device 300 is a device or component having the above-mentioned functions, the transceiver module 301 may be a radio frequency unit; the processing module 302 may be a processor (or a processing circuit), such as a baseband processor. When the command transmission device 300 is a chip system, the transceiver module 301 may be an input and output interface of a chip (such as a baseband chip); the processing module 302 may be a processor (or a processing circuit) of the chip system, and may include one or more central processing units. It should be understood that the transceiver module 301 in the embodiment of the present application can be implemented by a transceiver or a transceiver-related circuit component; the processing module 302 can be implemented by a processor or a processor-related circuit component (or, referred to as a processing circuit).
[0108] The transceiver module 301 can be used to execute Figure 3 or Figure 4 All transceiver operations in the embodiment shown, and / or other processes for supporting the technology described herein; the processing module 302 can be used to perform Figure 3 or Figure 4 All operations except for the transceiver operations in the illustrated embodiments, and / or other processes for supporting the techniques described herein.
[0109] The transceiver module 301 may include a sending module and / or a receiving module, each of which is used to execute Figure 3 or Figure 4 In the sending and receiving operations in the illustrated embodiment, the command transmission device is applied to the control end, and the device includes:
[0110] A transceiver module, configured to receive a first command;
[0111] a processing module, configured to enable at least one target channel in a channel group of a chip based on the first command, wherein the channel group includes a plurality of channels;
[0112] The transceiver module is further used to receive a second command;
[0113] The transceiver module is further configured to send the second command to the at least one target channel so that the at least one target channel executes the second command.
[0114] In combination with the above solution, the control end and the channel group are located in the same Die of the chip.
[0115] In combination with the above solution, the chip includes multiple Dies, and the control end and the channel group are located in different Dies.
[0116] In combination with the above solution, the topological connection mode between the control end and the channel group includes at least one of the following: bus type, line type, star type, and ring type.
[0117] In combination with the above scheme, the processing module is specifically used to enable the at least one target channel by configuring the channel enable register corresponding to the second command, and the channel enable register is used to indicate the enable status of each channel in the multiple channels; the processing module is also used to determine the at least one target channel based on the channel enable register corresponding to the second command after receiving the second command.
[0118] In combination with the above solution, the first command and the second command are combined and sent to the control end.
[0119] Figure 7 4 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device 400 may be a device or a chip or a functional module in the device. Figure 7 As shown, the electronic device 400 includes a processor 401 , a transceiver 402 and a communication line 403 .
[0120] The processor 401 is used to execute the following Figure 3 and Figure 4 In any step of the method embodiment shown, when executing a process such as receiving a first command or receiving a second command, the transceiver 402 and the communication line 403 may be selectively called to complete the corresponding operation.
[0121] Furthermore, the electronic device 400 may further include a memory 404. The processor 401, the memory 404 and the transceiver 402 may be connected via a communication line 403.
[0122] The transceiver 402 is used to communicate with other devices or other communication networks, such as Ethernet, radio access network (RAN), wireless local area network (WLAN), etc. The transceiver 402 can be a module, a circuit, a transceiver or any device capable of achieving communication.
[0123] The transceiver 402 is mainly used for sending and receiving commands, etc., and may include a transmitter and a receiver, which respectively send and receive commands, etc.; operations other than sending and receiving commands, etc. are implemented by the processor, such as enabling at least one target channel in the channel group of the chip, etc.
[0124] The communication line 403 is used to transmit information between the components included in the electronic device 400.
[0125] In one design, the processor may be considered as the logic circuit and the transceiver may be considered as the interface circuit.
[0126] The memory 404 is used to store instructions, where the instructions may be computer programs.
[0127] It should be noted that the memory 404 can exist independently of the processor 401, or can be integrated with the processor 401. The memory 404 can be used to store instructions or program codes or some data, etc. The memory 404 can be located inside the electronic device 400, or outside the electronic device 400, without limitation. The processor 401 is used to execute the instructions stored in the memory 404 to implement the method provided in the above embodiment of the present application.
[0128] In one example, the processor 401 may include one or more processors, such as Figure 7 Processor 0 and processor 1 in.
[0129] As an optional implementation, the electronic device 400 includes multiple processors, for example, Figure 7 In addition to the processor 401, a processor 407 may also be included.
[0130] As an optional implementation, the electronic device 400 further includes an output device 405 and an input device 406. Exemplarily, the input device 406 is a device such as a keyboard, a mouse, a microphone or a joystick, and the output device 405 is a device such as a display screen and a speaker.
[0131] It should be noted that the electronic device 400 may be a chip system or a Figure 7Devices with similar structures in the chip system. Among them, the chip system can be composed of chips, or it can include chips and other discrete devices. The actions, terms, etc. involved in the various embodiments of this application can refer to each other without limitation. The message name or parameter name in the message exchanged between the various devices in the embodiment of this application is only an example, and other names can also be used in the specific implementation without limitation. In addition, Figure 7 The components shown in the figure do not constitute a limitation on the electronic device 400. Figure 7 In addition to the components shown, the electronic device 400 may include Figure 7 More or fewer components may be shown, or certain components may be combined, or the components may be arranged differently.
[0132] The processor and transceiver described in the present application can be implemented in an integrated circuit (IC), an analog IC, a radio frequency integrated circuit, a mixed signal IC, an application specific integrated circuit (ASIC), a PCB, an electronic device, etc. The processor and transceiver can also be manufactured using various IC process technologies, such as complementary metal oxide semiconductor (CMOS), N-type metal oxide semiconductor (NMOS), P-type metal oxide semiconductor (PMOS), bipolar junction transistor (BJT), bipolar CMOS (BiCMOS), silicon germanium (SiGe), gallium arsenide (GaAs), etc.
[0133] Figure 8 The following is a schematic diagram of a command transmission device provided in an embodiment of the present application. The command transmission device can be applied to the scenario shown in the above method embodiment. For ease of explanation, Figure 8 Only the main components of the command transmission device are shown, including a processor, a memory, a control circuit, and an input-output device. The processor is mainly used to process the communication protocol and communication data, execute the software program, and process the data of the software program. The memory is mainly used to store the software program and data. The control circuit is mainly used for power supply and transmission of various electrical signals. The input-output device is mainly used to receive data input by the user and output data to the user.
[0134] When the command transmission device is a device, the control circuit can be a mainboard, the memory includes a hard disk, RAM, ROM and other media with storage functions, the processor can include a baseband processor and a central processing unit, the baseband processor is mainly used to process the communication protocol and communication data, the central processing unit is mainly used to control the entire command transmission device, execute software programs, and process the data of software programs, and the input and output devices include a display screen, a keyboard and a mouse, etc.; the control circuit can further include or connect a transceiver circuit or a transceiver, such as: a network cable interface, etc., for sending or receiving data or signals, such as data transmission and communication with other devices. Furthermore, it can also include an antenna for sending and receiving wireless signals, and for data / signal transmission with other devices.
[0135] According to the method provided in the embodiments of the present application, the present application also provides a computer program product, which includes a computer program code. When the computer program code runs on a computer, the computer executes any of the methods described in the embodiments of the present application.
[0136] The embodiment of the present application also provides a computer-readable storage medium. All or part of the processes in the above method embodiments can be executed by a computer or a device with command transmission capability to control the relevant hardware to complete. The computer program or the group of instructions can be stored in the above computer-readable storage medium. When the computer program or the group of instructions is executed, it can include the processes of the above method embodiments. The computer-readable storage medium can be an internal storage unit of the control end of any of the above embodiments, such as a hard disk or memory of the control end. The above computer-readable storage medium can also be an external storage device of the above control end, such as a plug-in hard disk equipped on the above control end, a smart memory card (smart media card, SMC), a secure digital (secure digital, SD) card, a flash card (flash card), etc. Further, the above computer-readable storage medium can also include both the internal storage unit of the above control end and an external storage device. The above computer-readable storage medium is used to store the above computer program or instructions and other programs and data required by the above control end. The above computer-readable storage medium can also be used to temporarily store data that has been output or is to be output.
[0137] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0138] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0139] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0140] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0141] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0142] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard drives, ROM, RAM, magnetic disks or optical disks.
[0143] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A command transmission method, characterized in that: Applied to the control end, the method includes: receiving a first command; Based on the first command, enable at least one target channel in a channel group of a chip, where the channel group includes a plurality of channels; receiving a second command; The second command is sent to the at least one target channel, so that the at least one target channel executes the second command.
2. The method according to claim 1, characterized in that The control terminal and the channel group are located in a same die of the chip.
3. The method according to claim 1, characterized in that The chip includes a plurality of Dies, and the control end and the channel group are located in different Dies.
4. The method according to any one of claims 1 to 3, characterized in that: The topological connection mode between the control end and the channel group includes at least one of the following: bus type, line type, star type, and ring type.
5. The method according to any one of claims 1 to 4, characterized in that: At least one target channel in the channel group of the enabling chip includes: enabling the at least one target channel by configuring a channel enable register corresponding to the second command, wherein the channel enable register is used to indicate an enable state of each channel in the plurality of channels; After receiving the second command, the method further includes: The at least one target channel is determined based on a channel enable register corresponding to the second command.
6. The method according to any one of claims 1 to 5, characterized in that: The first command and the second command are combined and sent to the control end.
7. A command transmission device, characterized in that: Applied to a control terminal, the device comprises: A transceiver module, configured to receive a first command; a processing module, configured to enable at least one target channel in a channel group of a chip based on the first command, wherein the channel group includes a plurality of channels; The transceiver module is further used to receive a second command; The transceiver module is further configured to send the second command to the at least one target channel so that the at least one target channel executes the second command.
8. The device according to claim 7, characterized in that The processing module is specifically configured to enable the at least one target channel by configuring a channel enable register corresponding to the second command, wherein the channel enable register is used to indicate an enable state of each channel in the plurality of channels; The processing module is further configured to, after receiving the second command, determine the at least one target channel based on the channel enable register corresponding to the second command.
9. A command transmission device, characterized in that: The device comprises: one or more processors; a memory for storing one or more computer programs or instructions; When the one or more computer programs or instructions are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 6.
10. A command transmission device, characterized in that: include: Processing circuit and interface circuit; wherein, The interface circuit is used to couple with a memory outside the command transmission device and provide a communication interface for the processing circuit to access the memory; The processing circuit is used to execute the program instructions in the memory to implement the method according to any one of claims 1 to 6.
