Beispiel #1
0
 /// <summary>
 /// Constructs a new instance
 /// </summary>
 /// <param name="xmm">XIL mapper manager</param>
 /// <param name="host">component instance to host all created functional units</param>
 /// <param name="targetProject">target project</param>
 internal XILAllocator(XILMapperManager xmm, Component host, IProject targetProject)
 {
     _xmm           = xmm;
     _host          = host;
     _targetProject = targetProject;
     _resTables     = new CacheDictionary <ITransactionSite, ReservationTable>(CreateReservationTable);
     Policy         = new DefaultAllocationPolicy();
 }
Beispiel #2
0
 /// <summary>
 /// Constructs a new instance
 /// </summary>
 /// <param name="xmm">XIL mapper manager</param>
 /// <param name="host">component instance to host all created functional units</param>
 /// <param name="targetProject">target project</param>
 internal XILAllocator(XILMapperManager xmm, Component host, IProject targetProject)
 {
     _xmm = xmm;
     _host = host;
     _targetProject = targetProject;
     _resTables = new CacheDictionary<ITransactionSite, ReservationTable>(CreateReservationTable);
     Policy = new DefaultAllocationPolicy();
 }