Loading files
using Hast.Catapult.Drivers;
using Hast.Layer;
using Hast.Synthesis.Models;
using Hast.Synthesis.Services;
using System.Threading.Tasks;
namespace Hast.Catapult.Services;
public class CatapultHardwareImplementationComposer : IHardwareImplementationComposer
{
public bool CanCompose(IHardwareImplementationCompositionContext context) =>
context.DeviceManifest.Name == CatapultDriver.DeviceName;
public Task<IHardwareImplementation> ComposeAsync(IHardwareImplementationCompositionContext context) =>
// Not yet implemented, just here as a placeholder.
Task.FromResult((IHardwareImplementation)new HardwareImplementation());
}
7f9864208This file is pinned to the selected release. Download the original to open it in your design tool.