@@ -6,18 +6,17 @@ examples and some components are implemented as well. All language examples and
6
6
components can be found under their related folders and subfolders. I hope
7
7
someone else might find this information also useful.
8
8
9
- ## How to use
9
+ ## Tools used
10
10
11
- All code is written using Vim and with it I use plugins to help me to write
12
- better code. The plugins used are [ hdlcc] ( https://github.com/suoto/hdlcc ) and
11
+ All code is written using Vim and some plugins. The plugins used are [ hdlcc] ( https://github.com/suoto/hdlcc ) and
13
12
[ vim-hdl] ( https://github.com/suoto/vim-hdl ) . These plugins together provide
14
13
syntax checking and automatic compiling for simulation with ModelSim.
15
14
Configuration file is named ` vimhdl.prj ` and Vim needs to be started in the
16
15
folder with this file.
17
16
18
17
All automatically compiled code is placed in the ` .build ` subfolder. In this
19
18
subfolder ModelSim can be started and it should read all compiled code and
20
- libraries without errors. ModelSim can be given with the desing to simulate. For
19
+ libraries without errors. ModelSim can be given with the design to simulate. For
21
20
example:
22
21
```
23
22
cd .build/
@@ -26,7 +25,12 @@ vsim work.test
26
25
Then run example in ModelSim console with ` run ` and example should print the
27
26
results and stop automatically.
28
27
29
- TODO: Write about testing components with VUnit.
28
+ Components are tested with [ VUnit] ( https://vunit.github.io/ ) Python based
29
+ testing library. Repository root includes ` Pipfile ` which can be used with
30
+ [ pipenv] ( https://github.com/pypa/pipenv ) to create Python virtual environments
31
+ VUnit installed and not populating your system's installation. Virtual environment
32
+ installed and activated all tests can be run with ` python run.py ` at project
33
+ root.
30
34
31
35
## Missing VHDL topics
32
36
0 commit comments