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

How to Generate Tile.fir or Tile.mlir in generated-src after Running make? #60

Closed
Stevengre opened this issue Jan 20, 2024 · 1 comment

Comments

@Stevengre
Copy link

I'm trying to generate either a Tile.fir or Tile.mlir file in the generated-src directory after running the make command. However, I'm facing an issue.

Here's what I've done so far:

I ran make in the terminal as usual.
Then, I tried changing emitSystemVerilogFile to emitCHIRRTL in the code.
After that, I executed sbt 'runMain mini.Main'.
Despite these steps, I'm not seeing the expected Tile.fir or Tile.mlir files in the generated-src directory. It's quite puzzling for me.

Thanks in advance for any help or guidance you can provide!

@Stevengre Stevengre changed the title Issue Generating Tile.fir or Tile.mlir in generated-src after Running make How to Generate Tile.fir or Tile.mlir in generated-src after Running make? Jan 20, 2024
@Yakkhini
Copy link
Contributor

Yakkhini commented Jun 2, 2024

Go to see #67 which modify Makefile and pass an argument --dump-fir to ChiselStage. emitSystemVerilog(File) is just a common API to generate something like SV or Firrtl file so there is no need to modify source code.

@ekiwi ekiwi closed this as completed Jun 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants