Merge pull request #1042 from yrabbit/add-z1

gowin: add support for a more common chip
This commit is contained in:
myrtle 2022-11-12 11:17:06 +01:00 committed by GitHub
commit c8406b71fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1018,7 +1018,7 @@ static void pack_plls(Context *ctx)
switch (ci->type.hash()) { switch (ci->type.hash()) {
case ID_rPLL: { case ID_rPLL: {
if (parm_device == "GW1N-1") { if (parm_device == "GW1N-1" || parm_device == "GW1NZ-1") {
// B half // B half
std::unique_ptr<CellInfo> cell = create_generic_cell(ctx, id_RPLLB, ci->name.str(ctx) + "$rpllb"); std::unique_ptr<CellInfo> cell = create_generic_cell(ctx, id_RPLLB, ci->name.str(ctx) + "$rpllb");
reconnect_rpllb(ctx, ci, cell.get()); reconnect_rpllb(ctx, ci, cell.get());