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

Some RAMB36E1 parameter modes aren't getting encoded properly. #2

Open
litghost opened this issue Mar 29, 2021 · 2 comments
Open

Some RAMB36E1 parameter modes aren't getting encoded properly. #2

litghost opened this issue Mar 29, 2021 · 2 comments

Comments

@litghost
Copy link

After the most recent RapidWright patch to getPinMappingsP2L, some RAMB36E1 parameter modes aren't generating valid encodings in the FPGA interchange. Unclear if this a problem with the schema or the encoder.

The particular parameter set that is problematic is WRITE_WIDTH_A=0 RAM_MODE=TDP. Other WRITE_WIDTH_A values, and WRITE_WIDTH_A=0 RAM_MODE=SDP encode fine.

@litghost litghost added this to To Do in FPGA interchange bootstrapping via automation Mar 29, 2021
@clavin-xlnx
Copy link

clavin-xlnx commented Mar 29, 2021

My guess is that the Interchange needs to be augmented to include multiple parameters that affect a specific pin mapping:
https://github.com/SymbiFlow/fpga-interchange-schema/blob/f537a57fd7af091aabb776cb888f103b2b29349b/interchange/DeviceResources.capnp#L278

In this case, for example, WEAU0 gets GND by default, but when WRITE_WIDTH_A=0 AND RAM_MODE=TDP are both set, then WEAU0 gets WEA[0].

GitHub
Contribute to SymbiFlow/fpga-interchange-schema development by creating an account on GitHub.

@litghost
Copy link
Author

litghost commented Mar 29, 2021

My guess is that the Interchange needs to be augmented to include multiple parameters that affect a specific pin mapping:
https://github.com/SymbiFlow/fpga-interchange-schema/blob/f537a57fd7af091aabb776cb888f103b2b29349b/interchange/DeviceResources.capnp#L278

I'd like to avoid multiple parameter matching like that if possible.

GitHub
Contribute to SymbiFlow/fpga-interchange-schema development by creating an account on GitHub.

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

No branches or pull requests

2 participants