Python-based DSL for generating Verilog model of Synchronous Digital Circuits
<|reference_start|>Python-based DSL for generating Verilog model of Synchronous Digital Circuits: We have designed a Python-based Domain Specific Language (DSL) for modeling synchronous digital circuits. In this DSL, hardware is modeled as a collection of transactions -- running in series, parallel, and loops. When the model is executed by a Python interpreter, synthesizable and behavioural Verilog is generated as output, which can be integrated with other RTL designs or directly used for FPGA and ASIC flows. In this paper, we describe - 1) the language (DSL), which allows users to express computation in series/parallel/loop constructs, with explicit cycle boundaries, 2) the internals of a simple Python implementation to produce synthesizable Verilog, and 3) several design examples and case studies for applications in post-quantum cryptography, stereo-vision, digital signal processing and optimization techniques. In the end, we list ideas to extend this framework.<|reference_end|>
@article{datar2024python-based,
    title={Python-based DSL for generating Verilog model of Synchronous Digital
  Circuits},
    author={Mandar Datar, Dhruva S. Hegde, Vendra Durga Prasad, Manish Prajapati,
  Neralla Manikanta, Devansh Gupta, Janampalli Pavanija, Pratyush Pare, Akash,
  Shivam Gupta and Sachin B. Patkar (Indian Institute of Technology Bombay)},
    journal={arXiv preprint arXiv:2406.09208},
    year={2024},
    archivePrefix={arXiv},
    eprint={2406.09208},
    primaryClass={cs.AR}
}