#ifdef VHDL
/*
 * $Id: Multiplier_vhdl_xilinx_declaration.cpp 116 2009-04-30 13:51:41Z moulu $
 *
 * [ Description ]
 * 
 */

#include "Behavioural/Generic/Multiplier/include/Multiplier.h"

namespace morpheo {
namespace behavioural {
namespace generic {
namespace multiplier {

#undef  FUNCTION
#define FUNCTION "Multiplier::vhdl_xilinx_declaration"
  void Multiplier::vhdl_xilinx_declaration (Vhdl * & vhdl)
  {
    log_begin(Multiplier,FUNCTION);

    vhdl->set_library("XilinxCoreLib","mult_gen_v9_0_comp","all");

    vhdl->set_signal  ("sig_MULTIPLIER_DATA_OUT", _param->_size_data*2);

    log_end(Multiplier,FUNCTION);
  };

}; // end namespace multiplier
}; // end namespace generic

}; // end namespace behavioural
}; // end namespace morpheo              
#endif
