Altera_Forum
Honored Contributor
20 years agocustom instructions
Is there an easy way to write custom instructions which read and write to SDRAM?
In particular, we're trying to make an compare-and-swap instruction in order to do multi-threading. Also, though, this would be useful for matrix multiplication instructions and vector instructions as well. Any pointers towards a simpler interface to SDRAM than directly banging on the SDRAM controller would be appreciated; in particular if there's any way to coordinate with load and store instructions (I presume that each one doesn't implement its own interface to sdram -- is there any way to reuse their interface?). Thanks.