Is it possible to configure SPRAM using Amaranth? #1572
              
                Unanswered
              
          
                  
                    
                      joshkahn42
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 1 comment 4 replies
-
| SPRAM inference is highly dependent on the toolchain and the exact instantiation of the memory. Please attach an example of source code that you're using to create a memory, minimized to only contain the memory-related parts. | 
Beta Was this translation helpful? Give feedback.
                  
                    4 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am writing code using Amaranth for a Lattice iCE40 UltraPLus UP5k.
Is it possible to create a memory array in Amaranth that will use the FPGA's SPRAM instead of the RAM?
I am currently using a memory array: https://amaranth-lang.org/docs/amaranth/latest/stdlib/memory.html
I am synthesizing the output verilog code with yosys and need to move some of the resources from RAM to SPRAM.

Beta Was this translation helpful? Give feedback.
All reactions