diff options
Diffstat (limited to 'cyclonev/arch.h')
-rw-r--r-- | cyclonev/arch.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/cyclonev/arch.h b/cyclonev/arch.h index cdf41f39..cd5905cd 100644 --- a/cyclonev/arch.h +++ b/cyclonev/arch.h @@ -30,11 +30,31 @@ struct ArchArgs std::string device; }; +struct BelInfo +{ + IdString name, type; + std::map<IdString, std::string> attrs; + CellInfo *bound_cell; + std::unordered_map<IdString, PinInfo> pins; + DecalXY decalxy; + int x, y, z; + bool gb; +}; + +struct PinInfo +{ + IdString name; + WireId wire; + PortType type; +}; + struct Arch : BaseCtx { ArchArgs args; mistral::CycloneV* cyclonev; + std::unordered_map<IdString, BelInfo> bels; + Arch(ArchArgs args); std::string getChipName() const { return std::string{"TODO: getChipName"}; } |