XILINX_VHDL_MEMCOLLTYPE_FIX(1)

NAME
xilinx_vhdl_memcolltype_fix - cleanup faulty VHDL in Xilinx libraries

SYNOPSIS
xilinx_vhdl_memcolltype_fix

DESCRIPTION
The Xilinx simprim and unisim libraries contain code like
      variable Write_A_Write_B : memory_collision_type := Write_A_Write_B;
      variable Read_A_Write_B  : memory_collision_type := Read_A_Write_B;
      variable Write_A_Read_B  : memory_collision_type := Write_A_Read_B;
      variable Write_B_Write_A : memory_collision_type := Write_B_Write_A;
      variable Read_B_Write_A  : memory_collision_type := Read_B_Write_A;
      variable Write_B_Read_A  : memory_collision_type := Write_B_Read_A;
These are a self-referential init and causes ghdl compilation errors. This script scans all .vhd files in the current working directory, and removes lines like this. Used by xise_ghdl_simprim, xise_ghdl_unisim, and xviv_ghdl_unisim.

SEE ALSO
xise_ghdl_simprim(1), xise_ghdl_unisim(1), xviv_ghdl_unisim(1)

AUTHOR
Walter F.J. Mueller <W.F.J.Mueller@gsi.de>