Add needed PLLOUTGLOBAL ports and mapped it properly
This commit is contained in:
parent
e7fe046e57
commit
fdf7593c42
@ -243,6 +243,8 @@ std::unique_ptr<CellInfo> create_ice_cell(Context *ctx, IdString type, std::stri
|
|||||||
add_port(ctx, new_cell.get(), "LOCK", PORT_OUT);
|
add_port(ctx, new_cell.get(), "LOCK", PORT_OUT);
|
||||||
add_port(ctx, new_cell.get(), "PLLOUT_A", PORT_OUT);
|
add_port(ctx, new_cell.get(), "PLLOUT_A", PORT_OUT);
|
||||||
add_port(ctx, new_cell.get(), "PLLOUT_B", PORT_OUT);
|
add_port(ctx, new_cell.get(), "PLLOUT_B", PORT_OUT);
|
||||||
|
add_port(ctx, new_cell.get(), "PLLOUTGLOBALA", PORT_OUT);
|
||||||
|
add_port(ctx, new_cell.get(), "PLLOUTGLOBALB", PORT_OUT);
|
||||||
} else {
|
} else {
|
||||||
log_error("unable to create iCE40 cell of type %s", type.c_str(ctx));
|
log_error("unable to create iCE40 cell of type %s", type.c_str(ctx));
|
||||||
}
|
}
|
||||||
|
@ -730,6 +730,12 @@ static void pack_special(Context *ctx)
|
|||||||
newname = "PLLOUT_B";
|
newname = "PLLOUT_B";
|
||||||
if (pi.name == ctx->id("PLLOUTCORE"))
|
if (pi.name == ctx->id("PLLOUTCORE"))
|
||||||
newname = "PLLOUT_A";
|
newname = "PLLOUT_A";
|
||||||
|
if (pi.name == ctx->id("PLLOUTGLOBALA"))
|
||||||
|
newname = "PLLOUT_A";
|
||||||
|
if (pi.name == ctx->id("PLLOUTGLOBALB"))
|
||||||
|
newname = "PLLOUT_B";
|
||||||
|
if (pi.name == ctx->id("PLLOUTGLOBAL"))
|
||||||
|
newname = "PLLOUT_A";
|
||||||
|
|
||||||
if (pi.name == ctx->id("PACKAGEPIN")) {
|
if (pi.name == ctx->id("PACKAGEPIN")) {
|
||||||
if (!is_pad) {
|
if (!is_pad) {
|
||||||
|
Loading…
Reference in New Issue
Block a user