= GHDL
{c}
https://github.com/ghdl/ghdl
Examples under \a[vhdl].
First install <GHDL>. On <Ubuntu>:
``
sudo apt install verilator
``
Tested on Verilator 1.0.0, <Ubuntu 22.04>.
Run all examples, which have assertions in them:
``
cd vhdl
./run
``
Files:
* Examples
* Basic
* \a[vhdl/hello_world_tb.vhdl]: hello world
* \a[vhdl/min_tb.vhdl]: min
* \a[vhdl/assert_tb.vhdl]: assert
* Lexer
* \a[vhdl/comments_tb.vhdl]: comments
* \a[vhdl/case_insensitive_tb.vhdl]: case insensitive
* \a[vhdl/whitespace_tb.vhdl]: whitespace
* \a[vhdl/literals_tb.vhdl]: literals
* Flow control
* \a[vhdl/procedure_tb.vhdl]: procedure
* \a[vhdl/function_tb.vhdl]: function
* \a[vhdl/operators_tb.vhdl]: operators
* Types
* \a[vhdl/integer_types_tb.vhdl]: integer types
* \a[vhdl/array_tb.vhdl]: array
* \a[vhdl/record_tb.vhdl.bak]: record. TODO fails with "GHDL Bug occurred" on GHDL 1.0.0
* \a[vhdl/generic_tb.vhdl]: generic
* \a[vhdl/package_test_tb.vhdl]: Packages
* \a[vhdl/standard_package_tb.vhdl]: standard package
* textio
* \a[vhdl/write_tb.vhdl]: write
* \a[vhdl/read_tb.vhdl]: read
* \a[vhdl/std_logic_tb.vhdl]: std_logic
* \a[vhdl/stop_delta_tb.vhdl]: `--stop-delta`
* Applications
* Combinatoric
* \a[vhdl/adder.vhdl]: adder
* \a[vhdl/sqrt8_tb.vhdl]: sqrt8
* Sequential
* \a[vhdl/clock_tb.vhdl]: clock
* \a[vhdl/counter.vhdl]: counter
* Helpers
* \a[vhdl/template_tb.vhdl]: template
Back to article page