https://github.com/mithro/hdl-pretty
Scripts for prettifying VHDL and Verilog files
https://github.com/mithro/hdl-pretty
Last synced: 5 months ago
JSON representation
Scripts for prettifying VHDL and Verilog files
- Host: GitHub
- URL: https://github.com/mithro/hdl-pretty
- Owner: mithro
- License: apache-2.0
- Created: 2014-07-09T07:38:59.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2015-06-01T13:48:27.000Z (about 11 years ago)
- Last Synced: 2025-03-18T05:54:51.774Z (about 1 year ago)
- Language: Emacs Lisp
- Size: 613 KB
- Stars: 4
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Scripts for prettifying VHDL and Verilog files
# Dependencies
You need a version of emacs in your path newer then 0.22 - I have only tested
with GNU Emacs 23.3.1
# Usage
```sh
./verliog-pretty < ugly-verilog.v > pretty-verilog.v
./vhdl-pretty < ugly-vhdl.vhd > pretty-vhdl.vhd
```
# How it works
The scripts launches Emacs, loads the correct "file mode" and calls the
reformatting command for that mode.
This repository includes the following to "Emacs Mode" for formatting
VHDL/Verilog.
* Emacs VHDL Mode -- http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html
* Mac's Verilog Mode -- http://www.verilog.com/verilog-mode.html || http://www.veripool.org/projects/verilog-mode/wiki/Intro