Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
9 years ago

Corresponding begin/end statements

I've got a verilog code, and I'm just wondering if there was a tool which quickly found the begin and end statements corresponding with each other. Once the code starts getting big, it's pretty hairy tracking it manually. Thanks.

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Use a syntax aware text editor. NotePad++ for windows (https://notepad-plus-plus.org/) is a good one that I use often. Supports both Verilog and VHDL syntax (as well as just about any other programming language that exists). It matches BEGIN/END blocks in Verilog, and allows you to expand/compress them by a single mouse click.

    Don