On Dec 30, 2011, at 8:41 AM, René Doß wrote:

> Hallo,
> 
> my functional simulation runs but on my FPGA I get trouble. Now I want to 
> research the mistake.
> For this I want to start a post fitting simulation.
> 
> I have in the subdirectory /ise/netgen/map  all files what I need. the sdf 
> file and the lm_cpu_map.vhd.
> 
> 
> ghdl -i *.vhd
> ghdl -i --work=simprim  /opt/Xilinx/13.1/ISE_DS/ISE/vhdl/src/simprims/*.vhd
> ghdl -i --work=simprim  
> /opt/Xilinx/13.1/ISE_DS/ISE/vhdl/src/simprims/primitive/mti/*.vhd
> ghdl -i --work=simprim  
> /opt/Xilinx/13.1/ISE_DS/ISE/vhdl/src/simprims/primitive/other/*.vhd
> ghdl -m -g -Psimprim -Wa,--32 -Wl,-m32 --warn-no-vital-generic  
> --ieee=synopsys -fexplicit --sdf=/.=lm_cpu_map.sdf  tb_lm_cpu
> ghdl: unknown option '--sdf=/.=lm_cpu_map.sdf' for command '-m'
> make: *** [all] Error 1
> 
> How is the correct command line for the integration of sdf file?

ghdl --run-help

 ...
 --sdf=[min=|typ=|max=]TOP=FILENAME
    annotate TOP with SDF delay file FILENAME
 ...

Loading an sdf file occurs at run time, which also tells you a model won't run 
as a standalone program with SDF delays loaded from an SDF file.  You could 
write something to produce (a) configuration statement(s) from SDF and 
configure a VITAL compliant model overloading generics conveying delay values.  

Back annotating in the simulator can add delays without needing a VITAL 
compliant model.


_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to