gowin: Himbaechel. Fix IDES16/OSER16
Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
This commit is contained in:
parent
4e8436a1fc
commit
ff96fc5af1
@ -797,6 +797,7 @@ X(IDES8)
|
|||||||
X(IDES10)
|
X(IDES10)
|
||||||
X(IVIDEO)
|
X(IVIDEO)
|
||||||
X(IDES16)
|
X(IDES16)
|
||||||
|
X(IOLOGIC)
|
||||||
X(IOLOGICI)
|
X(IOLOGICI)
|
||||||
X(IOLOGICO)
|
X(IOLOGICO)
|
||||||
X(IOLOGICA)
|
X(IOLOGICA)
|
||||||
|
@ -200,7 +200,7 @@ void GowinImpl::postRoute()
|
|||||||
|
|
||||||
for (auto &cell : ctx->cells) {
|
for (auto &cell : ctx->cells) {
|
||||||
auto ci = cell.second.get();
|
auto ci = cell.second.get();
|
||||||
if (ci->type.in(id_IOLOGICI, id_IOLOGICO) ||
|
if (ci->type.in(id_IOLOGICI, id_IOLOGICO, id_IOLOGIC) ||
|
||||||
((is_iologici(ci) || is_iologico(ci)) && !ci->type.in(id_ODDR, id_ODDRC, id_IDDR, id_IDDRC))) {
|
((is_iologici(ci) || is_iologico(ci)) && !ci->type.in(id_ODDR, id_ODDRC, id_IDDR, id_IDDRC))) {
|
||||||
if (visited_hclk_users.find(ci->name) == visited_hclk_users.end()) {
|
if (visited_hclk_users.find(ci->name) == visited_hclk_users.end()) {
|
||||||
// mark FCLK<-HCLK connections
|
// mark FCLK<-HCLK connections
|
||||||
|
@ -741,7 +741,7 @@ struct GowinPacker
|
|||||||
aux->setParam(ctx->id("UPDATE"), Property("SAME"));
|
aux->setParam(ctx->id("UPDATE"), Property("SAME"));
|
||||||
|
|
||||||
// make cell in the next location
|
// make cell in the next location
|
||||||
ctx->createCell(main_name, id_IOLOGICO);
|
ctx->createCell(main_name, id_IOLOGIC);
|
||||||
aux = ctx->cells.at(main_name).get();
|
aux = ctx->cells.at(main_name).get();
|
||||||
|
|
||||||
aux->setAttr(ctx->id("MAIN_CELL"), Property(main_name.str(ctx)));
|
aux->setAttr(ctx->id("MAIN_CELL"), Property(main_name.str(ctx)));
|
||||||
@ -814,7 +814,7 @@ struct GowinPacker
|
|||||||
ci.copyPortTo(id_CALIB, aux, id_CALIB);
|
ci.copyPortTo(id_CALIB, aux, id_CALIB);
|
||||||
|
|
||||||
// make cell in the next location
|
// make cell in the next location
|
||||||
ctx->createCell(main_name, id_IOLOGICI);
|
ctx->createCell(main_name, id_IOLOGIC);
|
||||||
aux = ctx->cells.at(main_name).get();
|
aux = ctx->cells.at(main_name).get();
|
||||||
|
|
||||||
aux->setAttr(ctx->id("MAIN_CELL"), Property(main_name.str(ctx)));
|
aux->setAttr(ctx->id("MAIN_CELL"), Property(main_name.str(ctx)));
|
||||||
|
Loading…
Reference in New Issue
Block a user