Information for the users of ISYP branch of hdlmake on how to get started with the new master
Below are some steps you need to perform to have the new HDLMake working the same way the old one did.
1. No HDLMake binary in the repo
The old HDLMake was a compiled to a binary that could be added to $PATH for convenience. At the moment, there is no binary for the new HDLmake, in order to add the new HDLmake to $PATH as well:
1. Create a script in /usr/sbin so that you can call new hdlmake (that has no binary) like you did with the old one.
<code class="bash">
#!/usr/bin/env bash
python2.7 /path_to_hdlmake_sources/hdl-make/hdlmake/__main__.py $@
</code>
Here:
hdl-make is the name of the folder created when you checked out the
repo
hdlmake is the subfolder of hdl-make (this is not binary or a file, this
is folder name)
2. Set proper rights:
<code class="bash">
chmod +x /usr/bin/hdlmake
</code>
2. Need to change Manifest for both simulation and synthesis
Due to requirement from the new supported tools, it is now obligatory to state in the Manifest that contains the top simulation/synthesis module more parameters, i.e.:
- the name of the top entity
- the name of the tool
As an example, you need to add to the old top "Manifest.py" the following parameters with the appropriated values:
Simulation
<code class="bash">
top_module = "main"
sim_tool = "modelsim"
</code>
Synthesis
<code class="bash">
top_module = "main"
syn_tool = "ise"
</code>