Guest
Hello everyone,
I'm trying to simulate some Xilinx VHDL design with GHDL... with poor
results... I made a simple project as a schematic, with the RAM16x1d
block (it's a Xilinx IP core). With Xilinx ise i generate the vhf file
for the vhdl simulation. So i have two files:
Toplevel.vhf
Topleveltest.vhd (a simple testbench)
Here is what I do:
1) I import the unisim library with "GHDL -i --work=unisim C:/
Xilinx91i/vhdl/src/unisims/*.vhd
2) I import project files:
ghdl -i --work=work toplevel.vhf topleveltest.vhf
3) I run the testbench:
ghdl -r toplevel_tb --stop-time=200ns
Doing these three steps i get an error: GHDL isn't able to bind the
components with the unisim entities. So I add a configuration for each
component in toplevel.vhf:
for all : RAMB16xD1 use entity unisim.RAM16xD1;
for all : IBUF use entity unisim.IBUF;
for all : OBUF use entity unisim.OBUF;
I repeat steps 2 and 3 with these lines added, but now i get a new
error:
toplevel.vhf:103:40: entity "ram16x1d_1" is obsoleted by package
"vpkg"
toplevel.vhf:103:26: entity "ram16x1d_1" is obsolete
Package VPKG is part of the unisim library. What does the error mean?
Any clue about possible solutions?
My objective is to find out whether it's possible to perform timing
simulations with GHDL+ISE... Anyone is using it for this purpose?
I'm trying to simulate some Xilinx VHDL design with GHDL... with poor
results... I made a simple project as a schematic, with the RAM16x1d
block (it's a Xilinx IP core). With Xilinx ise i generate the vhf file
for the vhdl simulation. So i have two files:
Toplevel.vhf
Topleveltest.vhd (a simple testbench)
Here is what I do:
1) I import the unisim library with "GHDL -i --work=unisim C:/
Xilinx91i/vhdl/src/unisims/*.vhd
2) I import project files:
ghdl -i --work=work toplevel.vhf topleveltest.vhf
3) I run the testbench:
ghdl -r toplevel_tb --stop-time=200ns
Doing these three steps i get an error: GHDL isn't able to bind the
components with the unisim entities. So I add a configuration for each
component in toplevel.vhf:
for all : RAMB16xD1 use entity unisim.RAM16xD1;
for all : IBUF use entity unisim.IBUF;
for all : OBUF use entity unisim.OBUF;
I repeat steps 2 and 3 with these lines added, but now i get a new
error:
toplevel.vhf:103:40: entity "ram16x1d_1" is obsoleted by package
"vpkg"
toplevel.vhf:103:26: entity "ram16x1d_1" is obsolete
Package VPKG is part of the unisim library. What does the error mean?
Any clue about possible solutions?
My objective is to find out whether it's possible to perform timing
simulations with GHDL+ISE... Anyone is using it for this purpose?