Commit 81e458c3 authored by Lucas Russo's avatar Lucas Russo

modules/*/wb_fmc150/Manifest.py: Differentiate between synth and sim

The new version of hdlmake throws an error is an unavailable
variable is used in the Manifests. This was usually the case
in selecting modules for synthesis or simulation.
parent 1db36dc9
files = ["wb_fmc150.vhd", "xwb_fmc150.vhd", "xfmc150_regs_pkg.vhd", "wb_fmc150_port.vhd"];
files = ["wb_fmc150.vhd", "xwb_fmc150.vhd", "xfmc150_regs_pkg.vhd", "wb_fmc150_port.vhd"];
# Select between synthesis or simulation components
if (action == "synthesis" ):
if(target == "xilinx" and syn_device[0:4].upper()=="XC6V"):
modules = {"local" : [ "adc", "fmc150", "netlist"]}
else:
print "WARNING: Device not supported for synthesis using the FMC150 core!"
print ("WARNING: Device not supported for synthesis using the FMC150 core!")
elif (action == "simulation"):
if (target == "xilinx"):
modules = {"local" : [ "adc", "fmc150", "sim"]}
modules = {"local" : [ "adc", "fmc150", "sim"]}
else:
print "WARNING: Device not supported for simulation using the FMC150 core!"
# It will not reach nthis point as hdlmake takes cares of unsupported options
#else:
# "WARNING: Device not supported using the FMC150 core!"
print ("WARNING: Device not supported for simulation using the FMC150 core!")
else:
print ("WARNING: Device not supported using the FMC150 core!")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment