Library of reusable VHDL components
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
945 B

10 years ago
  1. # libvhdl
  2. A LGPLv3 licensed library of reusable components for VHDL designs and testbenches
  3. ##sim
  4. (Non) synthesible components for testbenches
  5. ##### QueueP
  6. Package with various implementations of queue types:
  7. * `t_simple_queue` simple array based FIFO queue
  8. * `t_list_queue` linked list FIFO queue using access types
  9. ##test
  10. Unit tests for each component
  11. ##### QueueT
  12. Units tests for components of QueueP package
  13. ## Dependencies
  14. To run the tests, you have to install GHDL. You can get it from [http://sourceforge.net/projects/ghdl-updates/](http://sourceforge.net/projects/ghdl-updates/).
  15. ## Building
  16. Type `make` and you should see the successfully running tests
  17. ```
  18. $ make
  19. ghdl -a --std=02 ../sim/QueueP.vhd QueueT.vhd
  20. ghdl -e --std=02 QueueT
  21. ghdl -r --std=02 QueueT
  22. QueueT.vhd:52:5:@0ms:(report note): INFO: t_simple_queue test finished successfully
  23. QueueT.vhd:87:5:@0ms:(report note): INFO: t_list_queue test finished successfully
  24. ```