XVIV_SIM_VHDL_CLEANUP(1) Retro Project Manual XVIV_SIM_VHDL_CLEANUP(1) NNAAMMEE xviv_sim_vhdl_cleanup - cleanup Vivado generated VHDL for GHDL SSYYNNOOPPSSIISS xxvviivv__ssiimm__vvhhddll__cclleeaannuupp _f_i_l_e DDEESSCCRRIIPPTTIIOONN The Vivado _w_r_i_t_e___v_h_d_l command generates code that violates a VHDL lan- guage rule. Attributes of port signals are declared in the architec- ture but should be in the entity declaration. xsim and other simulators accept this, but gghhddll(1) doesn't. This script simply filters out lines like attribute .... RTL_KEEP Since attributes are ignored by gghhddll(1) anyway this avoids the problem without any other side effects. SSEEEE AALLSSOO gghhddll(1) AAUUTTHHOORR Walter F.J. Mueller Retro Project 2016-06-05 XVIV_SIM_VHDL_CLEANUP(1)