Skip to content

How to bind a proprietary SRAM compiler #856

Discussion options

You must be logged in to vote

Ah. I think clarification on the distinction between the barstools MacroCompiler and Hammer's SRAMGenerator is necessary. It is a 2-step flow.

Step 1: MacroCompiler takes the memories required by Chisel (SyncReadMem instances in those .sv files you mention) and reads in a SRAMMacro or SRAMGroup description of available memories (the json files provided in the plugin) in order to replace them with instances of memories provided in the technology (transforms the .sv files and adds a <config>.top.mems.v file). It also emits a json file in Hammer IR format (<config>.mems.hammer.json) that is used in the next step. Chisel elaboration (generating generated-src) is not SRAM compiler aware, hence…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Z-KN
Comment options

@harrisonliew
Comment options

Answer selected by Z-KN
@Z-KN
Comment options

@harrisonliew
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants