#ifdef VHDL

/*
 * $Id$
 *
 * [ Description ]
 * 
 */

#include "Behavioural/include/Vhdl.h"

#include <sstream>
using namespace std;

namespace morpheo              {
namespace behavioural          {
  
  void Vhdl::set_port (string      name     ,
		       direction_t direction,
		       string      type     )
  {
    set_list (_list_port, name + "\t: " + direction_toString(direction) + " " + type);
  };

  void Vhdl::set_port (string      name     ,
		       direction_t direction,
		       uint32_t    size     )
  {
    set_port(name,direction,std_logic(size));
  };
    
}; // end namespace behavioural          
}; // end namespace morpheo              

#endif
