-
公开(公告)号:US12056393B2
公开(公告)日:2024-08-06
申请号:US17381230
申请日:2021-07-21
Applicant: REALTEK SEMICONDUCTOR CORPORATION
Inventor: Shi-Yao Zhao , Dao-Fu Wang , Yong-Peng Jing
CPC classification number: G06F3/0659 , G06F3/0607 , G06F3/0679 , G06F13/1668
Abstract: A method for exchanging messages is performed by a slave device, and includes: receiving a submission queue (SQ) tail doorbell from a host to learn that X SQ entries need to be processed, wherein “X” doesn't exceed a host SQ entry upper limit; performing multiple read operations according to the SQ tail doorbell to read the X SQ entries from the host, wherein the slave device reads Y SQ entries at most in each read operation, and “Y” is smaller than “X” and doesn't exceed a slave device SQ entry upper limit; preparing P completion queue (CQ) entries; performing multiple write operations to transmit the P CQ entries to the host, wherein the slave device transmits Q CQ entries at most in each write operation, and “Q” is smaller than “P” and doesn't exceed a slave device CQ entry upper limit; and transmitting a CQ tail doorbell to the host.
-
公开(公告)号:US11669445B2
公开(公告)日:2023-06-06
申请号:US17380064
申请日:2021-07-20
Applicant: REALTEK SEMICONDUCTOR CORPORATION
Inventor: Shi-Yao Zhao , Dao-Fu Wang , Yong-Peng Jing
CPC classification number: G06F12/0292 , G06F3/0604 , G06F3/0631 , G06F3/0659 , G06F3/0679 , G06F12/0246 , G06F2212/7201
Abstract: A method performed by a slave device to obtain a host memory address includes: inquiring a description list to obtain information of an allocated memory of a host; dividing the allocated memory into N storage spaces according to the information; using a first memory space of the N storage spaces to store a first level look-up table indicating physical addresses of the N storage spaces; dividing the first memory space into M storage spaces; storing a second level look-up table in the slave device to indicate physical addresses of the M storage spaces; inquiring the second level look-up table according to a logical address and obtaining a first index indicating a physical address of one of the M storage spaces; and inquiring the first level look-up table according to the first index and obtaining a second index indicating a physical address of one of the N storage spaces.
-
公开(公告)号:US11606095B2
公开(公告)日:2023-03-14
申请号:US17380069
申请日:2021-07-20
Applicant: REALTEK SEMICONDUCTOR CORPORATION
Inventor: Shi-Yao Zhao , Dao-Fu Wang , Yong-Peng Jing
Abstract: Disclosed is a reference clock gating circuit for outputting a reliable reference clock according to an external clock. The circuit includes a detection circuit and a gating component. The detection circuit includes: a first counter counting according to triggers of the external clock and thereby generating a first clock number; a second counter counting according to triggers of an accurate slow clock and thereby generating a second clock number; and a decision circuit determining whether a ratio of the first clock number to the second clock number satisfies a predetermined condition after the second clock number reaches a predetermined number, and thereby generating a gating signal to control the gating component. If the ratio satisfies the predetermined condition, the gating component receives the external clock and outputs it as the reference clock; and if the ratio doesn't satisfy the predetermined condition, the gating component doesn't output the external clock.
-
-