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

Tang mega138k #1833

Merged
merged 2 commits into from
Nov 9, 2023
Merged

Tang mega138k #1833

merged 2 commits into from
Nov 9, 2023

Conversation

trabucayre
Copy link
Collaborator

This PR contains 2 commits:

  • an common.py update to adds support for Tristate (required for SDRAM phy)
  • an comestic update to have a file file with same aspect of gowin generated files (IO_TYPE and misc in one line, only _p pins with pair instead of one line for _p and another one for _n).

@enjoy-digital enjoy-digital merged commit d2441c6 into enjoy-digital:master Nov 9, 2023
1 check failed
@enjoy-digital
Copy link
Owner

Thanks @trabucayre!

@andelf
Copy link
Contributor

andelf commented Nov 12, 2023

@trabucayre @enjoy-digital This breaks Tang nano 9k, as it generates illegal code:

ERROR (EX3637) : Range is not allowed in a prefix("/data/LiteX/litex-boards/litex_boards/targets/build/sipeed_tang_nano_9k/gateware/sipeed_tang_nano_9k.v":2633)
ERROR (EX3878) : 'IO_psram_dq' is not a memory("/data/LiteX/litex-boards/litex_boards/targets/build/sipeed_tang_nano_9k/gateware/sipeed_tang_nano_9k.v":2633
IOBUF IOBUF(
	// Inputs.
	.I   (main_hyperram_tstriple0_o[0]),
	.OEN ((~main_hyperram_tstriple0_oe)),

	// Outputs.
	.O   (main_hyperram_tstriple0_i[0]),

	// InOuts.
	.IO  (IO_psram_dq[7:0][0])
);

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

Successfully merging this pull request may close these issues.

3 participants