SearcharxivSearch

arXiv subjects

Tushar Garg

Publications and source records attributed to Tushar Garg.

2 recordsLinked to original sources

From Patterns to Parsers: Automatic Generation of Efficient Hardware Parsers for FPGAs

This work presents an open-source tool for automatically generating efficient hardware parsers from high-level specifications. It uses a parsing intermediate representation (PIR) that decouples application-specific frontends from a common register-transfer level (RTL) generation backend. The backend produces optimized, human-readable SystemVerilog, handling FSM generation, byte-alignment, and multi-cycle field straddling for arbitrary datapath widths. The tool also extends pattern matching beyond simple equality checks by introducing custom symbolic tokens to support operations that existing parser generators cannot express, such as range validation, negation, and comparisons against external ports. We demonstrate two end-to-end flows using a P4 frontend for Ethernet protocol parsing and a Snort frontend for network intrusion detection, both using the same unmodified backend. The generated Ethernet parsers achieve up to 226% higher operating frequency and up to 97% fewer FPGA logic resources than prior work. A controlled synthetic study further shows that the tool's hierarchical pattern decomposition yields up to 8x resource utilization reduction over monolithic designs. Our open-source framework enables designers to rapidly implement high-performance, resource-efficient, vendor-agnostic hardware parsers for diverse applications.

cs.AR

Flux Jumps up to 17 T in ReBCO Tape Stack Cables and their Suppression with Increased Intertape Spacing

The magnetization of ReBCO tape stacks and tape stack cables in high magnetic fields (up to 30 T) are not commonly reported. Here we report magnetization measurements of tape stack cables in magnetic fields up to 30 T at 4.2 K. We observed that flux jumps, commonly relegated to low field regimes for single tapes, persisted up to 17 T in tape stacks, an effect which could have substantial technological relevance for high field applications including fusion devices or accelerator magnets. On the other hand, with the use of small spacers, we could suppress flux jump behavior, in some cases eliminating jumps entirely. Our findings provide critical insights for the optimization of designs for ReBCO cables for high-field applications, including fusion magnets and particle accelerators.

cond-mat.supr-con