Altera_Forum
Honored Contributor
17 years agoERROR: positive-number required for log2
I'm trying to design an SOPC component that has an avalon-slave interface, and two master interfaces. The slave interface goes to the Nios, and the master interfaces (will) be connected to the SDRAM that is shared with the Nios. The idea is to have a more advanced method of DMA (as well as interfacing with an off-chip component) that will allow hardware-based queuing of DMA transactions -- something which (as far as I can tell) cannot be done with Altera's DMA Controller component. Unfortunately, whenever I connect the master interfaces to SDRAM, even with a bare-bones entity-only vhdl file, I get the error:
(*) Making arbitration and system (top) modules.
ERROR:
positive-number required for log2 not (-2147483648)
255 SOPC Builder then goes on to tell me that system generation was successful, but it actually was not. Has anybody encountered this before? The error goes away if I disconnect my master interfaces.