Information for the users of ISYP branch of hdlmake on how to get started with master
I was using the HDLmake ISYP branch. Below are some steps I needed to perform to have the new HDLmake working the same way the old one did. I am trying the new hdlmake on switch-hdl project.
No hdlmake binary in the repo
1. I created script in /usr/sbin so that I can call new hdlmake (that has no binary) like I did the old one. I called the new script hdlmake-master
<code class="bash">
#!/usr/bin/env bash
python2.7 your/path/hdl-make/hdlmake
</code>
here:
hdl-make is the name of the folder created when you checked out the
repo
hdlamke is the subfolder of hdl-make (this is not binary or a file, this
is folder name)
2. I set proper rights:
<code class="bash">
chmod +x /usr/bin/hdlmake
</code>
Possible need to change Manifest which contain top module for simulation
Due to requirement from simulators (e.g. iverilog), it is now obligatory to state in the Manifest that contains the top simulation module more parameters, i.e.:
- the name of the top entity
- the name of the tool
So I needed to add to Manifest.py the following
<code class="bash">
top_module = "main"
sim_tool = "modelsim"
sim_tool = "modelsim"
</code>
to this Manifest.py