edacation
Version:
Library and CLI for interacting with Yosys and nextpnr.
21 lines (20 loc) • 551 B
TypeScript
export interface Vendor {
name: string;
url?: string;
packages: Record<string, string>;
families: Record<string, Family>;
}
export type VendorId = keyof typeof VENDORS;
export interface Family {
name: string;
architecture: Architecture;
url?: string;
devices: Record<string, Device>;
}
export type Architecture = 'ecp5' | 'generic' | 'gowin' | 'ice40' | 'machxo2' | 'nexus';
export interface Device {
name: string;
device: string;
packages: string[];
}
export declare const VENDORS: Record<string, Vendor>;