{"id":{"repo_id":"nanyang","oai_identifier":"oai:dr.ntu.edu.sg:10356/235255"},"canonical_url":"https://search.ndltd.org/etd/nanyang/oai:dr.ntu.edu.sg:10356/235255","repository":{"repo_id":"nanyang","name":"Nanyang Technological University","base_url":"https://dr.ntu.edu.sg/oai/request"},"display":{"title":"An SGDMA-based network data-path accelerator with ACK-safe zero-copy TCP for a RISC-V FPGA SoC","abstract":"Network throughput in application-specific FPGA RISC-V SoCs can be limited by the processor cycles spent on programmed I/O, payload copying, software checksums and coupled transmit–receive scheduling. TCP no-COPY introduces a further constraint: lwIP retains references to the received payload, so the original buffer must remain unchanged until the corresponding bytes are acknowledged. An Ethernet data-path accelerator was implemented in a DE2-115 prototype comprising a custom five-stage RV32I-like processor, an Intel Triple-Speed Ethernet MAC, an MII-connected PHY and bare-metal lightweight IP (lwIP). The processor retains the programmable TCP/IP stack, while descriptor control and hardware payload movement are separated from transport-layer buffer ownership. Independent transmit and receive descriptor rings and readiness-aware arbitration reduce blocking between directions. Preposted receive buffers, scatter/gather direct memory access (SGDMA), checksum offload and a multi-buffer transmit pipeline reduce CPU-managed payload movement and full-frame staging copies. For TCP Echo, an acknowledgement-safe no-COPY mechanism retains each original receive buffer until all referenced bytes have been acknowledged. Reclamation accounts for partial and cumulative acknowledgements, submission retries, queue wraparound and abnormal connection cleanup. Verification covered host-level algorithm tests, RTL verification, full-system protocol simulation, timing analysis and board measurements. The reported CPU Fmax was 37.52 MHz, exceeding the 25 MHz target. Board application-payload throughput reached 95.39 Mbps for UDP receive-only traffic, near the link’s payload limit, and 50.63 Mbps for UDP Echo, with zero observed packet loss under the tested configuration. TCP Echo reached 18.23 Mbps using the no-COPY path. No premature buffer release, double release or payload-consistency failure was observed in the evaluated TCP paths.","abstract_html":"Network throughput in application-specific FPGA RISC-V SoCs can be limited by the processor cycles spent on programmed I/O, payload copying, software checksums and coupled transmit–receive scheduling. TCP no-COPY introduces a further constraint: lwIP retains references to the received payload, so the original buffer must remain unchanged until the corresponding bytes are acknowledged. An Ethernet data-path accelerator was implemented in a DE2-115 prototype comprising a custom five-stage RV32I-like processor, an Intel Triple-Speed Ethernet MAC, an MII-connected PHY and bare-metal lightweight IP (lwIP). The processor retains the programmable TCP/IP stack, while descriptor control and hardware payload movement are separated from transport-layer buffer ownership. Independent transmit and receive descriptor rings and readiness-aware arbitration reduce blocking between directions. Preposted receive buffers, scatter/gather direct memory access (SGDMA), checksum offload and a multi-buffer transmit pipeline reduce CPU-managed payload movement and full-frame staging copies. For TCP Echo, an acknowledgement-safe no-COPY mechanism retains each original receive buffer until all referenced bytes have been acknowledged. Reclamation accounts for partial and cumulative acknowledgements, submission retries, queue wraparound and abnormal connection cleanup. Verification covered host-level algorithm tests, RTL verification, full-system protocol simulation, timing analysis and board measurements. The reported CPU Fmax was 37.52 MHz, exceeding the 25 MHz target. Board application-payload throughput reached 95.39 Mbps for UDP receive-only traffic, near the link’s payload limit, and 50.63 Mbps for UDP Echo, with zero observed packet loss under the tested configuration. TCP Echo reached 18.23 Mbps using the no-COPY path. No premature buffer release, double release or payload-consistency failure was observed in the evaluated TCP paths.","abstract_has_math":false,"creators":["Li, Zhengru"],"institution":"Nanyang Technological University","degree_name":null,"degree_level":null,"degree_discipline":null,"degree_department":null,"school":"School of Electrical and Electronic Engineering","contributors":[],"advisors":["Poenar Daniel Puiu"],"committee_chairs":[],"committee_members":[],"year":2026,"date_issued":"2026","date_published":"2026","updated_at":"2026-11-27T08:08:18Z","subjects":["Engineering"],"languages":["en"],"rights":[],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/10356/235255","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/10356/235255","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Ananyang%3Aoai%3Adr.ntu.edu.sg%3A10356%2F235255","prefix":"oai_dc"},"source_record":{"url":"https://dr.ntu.edu.sg/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Adr.ntu.edu.sg%3A10356%2F235255","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.school","label":"School","values":["School of Electrical and Electronic Engineering"]},{"key":"dc:contributor.supervisor","label":"Supervisor","values":["Poenar Daniel Puiu"]},{"key":"dc:creator","label":"Author","values":["Li, Zhengru"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2026-11-12T05:08:43Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2026-11-12T05:08:43Z"]},{"key":"dc:date.issued","label":"Date","values":["2026"]},{"key":"dc:publisher","label":"Institution","values":["Nanyang Technological University"]},{"key":"dc:type","label":"Dc Type","values":["Thesis-Master by Coursework"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Engineering"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/10356/235255"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"cerif:openaire","label":"Cerif Openaire","values":["<Publication xmlns=\"https://www.openaire.eu/cerif-profile/1.1/\" id=\"8f951c09-120f-4205-8c8e-44d63c7d9287\"> <Type xmlns=\"https://www.openaire.eu/cerif-profile/vocab/COAR_Publication_Types\">http://purl.org/coar/resource_type/c_1843</Type> <Language>en</Language> <Title>An SGDMA-based network data-path accelerator with ACK-safe zero-copy TCP for a RISC-V FPGA SoC</Title> <PublishedIn> <Publication> </Publication> </PublishedIn> <PublicationDate>2026</PublicationDate> <Authors> <Author> <DisplayName>Li, Zhengru</DisplayName> <Affiliation> <OrgUnit> </OrgUnit> </Affiliation> </Author> </Authors> <Editors> </Editors> <Publishers> <Publisher> <DisplayName>Nanyang Technological University</DisplayName> <OrgUnit /> </Publisher> </Publishers> <Keyword>Engineering</Keyword> <Abstract>Network throughput in application-specific FPGA RISC-V SoCs can be limited by the processor cycles spent on programmed I/O, payload copying, software checksums and coupled transmit–receive scheduling. TCP no-COPY introduces a further constraint: lwIP retains references to the received payload, so the original buffer must remain unchanged until the corresponding bytes are acknowledged. An Ethernet data-path accelerator was implemented in a DE2-115 prototype comprising a custom five-stage RV32I-like processor, an Intel Triple-Speed Ethernet MAC, an MII-connected PHY and bare-metal lightweight IP (lwIP). The processor retains the programmable TCP/IP stack, while descriptor control and hardware payload movement are separated from transport-layer buffer ownership. Independent transmit and receive descriptor rings and readiness-aware arbitration reduce blocking between directions. Preposted receive buffers, scatter/gather direct memory access (SGDMA), checksum offload and a multi-buffer transmit pipeline reduce CPU-managed payload movement and full-frame staging copies. For TCP Echo, an acknowledgement-safe no-COPY mechanism retains each original receive buffer until all referenced bytes have been acknowledged. Reclamation accounts for partial and cumulative acknowledgements, submission retries, queue wraparound and abnormal connection cleanup. Verification covered host-level algorithm tests, RTL verification, full-system protocol simulation, timing analysis and board measurements. The reported CPU Fmax was 37.52 MHz, exceeding the 25 MHz target. Board application-payload throughput reached 95.39 Mbps for UDP receive-only traffic, near the link’s payload limit, and 50.63 Mbps for UDP Echo, with zero observed packet loss under the tested configuration. TCP Echo reached 18.23 Mbps using the no-COPY path. No premature buffer release, double release or payload-consistency failure was observed in the evaluated TCP paths.</Abstract> <Access xmlns=\"http://purl.org/coar/access_right\" > </Access> </Publication>"]},{"key":"dc:description.abstract","label":"Abstract","values":["Network throughput in application-specific FPGA RISC-V SoCs can be limited by the processor cycles spent on programmed I/O, payload copying, software checksums and coupled transmit–receive scheduling. TCP no-COPY introduces a further constraint: lwIP retains references to the received payload, so the original buffer must remain unchanged until the corresponding bytes are acknowledged. An Ethernet data-path accelerator was implemented in a DE2-115 prototype comprising a custom five-stage RV32I-like processor, an Intel Triple-Speed Ethernet MAC, an MII-connected PHY and bare-metal lightweight IP (lwIP). The processor retains the programmable TCP/IP stack, while descriptor control and hardware payload movement are separated from transport-layer buffer ownership. Independent transmit and receive descriptor rings and readiness-aware arbitration reduce blocking between directions. Preposted receive buffers, scatter/gather direct memory access (SGDMA), checksum offload and a multi-buffer transmit pipeline reduce CPU-managed payload movement and full-frame staging copies. For TCP Echo, an acknowledgement-safe no-COPY mechanism retains each original receive buffer until all referenced bytes have been acknowledged. Reclamation accounts for partial and cumulative acknowledgements, submission retries, queue wraparound and abnormal connection cleanup. Verification covered host-level algorithm tests, RTL verification, full-system protocol simulation, timing analysis and board measurements. The reported CPU Fmax was 37.52 MHz, exceeding the 25 MHz target. Board application-payload throughput reached 95.39 Mbps for UDP receive-only traffic, near the link’s payload limit, and 50.63 Mbps for UDP Echo, with zero observed packet loss under the tested configuration. TCP Echo reached 18.23 Mbps using the no-COPY path. No premature buffer release, double release or payload-consistency failure was observed in the evaluated TCP paths."]},{"key":"dc:description.degree","label":"Dc Description Degree","values":["Master's degree"]},{"key":"dc:format.mimetype","label":"Dc Format Mimetype","values":["application/pdf"]},{"key":"dc:title","label":"Title","values":["An SGDMA-based network data-path accelerator with ACK-safe zero-copy TCP for a RISC-V FPGA SoC"]},{"key":"dspace:entity.type","label":"Dspace Entity Type","values":["Publication"]}]}],"canonical_facts":{"cerif:openaire":["<Publication xmlns=\"https://www.openaire.eu/cerif-profile/1.1/\" id=\"8f951c09-120f-4205-8c8e-44d63c7d9287\"> <Type xmlns=\"https://www.openaire.eu/cerif-profile/vocab/COAR_Publication_Types\">http://purl.org/coar/resource_type/c_1843</Type> <Language>en</Language> <Title>An SGDMA-based network data-path accelerator with ACK-safe zero-copy TCP for a RISC-V FPGA SoC</Title> <PublishedIn> <Publication> </Publication> </PublishedIn> <PublicationDate>2026</PublicationDate> <Authors> <Author> <DisplayName>Li, Zhengru</DisplayName> <Affiliation> <OrgUnit> </OrgUnit> </Affiliation> </Author> </Authors> <Editors> </Editors> <Publishers> <Publisher> <DisplayName>Nanyang Technological University</DisplayName> <OrgUnit /> </Publisher> </Publishers> <Keyword>Engineering</Keyword> <Abstract>Network throughput in application-specific FPGA RISC-V SoCs can be limited by the processor cycles spent on programmed I/O, payload copying, software checksums and coupled transmit–receive scheduling. TCP no-COPY introduces a further constraint: lwIP retains references to the received payload, so the original buffer must remain unchanged until the corresponding bytes are acknowledged. An Ethernet data-path accelerator was implemented in a DE2-115 prototype comprising a custom five-stage RV32I-like processor, an Intel Triple-Speed Ethernet MAC, an MII-connected PHY and bare-metal lightweight IP (lwIP). The processor retains the programmable TCP/IP stack, while descriptor control and hardware payload movement are separated from transport-layer buffer ownership. Independent transmit and receive descriptor rings and readiness-aware arbitration reduce blocking between directions. Preposted receive buffers, scatter/gather direct memory access (SGDMA), checksum offload and a multi-buffer transmit pipeline reduce CPU-managed payload movement and full-frame staging copies. For TCP Echo, an acknowledgement-safe no-COPY mechanism retains each original receive buffer until all referenced bytes have been acknowledged. Reclamation accounts for partial and cumulative acknowledgements, submission retries, queue wraparound and abnormal connection cleanup. Verification covered host-level algorithm tests, RTL verification, full-system protocol simulation, timing analysis and board measurements. The reported CPU Fmax was 37.52 MHz, exceeding the 25 MHz target. Board application-payload throughput reached 95.39 Mbps for UDP receive-only traffic, near the link’s payload limit, and 50.63 Mbps for UDP Echo, with zero observed packet loss under the tested configuration. TCP Echo reached 18.23 Mbps using the no-COPY path. No premature buffer release, double release or payload-consistency failure was observed in the evaluated TCP paths.</Abstract> <Access xmlns=\"http://purl.org/coar/access_right\" > </Access> </Publication>"],"dc:contributor.school":["School of Electrical and Electronic Engineering"],"dc:contributor.supervisor":["Poenar Daniel Puiu"],"dc:creator":["Li, Zhengru"],"dc:date.accessioned":["2026-11-12T05:08:43Z"],"dc:date.available":["2026-11-12T05:08:43Z"],"dc:date.issued":["2026"],"dc:description.abstract":["Network throughput in application-specific FPGA RISC-V SoCs can be limited by the processor cycles spent on programmed I/O, payload copying, software checksums and coupled transmit–receive scheduling. TCP no-COPY introduces a further constraint: lwIP retains references to the received payload, so the original buffer must remain unchanged until the corresponding bytes are acknowledged. An Ethernet data-path accelerator was implemented in a DE2-115 prototype comprising a custom five-stage RV32I-like processor, an Intel Triple-Speed Ethernet MAC, an MII-connected PHY and bare-metal lightweight IP (lwIP). The processor retains the programmable TCP/IP stack, while descriptor control and hardware payload movement are separated from transport-layer buffer ownership. Independent transmit and receive descriptor rings and readiness-aware arbitration reduce blocking between directions. Preposted receive buffers, scatter/gather direct memory access (SGDMA), checksum offload and a multi-buffer transmit pipeline reduce CPU-managed payload movement and full-frame staging copies. For TCP Echo, an acknowledgement-safe no-COPY mechanism retains each original receive buffer until all referenced bytes have been acknowledged. Reclamation accounts for partial and cumulative acknowledgements, submission retries, queue wraparound and abnormal connection cleanup. Verification covered host-level algorithm tests, RTL verification, full-system protocol simulation, timing analysis and board measurements. The reported CPU Fmax was 37.52 MHz, exceeding the 25 MHz target. Board application-payload throughput reached 95.39 Mbps for UDP receive-only traffic, near the link’s payload limit, and 50.63 Mbps for UDP Echo, with zero observed packet loss under the tested configuration. TCP Echo reached 18.23 Mbps using the no-COPY path. No premature buffer release, double release or payload-consistency failure was observed in the evaluated TCP paths."],"dc:description.degree":["Master's degree"],"dc:format.mimetype":["application/pdf"],"dc:identifier.uri":["https://hdl.handle.net/10356/235255"],"dc:language.iso":["en"],"dc:publisher":["Nanyang Technological University"],"dc:subject":["Engineering"],"dc:title":["An SGDMA-based network data-path accelerator with ACK-safe zero-copy TCP for a RISC-V FPGA SoC"],"dc:type":["Thesis-Master by Coursework"],"dspace:entity.type":["Publication"]},"updated_at":"2026-11-27T08:08:18Z"}