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

Rewrite pynvcm in Go #4

Open
mchack-work opened this issue Aug 22, 2023 · 2 comments
Open

Rewrite pynvcm in Go #4

mchack-work opened this issue Aug 22, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@mchack-work
Copy link
Member

mchack-work commented Aug 22, 2023

pynvcm is a hacky solution to write to the internal configuration memory NVCM in the Lattice FPGA we use. It's a bit hard to understand and a bit tricky to distribute to people who want to do their own provisioning.

I propose we spend some time to fully understand the script and then rewrite the whole thing in Go.

We might also want to make it possible for the same tool to write to the SPI flash.

@cibomahto
Copy link
Contributor

See YosysHQ/icestorm#286 for background on how this was created. We were unable to find a public description of the NVCM api, and had to reverse engineer the tcl scripts provided with the lattice programming tool.

@mchack-work mchack-work added the enhancement New feature or request label Sep 11, 2023
@nyabinary
Copy link

I feel like Rust would be a better option since it includes some security with it

@mchack-work mchack-work removed their assignment Feb 8, 2024
@dehanj dehanj transferred this issue from tillitis/tillitis-key1 May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants