ecp5: Add Add getGridDimX(), getGridDimY(), getTileDimZ()
Signed-off-by: David Shah <davey1576@gmail.com>
This commit is contained in:
parent
38962d0f02
commit
a3864c2936
@ -388,6 +388,11 @@ struct Arch : BaseCtx
|
|||||||
|
|
||||||
IdString portPinToId(PortPin type) const;
|
IdString portPinToId(PortPin type) const;
|
||||||
PortPin portPinFromId(IdString id) const;
|
PortPin portPinFromId(IdString id) const;
|
||||||
|
// -------------------------------------------------
|
||||||
|
|
||||||
|
int getGridDimX() const { return chip_info->width; };
|
||||||
|
int getGridDimY() const { return chip_info->height; };
|
||||||
|
int getTileDimZ(int,int) const { return 4; };
|
||||||
|
|
||||||
// -------------------------------------------------
|
// -------------------------------------------------
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user