-
1Download
Get the latest package version from https://hackaday.io/project/174585/files
-
2Build
Execute the run_tests.sh script.
This will build the libraries and run many self-tests.
These examples in the tests directory also show you the various ways to use this library.
-
3Link
You can directly use this library with all the ProASIC3 standard files, either without the analytics system ("simple" version) or the full analytics system (the standard version).
In the "simple" case, at full simulation speed and no analysis, your VHDL source code contains these lines :
Library proasic3; use proasic3.all;
Then you point GHDL to the right library with this command line:
ghdl -Psomepath/LibreGates/proasic3/simple my_file.vhdl
If you need full analysis, then use the standard version and add these invocations to the VHDL testbench:
Library LibreGates; use LibreGates.all; use LibreGates.Gates_lib.all;
Then you modify the inclusion path :
ghdl -Psomepath/LibreGates/proasic3 my_file.vhdl
-
4RTFM
Several READMEs, some docs, examples and even the logs here and in the original project should help you getting started.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.