Skip to content

Commit

Permalink
Update lib.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
erihsu committed Apr 29, 2021
1 parent 13139b4 commit f2c57e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ pub trait CTSPlugin {
// given clock network name, return a set of sinks. The information include sink name, sink location
fn get_clock_sinks(&self, clk:&str) -> CTSPluginRes<Vec<(String, (i32, i32))>>;
// given clock net name, clock net Route Definition, change the internal design
fn update_clock_net(&mut self,net_name:&str, net: &[Path]) -> CTSPluginRes<()>;
// given buffer model, buffer location and orientation, change the internal design, return new clock net name
fn insert_clock_buffer(&mut self,buffer_name:&str, model:&str, location:(i32, i32)) -> CTSPluginRes<String>;
fn update_clock_net(&mut self,net_name:&str, net_data: &[Path]) -> CTSPluginRes<()>;
// given buffer model, buffer location, net name being hold up, change the internal design, return new clock net name
fn insert_clock_buffer(&mut self,buffer_name:&str, model:&str, location:(i32, i32),net_name:&str) -> CTSPluginRes<String>;
// export standard def file
fn export_def(&self, path: &str) -> CTSPluginRes<()>;
// export verilog netlist
Expand Down

0 comments on commit f2c57e1

Please sign in to comment.