-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create crate edatool for lvs, drc, pex, simulation interfaces (#46)
* Create crate edatool for lvs, drc, pex, simulation interfaces * update pointers to magic_pex and netgen_lvs
- Loading branch information
Showing
25 changed files
with
124 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[submodule "sram22/src/verification/plugins/netgen_lvs"] | ||
path = sram22/src/verification/plugins/netgen_lvs | ||
path = edatool/src/plugins/netgen_lvs | ||
url = git@github.com:rahulk29/netgen_lvs.git | ||
[submodule "sram22/src/verification/plugins/magic_pex"] | ||
path = sram22/src/verification/plugins/magic_pex | ||
path = edatool/src/plugins/magic_pex | ||
url = git@github.com:rahulk29/magic_pex.git |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
[workspace] | ||
|
||
members = [ | ||
"edatool", | ||
"fanout", | ||
"magic_vlsi", | ||
"micro_hdl", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
[package] | ||
name = "edatool" | ||
version = "0.1.0" | ||
edition = "2021" | ||
authors = ["Rahul Kumar <rahulkumar@berkeley.edu>"] | ||
description = "Rust interfaces to EDA tools for circuit design" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
thiserror = "1.0" | ||
magic_vlsi = { path = "../magic_vlsi" } | ||
serde = { version = "1.0", features = ["derive"] } | ||
serde_json = "1.0" | ||
log = "0.4" | ||
handlebars = "4.2" | ||
portpicker = "0.1" | ||
prost = "0.9" | ||
bytes = "1.1" | ||
|
||
[build-dependencies] | ||
prost-build = "0.9" | ||
|
||
[dev-dependencies] | ||
tempfile = "3.3" | ||
approx = "0.5" | ||
|
||
[features] | ||
default = ["open_source"] | ||
netgen_lvs = [] | ||
magic_drc = [] | ||
magic_pex = [] | ||
calibre_lvs = [] | ||
calibre_drc = [] | ||
ngspice_sim = [] | ||
open_source = ["netgen_lvs", "magic_drc", "magic_pex", "ngspice_sim"] | ||
mentor = ["calibre_lvs", "calibre_drc"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
use thiserror::Error; | ||
|
||
#[derive(Debug, Error)] | ||
pub enum EdaToolError { | ||
#[error("io error: {0}")] | ||
Io(#[from] std::io::Error), | ||
|
||
#[error("magic error: {0}")] | ||
Magic(#[from] magic_vlsi::error::MagicError), | ||
|
||
#[error("invalid template: {0}")] | ||
Template(#[from] handlebars::TemplateError), | ||
|
||
#[error("error rendering template: {0}")] | ||
RenderTemplate(#[from] handlebars::RenderError), | ||
|
||
#[error("error running LVS: {0}")] | ||
Lvs(String), | ||
|
||
#[error("error serializing/deserializing JSON: {0}")] | ||
JsonSerialization(#[from] serde_json::Error), | ||
|
||
#[error("file format error: {0}")] | ||
FileFormat(String), | ||
} | ||
|
||
pub type Result<T> = std::result::Result<T, EdaToolError>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
pub mod error; | ||
pub mod lvs; | ||
pub mod pex; | ||
pub mod plugins; | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
Submodule netgen_lvs
added at
971160
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule magic_pex
deleted from
52dc97
Submodule netgen_lvs
deleted from
2cc7be