Skip to content

Add 8/16/32 bit widths for block RAM inference #32

Open
@HackerFoo

Description

@HackerFoo

Add inference for 8, 16, and 32 bit wide block RAM.

  • See commit below for changes needed brams.txt
  • Modify brams_map.v to correctly map {DO,DI} to {A1,B1}DATA
  • Add tests to symbiflow-arch-defs

https://github.com/HackerFoo/yosys/commit/13af5854ce244281da05fdf64e57054c6941e41d#diff-f6a92cf62e16c847b9dc035993276826L48

assign A1DATA = { DOP[3], DO[31:24], DOP[2], DO[23:16], DOP[1], DO[15: 8], DOP[0], DO[ 7: 0] };
assign { DIP[3], DI[31:24], DIP[2], DI[23:16], DIP[1], DI[15: 8], DIP[0], DI[ 7: 0] } = B1DATA;

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions