Skip to content
This repository was archived by the owner on Apr 20, 2024. It is now read-only.
This repository was archived by the owner on Apr 20, 2024. It is now read-only.

MacroCompiler fails to compile if depth < min. depth in SRAM compiler library #76

@harrisonliew

Description

@harrisonliew

While compile to SRAMs for some technology, I believe I encountered a bug. Here is the test case:

  • My technology has min. depth of 512 for single-port memories
  • I am running MacroCompiler with -n <my conf file> -l <my sram-compiler.json> -u (output options omitted)
  • If I have single-port mems whose depth is <512, the resulting firrtl does not have any compiled memory extmodules for those mems
  • If I manually change the depth to >=512 in the conf file, it compiles properly

I'm unsure if this also affects >1-port memories because my technology has much smaller min depth for register files.

Possibly related to #44 and #47?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions