- fix call to ceilLog2 in macros
This commit is contained in:
@@ -248,10 +248,10 @@ trait HasSimpleTestGenerator {
|
|||||||
val v = s"${generatorType}${extraTagPrefixed}.v"
|
val v = s"${generatorType}${extraTagPrefixed}.v"
|
||||||
|
|
||||||
lazy val mem_name = "target_memory"
|
lazy val mem_name = "target_memory"
|
||||||
val mem_addr_width = ceilLog2(memDepth)
|
val mem_addr_width = MacroCompilerMath.ceilLog2(memDepth)
|
||||||
|
|
||||||
lazy val lib_name = "awesome_lib_mem"
|
lazy val lib_name = "awesome_lib_mem"
|
||||||
val lib_addr_width = ceilLog2(libDepth)
|
val lib_addr_width = MacroCompilerMath.ceilLog2(libDepth)
|
||||||
|
|
||||||
// Override these to change the port prefixes if needed.
|
// Override these to change the port prefixes if needed.
|
||||||
def libPortPrefix: String = "lib"
|
def libPortPrefix: String = "lib"
|
||||||
|
|||||||
Reference in New Issue
Block a user