Hi All, I am facing the following issue. I am able to compile and successfully simulate a design using the XilinxCoreLib under linux. However using the same approach on Windows does not work. Here is basically what I do:
ghdl -i --workdir=XilinxCoreLib --work=XilinxCoreLib PathToXilinxCorelibSources\*.vhd ghdl -i -v --syn-binding --ieee=synopsys --workdir=ghdl_work -fexplicit ../src/*.vhd int_gen_tb.vhd ghdl -m -v --syn-binding --ieee=synopsys --workdir=ghdl_work -fexplicit -PXilinxCoreLib int_gen_tb On linux ghdl complains about a bad library but sucessfully loads the Corelib entity I am using (dist_mem_gen_v6_3: simple ROM) and everything goes pretty smooth. On windows however, I get the following result ..\..\v87\synopsys\std_logic_arith.vhd:391:14:warning: function "left_signed_arg" is never referenced ..\..\v87\synopsys\std_logic_arith.vhd:400:14:warning: function "left_unsigned_arg" is never referenced ..\..\v87\synopsys\std_logic_arith.vhd:409:14:warning: function "mult_signed_arg" is never referenced ..\..\v87\synopsys\std_logic_arith.vhd:418:14:warning: function "mult_unsigned_arg" is never referenced ..\..\v87\synopsys\std_logic_arith.vhd:1258:14:warning: function "unsigned_return_boolean" is never referenced ..\..\v87\synopsys\std_logic_arith.vhd:1266:14:warning: function "signed_return_boolean" is never referenced C:\Program Files (x86)\Ghdl\Bin\ghdl.exe: cannot load entity "dist_mem_gen_v6_3" On Windows I do see the following entry in XilinxCoreLib/xilinxcorelib-obj93.cf which indicates that the entity does exists file "Mypath\" "E:\Xilinx\13.4\ISE_DS\ISE\vhdl\src\XilinxCoreLib\dist_mem_gen_v6_3.vhd" "20120107135842.000" "20130103230402.496": entity dist_mem_gen_v6_3 at 63( 2808) + 0 on 4; architecture behavioral of dist_mem_gen_v6_3 at 128( 5259) + 0 on 4; which is quite close to what I see on Linux file / "/mnt/hgfs/Xilinx/13.4/ISE_DS/ISE/vhdl/src/XilinxCoreLib/dist_mem_gen_v6_3.vhd" "20120107135841.000" "20130103192244.620": entity dist_mem_gen_v6_3 at 63( 2808) + 0 on 4; On windows I am using GHDL 0.29 (20100109) [Sokcho edition] Compiled with GNAT Version: GPL 2009 (20090519) mcode code generator and GHDL 0.29 (20100109) [Sokcho edition] Compiled with GNAT Version: 4.4.4 GCC back-end code generator on linux. Any clue why it works on Linux and not on windows will be really appreaciated? Thanks GA _______________________________________________ Ghdl-discuss mailing list [email protected] https://mail.gna.org/listinfo/ghdl-discuss
