Merge pull request #238 from YosysHQ/padin_gb_tmgfix
ice40: Fix timing class of 'padin' GB outputs
This commit is contained in:
commit
e8d3aaaf34
@ -1021,7 +1021,7 @@ TimingPortClass Arch::getPortTimingClass(const CellInfo *cell, IdString port, in
|
|||||||
return TMG_IGNORE;
|
return TMG_IGNORE;
|
||||||
} else if (cell->type == id_SB_GB) {
|
} else if (cell->type == id_SB_GB) {
|
||||||
if (port == id_GLOBAL_BUFFER_OUTPUT)
|
if (port == id_GLOBAL_BUFFER_OUTPUT)
|
||||||
return TMG_COMB_OUTPUT;
|
return cell->gbInfo.forPadIn ? TMG_GEN_CLOCK : TMG_COMB_OUTPUT;
|
||||||
return TMG_COMB_INPUT;
|
return TMG_COMB_INPUT;
|
||||||
} else if (cell->type == id_SB_WARMBOOT) {
|
} else if (cell->type == id_SB_WARMBOOT) {
|
||||||
return TMG_ENDPOINT;
|
return TMG_ENDPOINT;
|
||||||
|
2
tests
2
tests
@ -1 +1 @@
|
|||||||
Subproject commit 691dfb8204131bec7f1c5e139764bf418640f941
|
Subproject commit baf928b5c688d1d8409da28f76c36f74e79a93a8
|
Loading…
Reference in New Issue
Block a user