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

ql_memory_bank reading bitstream back #1503

Open
mustafaarslan0 opened this issue Jan 3, 2024 · 2 comments
Open

ql_memory_bank reading bitstream back #1503

mustafaarslan0 opened this issue Jan 3, 2024 · 2 comments

Comments

@mustafaarslan0
Copy link
Contributor

I use ql_memory_bank shift_register configuration protocol with SRAM cells. SRAM cells have BL, WL and WLR pins as described in OpenFPGA Circuit model examples.

We need read enable signal for reading SRAM but I think WLR is overkill for this function. Wouldn't it be better if we use 1-bit wide read_enable signal (connected to all SRAMs) and WL together. WL is for decoding and read_enable signal is for deciding write or read operation.

Also BL should be defined as inout for bidirectional read/write operations.

Thank you,
Best regards.

@tangxifan
Copy link
Collaborator

@mustafaarslan0

In your case, you may consider to create a global signal EN for your SRAM.
Take the example (focus on the CFG_EN port)

https://openfpga.readthedocs.io/en/master/manual/arch_lang/circuit_model_examples/#configuration-chain-flip-flop-with-configure-enable-signals

@mustafaarslan0
Copy link
Contributor Author

@tangxifan creating a global EN signal works. But BL should be defined as inout for bidirectional read/write operations.

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