1. Technical Field
Exemplary embodiments of the inventive concept relate generally to semiconductor integrated circuits and more particularly to an adaptive service controller, a system on chip (SOC) and a method of controlling the SOC for enhancing quality of service (QOS).
2. Discussion of Related Art
An SOC indicates a chip or a system on the chip in which various semiconductor components are integrated as one chip. The recent market trend is away from application specific integrated circuits (ASICs) and application specific standard products (ASSPs), toward SOC technologies. Further, there is an increasing demand for reducing the size and increasing the performance level of the SOC. While the integration degree of the SOC may be increased by integrating additional components into one chip, an operational speed of the SOC may not increase sufficiently.
At least one exemplary embodiment of the inventive concept provides a service controller and a system on chip (SOC) including the service controller, capable of controlling request flows adaptively depending on change of an operational environment change of the SOC.
At least one exemplary embodiment of the inventive concept provides a method of controlling an SOC, capable of controlling request flows adaptively depending on an operational environment change of the SOC.
According to an exemplary embodiment of the inventive concept, a system on chip (SOC) includes a slave device (e.g., or several slave devices), a plurality of master devices, an interconnect device and a plurality of service controllers. The master devices generate requests to demand services from the slave device. The interconnect device is coupled to the slave device and the master devices through respective channels, and the interconnect device performs an arbitrating operation on the requests. The service controllers control request flows from the master devices adaptively depending on an operational environment change of the SOC.
The SOC may further include a global controller configured to generate a global control signal based on at least one state signal, where the global control signal indicates the operational environment change. The service controllers may control the request flows based on the global signal.
The slave device may include a memory controller and the master devices may include a modem and a display controller. The state signal may include at least one of a first state signal that is activated when an operational temperature of the memory controller becomes greater than a threshold temperature, a second state signal that is activated when the modem is not serviced by the slave device for a threshold time, and a third state signal that is activated when a data buffer rate of the display controller is lower than a threshold rate.
Each of the service controllers may include a monitor configured to generate a credit value by detecting a service requirement level of the corresponding master device in realtime, and a control block configured to generate a local control signal to control the monitor based on the operational environment change and configured to generate a priority information signal for the request from the corresponding master device based on the credit value.
The local control signal may include an overflow value, a unit increment value and a unit decrement value. The monitor may include a first counter configured to generate a first event signal that is activated with a period corresponding to the overflow value, a service detector configured to generate a second event signal based on channel signals transferred between the corresponding master device and the interconnect device, where the second event signal is activated when the corresponding master device is serviced by the slave device, and a second counter configured to increase the credit value by the unit increment value in response to each activation of the first event signal and configured to decrease the credit value by the unit decrement value in response to each activation of the second event signal.
The control block may change at least one of the overflow value, the unit increment value and the unit decrement value based on the operational environment change to control the request flow from the corresponding master device.
The control block may promote the request flow of the corresponding master device by decreasing the overflow value, increasing the unit increment value or decreasing the unit decrement value, and demote the request flow from the corresponding master device by increasing the overflow value, decreasing the unit increment value or increasing the unit decrement value.
The local control signal may further include a steal value that is provided when the operational environment change occurs, and second counter may decrease the credit value by the steal value.
At least one of the service controllers may include a limiter configured to block the request flow from the corresponding master device in response to a limit signal from the control block.
The control block may activate the limit signal when the credit value is smaller than a grant value, and change the grant value based on the operational environment change to control the request flow from the corresponding master device.
The limiter may include a synchronizer configured to generate a synchronized limit signal based on the limit signal, a first logic gate configured to output a masked valid signal by performing a logic operation on the synchronized limit signal and a valid signal from the corresponding master device, and a second logic gate configured to output a masked ready signal by performing a logic operation on the synchronized limit signal and a ready signal from the interconnect device.
The control block may set a plurality of operation modes by dividing ranges of the credit value and change values of the local control signal based on the operation modes to control the request flow from the corresponding master device.
The operation modes may include a promotion mode corresponding to the credit value greater than an upper boundary value, a default mode corresponding to the credit value smaller than the upper boundary value and greater than a lower boundary value, and a demotion mode corresponding to the credit value smaller than the lower boundary value.
The control block may change the values of the local control signal based on the operation modes such that the corresponding master device is allowed to have a larger bandwidth in the promotion mode than the default mode and a larger bandwidth in the default mode than the demotion mode.
The slave device may include a request queue configured to store the requests transferred from the master devices via the interconnect device, and a scheduler configured to adjust a service order with respect to the stored requests based on priorities of the stored request.
The master devices may include at least one realtime master device, and the service controller corresponding to the realtime master device may generate an urgent signal indicating that the realtime master device requires an urgent service from the slave device.
The scheduler may increase the priority of the stored requests from the realtime master device based on the urgent signal.
The SOC may further include a transmission line that is point-to-point coupled between the slave device and the service controller corresponding to the realtime master device, and the urgent signal may be transferred via the signal line directly from the service controller corresponding to the realtime master device to the slave device.
The master devices may include at least one best effort master device, the slave device may generate an external limit signal based on the operational environment change, and the service controller corresponding to the best effort master device may block the request flow from the best effort master device in response to the external limit signal.
The slave device may activate the external limit signal when the number of the stored requests in the request queue is greater than a threshold number.
The master devices may further include at least one realtime master device, and the slave device may activate the external limit signal in response to an urgent signal indicating that the realtime master device requires an urgent service from the slave device.
The realtime master device may include a display controller and the best effort master device includes a processor.
The SOC may further include a transmission line that is point-to-point coupled between the slave device and the service controller corresponding to the best effort device, the external limit signal may be transferred via the signal line directly from the slave device to the service controller corresponding to the best effort master device.
According to an exemplary embodiment of the inventive concept, a method is provided to control a system on chip (SOC) including at least one slave device, a plurality of master devices configured to generate requests to demand services from the slave device, respectively, and an interconnect device coupled to the slave device and the master devices through respective channels. The method includes generating at least one state signal indicating an operational state of at least one of the slave device and the master devices, generating a global control signal based on the state signal, the global control signal indicating an operational environment change of the SOC, and controlling request flows from the master devices adaptively depending on the global control signal.
According to an exemplary embodiment of the inventive concept, a service controller is provided to control a request flow from a master device to a slave device. The service controller includes a monitor configured to generate a credit value by detecting a service requirement level of the master device in realtime, and a control block configured to generate a local control signal to control the monitor based on an operational environment change and configured to generate a priority information signal for requests from the master device based on the credit value.
A system on chip (SOC) according to an exemplary of the inventive concept includes a slave device, first and second master devices configured to generate requests to demand services from the slave device, a sensor configured to detect whether an environmental condition of the SOC is in an abnormal state, a service controller configured to increase a priority of the request from one of the first and second master devices, and decrease a priority of the request from the other one of the first and second master devices when the abnormal state has been detected, and an interconnect device coupled to the slave device and the master devices through respective channels. The interconnect device is configured to perform an arbitrating operation on the requests based on the corresponding priorities.
In an exemplary embodiment, the environmental condition is a temperature of the slave device and the abnormal state indicates that the temperature exceeds a threshold temperature. In an exemplary embodiment, the environmental condition is latency of an exchange between the slave device and one of the master devices, and the abnormal state indicates the latency is greater than a threshold time. In an exemplary embodiment, the environmental condition is a data buffer rate of a data buffer in one of the master devices, and the abnormal state indicates the data buffer rate is lower than a threshold rate.
Exemplary embodiments of the inventive concept will be more clearly understood from the following detailed description taken in conjunction with the accompanying drawings.
The inventive concept will be described more fully hereinafter with reference to the accompanying drawings, in which some exemplary embodiments of the inventive concept are shown. The inventive concept may, however, be embodied in many different forms and should not be construed as limited to the exemplary embodiments set forth herein. In the drawings, the sizes and relative sizes of layers and regions may be exaggerated for clarity. Like numerals refer to like elements throughout.
As used herein, the singular forms “a,” “an” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should also be noted that in some alternative implementations, the functions/acts noted in the blocks of a method may occur out of the order noted in the illustrated flowcharts (e.g., see
The master devices 101, 102 and 103 and the slave devices 301 and 302 may be referred to as an intellectual property (IP), respectively. In an exemplary embodiment, the master devices 101, 102 and 103 and/or slave devices 301 and 302 are reusable units of logic, cells, or a portion of a chip that contains the IP of one or more parties. The master devices and/or slave devices may also be referred to as IP cores or IP blocks. While
The master devices 101, 102 and 103 may generate requests to demand services from at least one of the slave devices 301 and 302, respectively. At least one of the slave devices 301 and 302 may be shared by the master devices 101, 102 and 103 as a common resource.
The slave devices 301 and 302 and the master devices 101, 102 and 103 are coupled to the interconnect device 10 through respective channels. One or more channels may be implemented between the interconnect device 10 and each of the master and slave devices 101, 102, 103, 301 and 302. For example, a read channel and a write channel may be implemented between the interconnect device 10 and one IP, respectively. The interconnect device 10 may perform an arbitrating operation on the requests from the master devices 101, 102 and 103. In an example of the arbitrating operation, when the interconnect device 10 receives two requests from two master devices for service by the same master device, the interconnect device determines which of the two requests should be carried out by the slave device. The interconnect device 10 may include at least one arbiter for performing the arbitrating operation.
The service controllers 501, 502 and 503 control request flows from the master devices 101, 102 and 103 adaptively depending on an operational environment change of the system 1000. The operational environment change may be referred to as an operational condition change or an operational state change. The SOC 1000 may include one or more sensors to determine whether an operational or environmental state of the SOC 1000 or a component therein (e.g., one of the slave devices) is in an abnormal state (e.g., is operating temperature, data buffer rate, latency, etc. operating outside of a pre-defined threshold range). In an example embodiment, the sensor(s) are located in the slave devices.
The operational environment change may be provided using one or more state signals. As an example, it is assumed that the second slave device 302 is a memory controller, the second master device 102 is a modem and the third master device 103 is a display controller.
The memory controller 302 may generate a first state signal ST1 that is activated when an operational temperature of the memory controller 302 becomes greater than a threshold temperature. The memory controller 302 may include a temperature sensor for detecting its operational temperature. The memory controller may be designed to reduce its operational speed when the operational temperature increases above the threshold temperature to ensure reliability of the operation of the memory controller. When the operational speed of the memory controller 302 is reduced, in one scenario, the number of requests that are received from the master devices for sharing the memory controller 302 as a common resource may be reduced, demoted, eliminated or blocked entirely, while ensuring a bandwidth requirement level of the realtime master device. In an exemplary embodiment, a request that is demoted has its priority reduced so that it can be fulfilled at a later time when the operational speed of the memory controller 302 has been restored to a normal level. For example, in an exemplary embodiment, some of the requests could have their priorities reduced, and then only those with priorities above a certain threshold would be fulfilled by the memory controller 302.
The modem 102 may generate a second state signal ST2 that is activated when the modem 102 had not been serviced by the slave device 302 for a threshold time. Due to a communication protocol with an external device, a generated or issued request may be invalidated if the modem 102 has not been serviced for the threshold time. For example, service by the slave device 302 could include sending data to the modem 102 from the slave device 302 in response to receipt of a request from the modem 102. When the service to the modem 102 from the memory controller 302 is seriously delayed due to the operational condition or environment change, in one scenario, the number of requests that are received from other master devices may be reduced, demoted, eliminated, or blocked to ensure the latency requirement level of the modem 102.
The display controller 103 may generate a third state signal ST3 that is activated when a data buffer rate of the display controller 103 becomes lower than a threshold rate. In an exemplary embodiment, the display controller 103 is a realtime IP that requires display data regularly. If the display data is serviced (e.g., sent) in time by the memory controller 302, a user may recognize it as poor performance of the product. When the data buffer rate is lower than the threshold rate, in one scenario, the number of requests that are received from other master devices may be reduced, demoted, eliminated or blocked to ensure the bandwidth requirement level of the display controller 103.
The above-mentioned scenarios may be determined variously considering the operational characteristics of the system 1000 and/or the selection of the user. Exemplary embodiments of the scenarios to control the request flows (e.g., flow of requests) based on the operational environment change are described below with reference to
In an exemplary embodiment, as illustrated in
In an exemplary embodiment, the global controller 30 is omitted and the state signals ST1, ST2 and ST3 are provided directly to the service controllers 501, 502 and 503. In this embodiment, the service controllers 501, 502 and 503 may be configured to control the respective request flows based on each of the state signal ST1, ST2 and ST3 or a combination thereof.
The numbers of the master devices and the slave devices in
Referring to
Hereinafter, various exemplary embodiments of the system of
Referring to
The monitor 520 may generate a credit value CRD by detecting a service requirement level of the corresponding master device 100 in realtime. The service requirement level may be detected as a bandwidth, outstanding count value and/or an average latency. The bandwidth is a data amount that is served or transferred (e.g., to a master device) during a unit time. As described below, the credit value CRD may correspond to the bandwidth. The outstanding count value is the number of the requests that have been issued but not yet serviced. The latency is a delay from when the master device issues the request for service to when the requested service has completed. The monitor 520 in
The control block 530 may generate a local control signal LCON to control the monitor 520 based on the operational environment change. The operational environment change may be provided with the global control signal GCON as illustrated in
The limiter 510 may block the request flow from the corresponding master device 100 in response to a limit signal LMT from the control block 530. The limiter 510 may be omitted in the service controller 500a depending on the operational characteristics of the corresponding master device 100.
Depending on the operational characteristic of the master device, the service requirement level may be represented as a bandwidth. The bandwidth is a data amount that is served or transferred during a unit time. For example, data may be served to the master device (e.g., a display controller) from the slave device (e.g., a memory controller) that is coupled to the master device through the interconnect device. The master device may store the served data in a data buffer to perform its own function on the stored data. Performing of the function on the stored data and outputting the result may be referred to as consuming the data.
A data occupancy state of a line buffer in the master device is illustrated using oblique lines in
The higher priority may be assigned as the line buffer pointer LBP is decreased and the lower priority may be assigned as the line buffer pointer LBP is increased. The higher priority indicates the higher bandwidth requirement level. The relation between the line buffer pointer LBP and the priority may be determined according to the scenario of the system. For example, the entire range of the line buffer pointer LBP between the full position and the empty position may be partitioned into a plurality of sub ranges, and the priority values may be assigned sequentially to the sub ranges.
Referring to
The first counter 521 generates a first event signal CEV that is activated with a period corresponding to an overflow value OV. For example, the first counter 521 may count clock cycles of a clock signal CLK and the first event signal CEV may be a pulse signal that is activated whenever the counting value reaches the overflow value OV. The clock signal CLK may be an operational clock signal of the corresponding master device 100.
The service detector 525 generates a second event signal SEV based on channel signals CHN transferred between the corresponding master device 100 and the interconnect device 10. The second event signal SEV is activated when the corresponding master device 100 is serviced by the slave device (e.g., receives data from the slave device).
The second counter 523 increases the credit value CRD by a unit increment value INC in response to each activation of the first event signal CEV and decreases the credit value CRD by a unit decrement value DEC in response to each activation of the second event signal SEV. In an exemplary embodiment, the second counter 523 may decrease the credit value CRD when a steal value STL is provided. The control block 530 of
As such, the bandwidth requirement level of the corresponding master device 100 may be represented in realtime by the credit value. The greater credit value CRD may represent the higher bandwidth requirement level and the smaller credit value CRD may represent the lower bandwidth requirement level.
The overflow value OV, the unit increment value INC, the unit decrement value DEC, and the steal value STL may be included in the local control signal LCON from the control block 530. The overflow value OV, the unit increment value INC, the unit decrement value DEC, and the steal value STL may be determined based on the scenarios of the system and the control block 530 may change the values OV, INC, DEC and STL depending on the operational environment change. For example, the values OV, INC, DEC and STL may be provided to the control block 530 during an initializing process of the system and the control block 530 may store the provided values. The user may determine the values OV, INC, DEC and STL considering the operational characteristics of the respective master devices. Through the distributed control scheme with respect to each master device, the complex scenarios of the system may be implemented conveniently and efficiently.
Referring to
The control block 530 in
The control block 530 in the service controller 500a may change at least one of the overflow value OV, the unit increment value INC and the unit decrement value DEC based on the operational environment change to control the request flow from the corresponding master device 100. For example, the control block 530 may promote the request flow of the corresponding master device 100 by decreasing the overflow value OV, increasing the unit increment value INC or decreasing the unit decrement value DEC. Also the control block 530 may demote the request flow from the corresponding master device 100 by increasing the overflow value OV, decreasing the unit increment value INC or increasing the unit decrement value DEC.
As described with reference to
When the service controller 500a includes the limiter 510, the control block 530 may generate the limit signal LMT that is activated when the credit value CRD is smaller than a grant value GRN. The control block 530 may change the grant value GRN based on the operational environment change to control the request flow from the corresponding master device 100. In other words, the request flow from the corresponding master device 100 may be promoted by decreasing the grant value GRN and demoted by increasing the grant value GRN.
According to the handshake scheme, if a first master interface and a slave interface transfer a signal to a second master interface and the slave interface, the first master device activates a valid signal, and then the second master device activates a ready signal corresponding to the valid signal when the second master device is ready to receive the signal. Sampling of signals is performed in response to a global clock signal ACLK at both of the master interface and the slave interface. For example, the sampling of signals may be performed in response to rising edges of the global clock signal ACLK. In an exemplary embodiment, a valid signal transfer is fulfilled when both of the valid signal and the ready signal are activated at the same rising edge of the global clock signal ACLK.
As illustrated in
The rising edges of the global clock signal ACLK are represented as timing points T0 through T13 in
In response to the read request, data D(A0), D(A1), D(A2) and D(A3) of a burst type are transferred from the interconnect device 10 to the master device 100. The data D(A0), D(A1), D(A2) and D(A3) are transferred successfully at timing points T6, T9, T10 and T13, respectively, when both of the service valid signal RVALID and the service ready signal RREADY are activated. The interconnect device 10 activates a service done signal RLAST with transferring the last data D(A3), and the timing point T13 is determined as a service done timing point.
The service controller 500a of
Referring to
Referring to
The flip-flop 512a generates a synchronized limit signal SMSK based on an inverted global clock signal ACLKb and a limit signal LMT provided from the control block 530. The flip-flop 512a samples the limit signal LMT in response to a rising edge of the inverted global clock signal ACLKb to generate the synchronized limit signal SMSK. The rising edge of the inverted global clock signal ACLKb corresponds to the falling edge of the global clock signal ACLK and thus the transition timing points of the synchronized limit signal SMSK are synchronized to the falling edges of the global clock signal ACLK.
The mask unit 515a blocks the request from the corresponding master device 100 in response to the synchronized limit signal SMSK. The mask unit 515a may include a first logic gate 516 and a second logic gate 517. The first logic gate 516 outputs a masked valid signal MVALID by performing a logic operation on the synchronized limit signal SMSK and a valid signal VALID from the corresponding master device 100. The second logic gate 517 outputs a masked ready signal MREADY by performing a logic operation on the synchronized limit signal SMSK and a ready signal READY from the interconnect device 10.
When the synchronized limit signal SMSK is deactivated in a logic low level, the mask unit 515a outputs the masked valid signal MVALID and the masked ready signal MREADY having the same logic levels as the valid signal VALID and the ready signal READY, respectively. When the synchronized limit signal SMSK is activated in a logic high level, the mask unit 515a outputs the masked valid signal MVALID and the masked ready signal MREADY deactivated in the logic low level, regardless of the logic levels of the valid signal VALID and the ready signal READY.
As described with reference to
To prevent such errors, the limiter 510a of
At the sampling timing points SP1 and SP3 outside the masked interval tMSK, the general handshake operation is performed because the masked valid and ready signals MVALID and MREADY have the same logic levels as the original valid and ready signals VALID and READY, and the signal transfer is performed successfully. At the sampling timing point SP2 within the masked interval tMSK, the masked valid and ready signals MVALID and MREADY are deactivated in the logic low level even though the original valid and ready signals VALID and READY are activated in the logic high level. Thus both of the master device 100 and the interconnect device 10 determine based on the deactivated masked valid and ready signals MVALID and MREADY, respectively, that the successful signal transfer is not achieved at the timing point SP2.
Referring to
The synchronizer 512b generates a synchronized limit signal SMSKb based on a limit signal LMT provided from the control block 530, a global clock signal ACLK, a valid signal VALID and a ready signal READY. In contrast to the embodiment of
The mask unit 515b blocks the request from the corresponding master device 100 in response to the synchronized limit signal SMSKb. The mask unit 515b may include a first logic gate 518 and a second logic gate 519. The first logic gate 518 outputs a masked valid signal MVALID by performing a logic operation on the synchronized limit signal SMSKb and a valid signal VALID from the corresponding master device 100. The second logic gate 519 outputs a masked ready signal MREADY by performing a logic operation on the synchronized limit signal SMSKb and a ready signal READY from the interconnect device 10.
When the synchronized limit signal SMSKb is deactivated in a logic high level, the mask unit 515b outputs the masked valid signal MVALID and the masked ready signal MREADY having the same logic levels as the valid signal VALID and the ready signal READY, respectively. When the synchronized limit signal SMSKb is activated in a logic low level, the mask unit 515b outputs the masked valid signal MVALID and the masked ready signal MREADY deactivated in the logic low level, regardless of the logic levels of the valid signal VALID and the ready signal READY.
As described with reference to
Due to such discrepancy in determining the successful signal transfer, only one of the master device 100 and the interconnect device 10 determines that the successful signal transfer is achieved and the other of the master device 100 and the interconnect device 10 determines that the successful signal transfer is not achieved.
To prevent such errors, the synchronizer 512b in the limiter 510b of
At the sampling timing points SP1 and SP5 outside the masked interval tMSK, the general handshake operation is performed because the masked valid and ready signals MVALID and MREADY have the same logic levels as the original valid and ready signals VALID and READY, and the signal transfer is performed successfully. At the sampling timing points SP2, SP3 and SP4 within the masked interval tMSK, the masked valid and ready signals MVALID and MREADY are deactivated in the logic low level regardless of the original valid and ready signals VALID and READY. Thus both of the master device 100 and the interconnect device 10 determine based on the deactivated masked valid and ready signals MVALID and MREADY, respectively, that the successful signal transfer is not achieved at the timing points SP2, SP3 and SP4.
The master device or the master intellectual property (IP) may be divided into a hard realtime IP, a soft realtime IP and a best effort IP depending on the type or the operational characteristic of the master IP.
The hard realtime IP may be an IP such as a display device that consumes data steadily and thus requires a certain minimum bandwidth. An underrun of a data buffer in the hard realtime IP may be caused if the minimum bandwidth is not satisfied. The hard realtime IP buffers the serviced data sufficiently in the data buffer if the minimum bandwidth is satisfied and controls the request flow itself such that the hard realtime IP issues the request according to the amount of the consumed data.
To reduce a manufacturing cost, an external modem chip may share a memory in the SOC. Such an external modem chip may not operate normally if an average latency requirement level is not satisfied. It may be difficult to determine and fix the average latency requirement level because the type of the modem chip varies.
The soft realtime IP may be an IP such as a video codec that requires an average operation time. In an exemplary embodiment, a video codec is software that enables compression or decompression of digital video. The video codec may have a frame rate such as 30 or 60 frames per second and may require an average decode/encode time. The bandwidth requirement level of the video codec may be changed according to respective frames and the video codec may require an average encoding time and/or an average decoding time. The video codec may perform its operations immediately prior to the encoding/decoding of the next frame if the request flow is not controlled but the issue of the requests is limited due to a dependency between the previously and currently processed data. Thus the operation speed of the video codec may satisfy the determined frame rate if the required bandwidth and/or latency are ensured, but the operation speed of the codec may be sharply decreased if the latency becomes greater than a threshold value.
The best effort IP may be an IP such as a two-dimensional or a three-dimensional graphics engine that issues requests endlessly if the request flow is not controlled and thus request flow control is needed in the best effort IP. Maximum service requirement levels of the best effort IP may be supported if the other IP of higher priority than the best effort IP is not in the urgent state. If the other IP is in the urgent state, the request flow from the best effort IP may be limited so that the other IP of the higher priority exits from the urgent state.
A latency-oriented IP such as a central processing unit (CPU) may have a variable bandwidth requirement level depending on the situation but its performance is directly influenced by an average latency. The request flow of the latency-oriented IP needs to be controlled based on the latency because the average bandwidth requirement level may not be defined.
The first case in
The second case in
The third case in
The fourth case in
The fifth case in
As such, the system and the method of controlling the system according to exemplary embodiments of the inventive concept may control the request flows from the master devices adaptively depending on the operational environment change to enhance quality of service (QOS) in the system. Further the complex scenarios of the system may be implemented conveniently and efficiently through the distributed control scheme with respect to each master device.
As described above, the credit value CRD may be increased toward the maximum value MAX whenever the first event signal CEV is activated and the credit value CRD may be decreased toward the minimum value MIN whenever the second event signal SEV is activated. The control block 530 in
Referring to
For example, the operation modes may include a promotion mode, a default mode and a demotion mode. The promotion mode corresponds to the credit value CRD greater than an upper boundary value UPBN, the default mode corresponds to the credit value CRD smaller than the upper boundary value UPBN and greater than a lower boundary value LWBN, and the demotion mode corresponds to the credit value CRD smaller than the lower boundary value LWBN.
The control block 530 may change the values OV, INC and DEC of the local control signal LCON based on the operation modes such that the corresponding master device is allowed to have a larger bandwidth in the promotion mode than the default mode and a larger bandwidth in the default mode than the demotion mode. For example, the control block 530 may set the overflow value OV2 of the default mode smaller than the overflow value OV1 of the demotion mode, and the overflow value OV3 of the promotion mode smaller than the overflow value OV2 of the default mode. In addition, the control block 530 may set the unit increment value INC2 of the default mode greater than the unit increment value INC1 of the demotion mode, and the unit increment value INC3 of the promotion mode greater than the unit increment value INC2 of the default mode. Even though
Referring to
The master devices 101, 102 and 103 may generate requests to demand services from at least one of the slave devices 301 and 302, respectively. The slave devices 301 and 302 and the master devices 101, 102 and 103 are coupled to the interconnect device 10 through respective channels. The interconnect device 10 performs an arbitrating operation on the requests from the master devices 101, 102 and 103. The interconnect device 10 may include at least one arbiter for performing the arbitrating operation. The service controllers 501, 502 and 503 control request flows from the master devices 101, 102 and 103 adaptively depending on an operational environment change of the system 1000.
The master devices 101, 102 and 103 may include at least one realtime master device. For example, the third master device 103 may be the realtime master device such as a display controller, and the second slave device 302 may be a memory controller for providing services to the master devices 101, 102 and 103. In this case, the service controller 503 corresponding to the realtime master device 103 may generate an urgent signal UGNT indicating that the realtime master device 103 requires an urgent service from the slave device 302.
The system 1000a may further include a transmission line TL2 that is point-to-point coupled between the slave device 302 and the service controller 503 corresponding to the realtime master device 103. The urgent signal UGNT may be transferred via the signal line TL2 directly from the service controller 503 corresponding to the realtime master device 103 to the slave device 302. Also the urgent signal UGNT may be provided to the interconnect device 10 and the interconnect device 10 may adjust priorities for the arbitrating operation in response to the urgent signal UGNT.
The master devices 101, 102 and 103 may include at least one best effort master device. For example, the first master device 101 may be the best effort master device such as a processor. In this case, the slave device 302 may generate an external limit signal ELMT based on the operational environment change, and the service controller 501 corresponding to the best effort master device 101 may block the request flow from the best effort master device 101 in response to the external limit signal ELMT.
The system 1000a may further include a transmission line TL1 that is point-to-point coupled between the slave device 302 and the service controller 501 corresponding to the best effort device 101. The external limit signal ELMT may be transferred via the signal line TL1 directly from the slave device 302 to the service controller 501 corresponding to the best effort master device 101.
The service controller 503 in
The control block 540 may generate a local control signal LCON to control the monitor 520 based on the operational environment change. The operational environment change may be provided with the global control signal GCON as illustrated in
The control block 540 may generate, in addition to the priority information signal PRT, an urgent signal UGNT indicating that the realtime master device 103 requires an urgent service from the slave device 302. The urgent signal UGNT may be provided to the slave device 302 in realtime to promote the request flow from the realtime master device 103 or demote the request flow from other master devices.
At least a portion of the control block 540 may be implemented as a special function register (SFR) that performs predetermined process sequences in response to stored values and input signals.
Referring to
For example, the operation modes may include an urgent mode, a promotion mode, a default mode and a demotion mode. The urgent mode corresponds to the credit value CRD greater than an urgent level UGL and the promotion mode corresponds to the credit value CRD greater than an upper boundary value UPBN. The urgent level UGL may be equal to or greater than the upper boundary value UPBN. The default mode corresponds to the credit value CRD smaller than the upper boundary value UPBN and greater than a lower boundary value LWBN, and the demotion mode corresponds to the credit value CRD smaller than the lower boundary value LWBN.
As described with reference to
In addition, the control block 540 may activate the urgent signal UGNT when the credit value CRD is greater than the urgent level UGL. As such, the realtime master device 103 may activate the urgent signal UGNT when the urgent service is required, and the urgent signal UGNT may be used to promote the request flow from the realtime master device 103 and/or demote the request flows from other master devices.
Referring to
The control block 540 in
The service controller 501 in
The limiter 510 in
Referring to
The request queue may store the requests transferred from the master devices 101, 102 and 103 via the interconnect device 10. When the system 1000a adopts a protocol supporting multiple outstanding transactions or multiple outstanding requests, the slave device 302 may include at least one request queue or a register circuit. The request queue 310 may store requests that are issued but not serviced.
The scheduler 320 may adjust a service order with respect to the stored requests based on priorities of the stored request. According to the determined service order, the stored requests are transferred sequentially to an inner circuit 340.
The scheduler 320 may increase the priority of the stored requests from the realtime master device 103 based on the urgent signal UGNT that is generated by the service controller 503 corresponding to the realtime master device 103. By increasing the priority, the service for the realtime master device 103 may be promoted and thus the realtime master device 103 may exit from the urgent state.
The scheduler 320 may activate a queue full signal QF when the number of the stored requests waiting for services in the request queue 310 is greater than a threshold number. An OR logic gate 330 may perform an OR logic operation on the urgent signal UGNT and the queue full signal QF to generate the external limit signal ELMT.
As described above, the urgent signal UGNT may indicate that the realtime master device 103 is in the urgent state and the external limit signal ELMT may be used to block the request from the best effort master device 101. Using the urgent signal UGNT and the external limit signal ELMT, the request flow from the realtime master device 103 may be promoted and the request flow from the best effort master device 101 may be demoted.
Referring to
The urgent signal UGNT may include a flag value FLG indicating whether the master device is in the urgent state and the master identifier MID indicating the master device that generated the urgent signal UGNT. In an exemplary embodiment, the urgent signal UGNT may include the flag value FLG alone and the master identifier MID indicating the urgent master device may be provided as a signal distinct from the urgent signal UGNT.
When the flag value FLG indicates the urgent state of the master device, the scheduler 320 in
Referring to
The SOC 1010 may be an application processor (AP) SOC including an interconnect device INT and a plurality of intellectual properties coupled to the interconnect device INT as described with reference to
The SOC 1010 may communicate with the memory device 1020, the storage device 1030, the input/output device 1040 and the image sensor 1060 via a bus such as an address bus, a control bus, and/or a data bus. In at least one exemplary embodiment, the SOC 1010 is coupled to an extended bus, such as a peripheral component interconnection (PCI) bus.
The memory device 1020 may store data for operating the computing system 2000. For example, the memory device 1020 may be implemented with a dynamic random access memory (DRAM) device, a mobile DRAM device, a static random access memory (SRAM) device, a phase random access memory (PRAM) device, a ferroelectric random access memory (FRAM) device, a resistive random access memory (RRAM) device, and/or a magnetic random access memory (MRAM) device. The storage device 1030 may include a solid state drive (SSD), a hard disk drive (HDD), a CD-ROM, etc. The input/output device 1040 may include an input device (e.g., a keyboard, a keypad, a mouse, etc.) and an output device (e.g., a printer, a display device, etc.). The power supply 1050 supplies operation voltages for the computing system 2000.
The image sensor 1060 may communicate with the SOC 1010 via the buses or other communication links. As described above, the image sensor 1060 may be integrated with the SOC 1010 in one chip, or the image sensor 1060 and the SOC 1010 may be implemented as separate chips.
The components in the computing system 2000 may be packaged in various forms, such as package on package (PoP), ball grid arrays (BGAs), chip scale packages (CSPs), plastic leaded chip carrier (PLCC), plastic dual in-line package (PDIP), die in waffle pack, die in wafer form, chip on board (COB), ceramic dual in-line package (CERDIP), plastic metric quad flat pack (MQFP), thin quad flat pack (TQFP), small outline IC (SOIC), shrink small outline package (SSOP), thin small outline package (TSOP), system in package (SIP), multi chip package (MCP), wafer-level fabricated package (WFP), or wafer-level processed stack package (WSP).
The computing system 2000 may be any computing system including at least one SOC. For example, the computing system 2000 may include a digital camera, a mobile phone, a smart phone, a portable multimedia player (PMP), a personal digital assistant (PDA), a tablet computer, etc.
Referring to
A CSI host 1112 of the SOC 1110 may perform a serial communication with a CSI device 1141 of the image sensor 1140 via a camera serial interface (CSI). In an exemplary embodiment, the CST host 1112 may include a deserializer (DES), and the CSI device 1141 may include a serializer (SER). A DST host 1111 of the SOC 1110 may perform a serial communication with a DSI device 1151 of the display device 1150 via a display serial interface (DSI).
In an exemplary embodiment, the DSI host 1111 may include a serializer (SER), and the DSI device 1151 may include a deserializer (DES). The computing system 1100 may further include a radio frequency (RF) chip 1160 performing a communication with the SOC 1110. A physical layer (PHY) 1113 of the computing system 1100 and a physical layer (PHY) 1161 of the RF chip 1160 may perform data communications based on a MIPI DigRF protocol. The SOC 1110 may further include a DigRF MASTER 1114 that controls the data communications of the physical layer PHY 1161.
The computing system 1100 may further include a global positioning system (GPS) 1120, storage 1170, a microphone MIC 1180, a DRAM device 1185, and a speaker 1190. In addition, the computing system 1100 may perform communications using an ultra wideband (UWB) 1210, a wireless local area network (WLAN) 1220, a worldwide interoperability for microwave access (WIMAX) 1230, etc. However, the structure and the interface of the system 1100 are not limited thereto. For example, one or more of the illustrated components of the computing system 1100 may be omitted or additional elements may be added.
A system and method of controlling a system according to at least one exemplary embodiment of the inventive concept may be efficiently used in connecting the master devices to the slave device that is commonly accessed by the master devices. At least one of the exemplary embodiments may be applied to a SOC in which various semiconductor components are integrated as one chip. According to at least exemplary embodiment of the inventive concept, request flows may be controlled efficiently in systems such as a digital camera, a mobile phone, a PDA, PMP, a smart phone, table computer, etc. requiring a smaller size, a higher performance and a higher operational speed.
The foregoing is illustrative of exemplary embodiments and is not to be construed as limiting thereof. Although exemplary embodiments have been described, many modifications can be made in the exemplary embodiments without departing from the present inventive concept. Accordingly, all such modifications are intended to be included within the scope of the present inventive concept.
Number | Date | Country | Kind |
---|---|---|---|
10-2013-0019646 | Feb 2013 | KR | national |
This U.S. Non-provisional application claims priority under 35 USC §119 to U.S. Provisional Application No. 61/756,217 filed on Jan. 24, 2013 in the USPTO, and Korean Patent Application No. 10-2013-0019646, filed on Feb. 25, 2013, in the Korean Intellectual Property Office (KIPO), the disclosure of which are incorporated by reference in their entirety herein.
Number | Date | Country | |
---|---|---|---|
61756217 | Jan 2013 | US |