UNPKG

edacation

Version:

Library and CLI for interacting with Yosys and nextpnr.

14 lines (13 loc) 1.1 kB
import type { ProjectConfiguration, WorkerOptions, WorkerStep, YosysOptions } from './configuration.js'; import type { Project, ProjectInputFile } from './project.js'; export interface YosysStep extends WorkerStep { commands: string[]; } export type YosysWorkerOptions = WorkerOptions<YosysStep, YosysOptions>; export declare const getYosysDefaultOptions: (configuration: ProjectConfiguration) => YosysOptions; export declare const getYosysOptions: (configuration: ProjectConfiguration, targetId: string) => YosysOptions; export declare const generateYosysWorkerOptions: (configuration: ProjectConfiguration, projectInputFiles: ProjectInputFile[], targetId: string) => YosysWorkerOptions; export declare const getYosysWorkerOptions: (project: Project, targetId: string) => YosysWorkerOptions; export declare const generateYosysRTLCommands: (workerOptions: YosysWorkerOptions) => string[]; export declare const generateYosysSynthPrepareCommands: (workerOptions: YosysWorkerOptions) => string[]; export declare const generateYosysSynthCommands: (workerOptions: YosysWorkerOptions) => string[];