/// <summary> /// Synthesizes the design, starting from a user-defined set of top-level components downwards, /// using the specified code generator. /// </summary> /// <param name="componentSet">set of top-level components</param> /// <param name="codeGen">code generator to use</param> public void Synthesize( IEnumerable <IComponentDescriptor> componentSet, ICodeGenerator codeGen) { DefaultSynthesisContext sctx = new DefaultSynthesisContext(_ctx, _project, componentSet, codeGen); sctx.Synthesize(); }
/// <summary> /// Synthesizes the design, starting from a user-defined set of top-level components downwards, /// using the specified code generator. /// </summary> /// <param name="componentSet">set of top-level components</param> /// <param name="codeGen">code generator to use</param> public void Synthesize( IEnumerable<IComponentDescriptor> componentSet, ICodeGenerator codeGen) { DefaultSynthesisContext sctx = new DefaultSynthesisContext(_ctx, _project, componentSet, codeGen); sctx.Synthesize(); }
/// <summary> /// Synthesis the design, starting from a user-defined top-level component downwards, using the /// specified code generator. /// </summary> /// <param name="top">top-level component</param> /// <param name="codeGen">code generator to use</param> public void Synthesize(Component top, ICodeGenerator codeGen) { DefaultSynthesisContext sctx = new DefaultSynthesisContext(_ctx, _project, top.Descriptor, codeGen); sctx.Synthesize(); }
/// <summary> /// Synthesizes the design using the specified code generator. /// </summary> /// <param name="codeGen">code generator to use</param> public void Synthesize(ICodeGenerator codeGen) { DefaultSynthesisContext sctx = new DefaultSynthesisContext(_ctx, _project, codeGen); sctx.Synthesize(); }