Not fetching to the right dir
On isyp branch, hdlmake is not fetching/looking in the "fetch_to" directory.
For example, if I want to make a simulation Makefile, fetched modules
have to be in the simulation directory for hdlmake to work.
Otherwise it gives:
mcattin@pcbe15575:~/project/fmc_adc_100ms/hdl/spec/sim$ hdlmake
--make-sim
Generating makefile for simulation...
A module remains unfetched. Fetching must be done prior to makefile
generation
Oooops! We've got an error. Here is the appropriate info:
Hdlmake build 2012Jul27:ed84c9
Traceback (most recent call last):
File "/usr/bin/hdlmake/main.py", line 139, in main
getattr(kernel, function)()
File "/usr/bin/hdlmake/hdlmake_kernel.py", line 102, in
generate_modelsim_makefile
p.echo(str([str(m) for m in self.modules_pool.modules if not
m.isfetched]))
AttributeError: 'ModulePool' object has no attribute 'modules'