Skip to content

Commit

Permalink
Fix build, accidentally committed moore-circt
Browse files Browse the repository at this point in the history
  • Loading branch information
VonTum committed Mar 1, 2024
1 parent f83d753 commit 033f22d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ tree-sitter-sus = {path = "tree-sitter-sus"}
# calyx-opt = {version = "0.6.1", optional = true}
# calyx-backend = {version = "0.6.1", optional = true}

moore-circt = {version = "0.14.0", optional = true, path = "/home/lennart/Desktop/moore/src/circt"}
moore-circt-sys = {version = "0.14.0", optional = true, path = "/home/lennart/Desktop/moore/src/circt-sys"}
# moore-circt = {version = "0.14.0", optional = true, path = "/home/lennart/Desktop/moore/src/circt"}
# moore-circt-sys = {version = "0.14.0", optional = true, path = "/home/lennart/Desktop/moore/src/circt-sys"}
# moore-circt = {version = "0.14.0", optional = true}
# moore-circt-sys = {version = "0.14.0", optional = true}

Expand All @@ -35,4 +35,4 @@ serde = {version = "1.0.156", optional = true}
[features]
lsp = ["lsp-server", "lsp-types", "serde_json", "serde"]
# codegen = ["calyx-ir", "calyx-opt", "calyx-backend"]
codegen = ["moore-circt-sys", "moore-circt"]
# codegen = ["moore-circt-sys", "moore-circt"]
4 changes: 2 additions & 2 deletions src/codegen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use std::{ops::Deref, io};
use crate::{linker::Linker, flattening::{FlattenedModule, FlatID}, ast::{Module, Span}, arena_alloc::ListAllocator, instantiation::InstantiatedModule};


use moore_circt::{hw, comb, mlir::{self, Owned, builder, OperationExt, SingleBlockOp}, mlir::{Context, OwnedContext, DialectHandle, Builder, Value, Type}};
/*use moore_circt::{hw, comb, mlir::{self, Owned, builder, OperationExt, SingleBlockOp}, mlir::{Context, OwnedContext, DialectHandle, Builder, Value, Type}};
use num::bigint::BigInt;
Expand Down Expand Up @@ -49,7 +49,7 @@ impl GenerationContext {
module.print(io::stdout().lock(), true);
}
}

*/
/*
use calyx_ir::*;
Expand Down

0 comments on commit 033f22d

Please sign in to comment.