Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XUD_TILE is separate from USB_TILE #428

Open
henkmuller opened this issue Sep 23, 2024 · 2 comments
Open

XUD_TILE is separate from USB_TILE #428

henkmuller opened this issue Sep 23, 2024 · 2 comments

Comments

@henkmuller
Copy link
Contributor

It would be nice if XUD_TILE was inherited or linked to the USB_TILE in lib_xud

#define XUD_TILE (0)

@xross
Copy link
Collaborator

xross commented Sep 23, 2024

I would like to get rid of USB_TILE altogether - it's used such that XUD enables ports on the correct tile. I'd like the lib just to enable ports on the tile it resides on.

@xross
Copy link
Collaborator

xross commented Oct 28, 2024

In the meantime I shall derive lib_xud's USB_TILE from lib_xua's XUD_TILE by adding an xud_conf.h file to lib_xua containing something like

#define EXPAND_MACRO(x) x
#define ADD_TILE(x) tile[x]
#define USB_TILE ADD_TILE(EXPAND_MACRO(XUD_TILE))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants