From a6fe05a9932ded9c5f63e3f5ce0176b1fbc63686 Mon Sep 17 00:00:00 2001 From: colin Date: Wed, 31 Aug 2022 01:40:29 -0700 Subject: [PATCH] app: multi-core-inverter: add more sims --- .../multi_core_inverter/src/main.rs | 150 +++++++++++------- 1 file changed, 95 insertions(+), 55 deletions(-) diff --git a/crates/applications/multi_core_inverter/src/main.rs b/crates/applications/multi_core_inverter/src/main.rs index bf2bd7c..be1c591 100644 --- a/crates/applications/multi_core_inverter/src/main.rs +++ b/crates/applications/multi_core_inverter/src/main.rs @@ -522,46 +522,46 @@ fn main() { // .with_ctl_conductivity(1e3) // .with_coupling_conductivity(5e6) // ); - let deferred = || { deferred(); run_sim( - "54-320ns-4000ps-2e9A-1e4pctl-2e6pcpl", - drive_map_isolated_inv(), - params - .with_clock_phase_duration(ps(320000)) - .with_clock_decay(ps(4000)) - .with_input_magnitude(2e9) - .with_ctl_conductivity(1e4) - .with_coupling_conductivity(2e6) - )}; - run_sim( - "55-80ns-4000ps-2e9A-1e4pctl-1e5pcpl", - drive_map_isolated_inv(), - params - .with_clock_phase_duration(ps(80000)) - .with_clock_decay(ps(4000)) - .with_input_magnitude(2e9) - .with_ctl_conductivity(1e4) - .with_coupling_conductivity(1e5) - ); - run_sim( - "56-80ns-4000ps-2e9A-1e4pctl-5e5pcpl", - drive_map_isolated_inv(), - params - .with_clock_phase_duration(ps(80000)) - .with_clock_decay(ps(4000)) - .with_input_magnitude(2e9) - .with_ctl_conductivity(1e4) - .with_coupling_conductivity(5e5) - ); - let deferred = || { deferred(); run_sim( - "57-320ns-4000ps-5e10A-1e3pctl-5e6pcpl", - drive_map_isolated_inv(), - params - .with_clock_phase_duration(ps(320000)) - .with_clock_decay(ps(4000)) - .with_input_magnitude(5e10) - .with_ctl_conductivity(1e3) - .with_coupling_conductivity(5e6) - )}; + // run_sim( + // "54-320ns-4000ps-2e9A-1e4pctl-2e6pcpl", + // drive_map_isolated_inv(), + // params + // .with_clock_phase_duration(ps(320000)) + // .with_clock_decay(ps(4000)) + // .with_input_magnitude(2e9) + // .with_ctl_conductivity(1e4) + // .with_coupling_conductivity(2e6) + // ); + // run_sim( + // "55-80ns-4000ps-2e9A-1e4pctl-1e5pcpl", + // drive_map_isolated_inv(), + // params + // .with_clock_phase_duration(ps(80000)) + // .with_clock_decay(ps(4000)) + // .with_input_magnitude(2e9) + // .with_ctl_conductivity(1e4) + // .with_coupling_conductivity(1e5) + // ); + // run_sim( + // "56-80ns-4000ps-2e9A-1e4pctl-5e5pcpl", + // drive_map_isolated_inv(), + // params + // .with_clock_phase_duration(ps(80000)) + // .with_clock_decay(ps(4000)) + // .with_input_magnitude(2e9) + // .with_ctl_conductivity(1e4) + // .with_coupling_conductivity(5e5) + // ); + // run_sim( + // "57-320ns-4000ps-5e10A-1e3pctl-5e6pcpl", + // drive_map_isolated_inv(), + // params + // .with_clock_phase_duration(ps(320000)) + // .with_clock_decay(ps(4000)) + // .with_input_magnitude(5e10) + // .with_ctl_conductivity(1e3) + // .with_coupling_conductivity(5e6) + // ); // run_sim( // "58-20ns-1000ps-2e9A-1e4pctl-1e5pcpl", // drive_map_isolated_inv(), @@ -943,24 +943,64 @@ fn main() { // .with_ctl_conductivity(1e2) // .with_coupling_conductivity(1e4) // ); + // run_sim( + // "96-5ns-100ps-8e11A-1e2pctl-1e4pcpl", + // drive_map_isolated_inv(), + // params + // .with_clock_phase_duration(ps(5000)) + // .with_clock_decay(ps(200)) + // .with_input_magnitude(8e11) + // .with_ctl_conductivity(1e2) + // .with_coupling_conductivity(1e4) + // ); + // run_sim( + // "97-5ns-100ps-16e11A-1e2pctl-1e4pcpl", + // drive_map_isolated_inv(), + // params + // .with_clock_phase_duration(ps(5000)) + // .with_clock_decay(ps(200)) + // .with_input_magnitude(16e11) + // .with_ctl_conductivity(1e2) + // .with_coupling_conductivity(1e4) + // ); + // run_sim( + // "98-5ns-100ps-6e11A-1e2pctl-1e4pcpl", + // drive_map_isolated_inv(), + // params + // .with_clock_phase_duration(ps(5000)) + // .with_clock_decay(ps(200)) + // .with_input_magnitude(6e11) + // .with_ctl_conductivity(1e2) + // .with_coupling_conductivity(1e4) + // ); + // run_sim( + // "99-5ns-100ps-7e11A-1e2pctl-1e4pcpl", + // drive_map_isolated_inv(), + // params + // .with_clock_phase_duration(ps(5000)) + // .with_clock_decay(ps(200)) + // .with_input_magnitude(7e11) + // .with_ctl_conductivity(1e2) + // .with_coupling_conductivity(1e4) + // ); + // run_sim( + // "100-5ns-100ps-6.5e11A-1e2pctl-1e4pcpl", + // drive_map_isolated_inv(), + // params + // .with_clock_phase_duration(ps(5000)) + // .with_clock_decay(ps(200)) + // .with_input_magnitude(6.5e11) + // .with_ctl_conductivity(1e2) + // .with_coupling_conductivity(1e4) + // ); run_sim( - "96-5ns-100ps-8e11A-1e2pctl-1e4pcpl", + "101-2ns-100ps-4e11A-1e3pctl-1e4pcpl", drive_map_isolated_inv(), params - .with_clock_phase_duration(ps(5000)) - .with_clock_decay(ps(200)) - .with_input_magnitude(8e11) - .with_ctl_conductivity(1e2) - .with_coupling_conductivity(1e4) - ); - run_sim( - "97-5ns-100ps-16e11A-1e2pctl-1e4pcpl", - drive_map_isolated_inv(), - params - .with_clock_phase_duration(ps(5000)) - .with_clock_decay(ps(200)) - .with_input_magnitude(16e11) - .with_ctl_conductivity(1e2) + .with_clock_phase_duration(ps(2000)) + .with_clock_decay(ps(100)) + .with_input_magnitude(4e11) + .with_ctl_conductivity(1e3) .with_coupling_conductivity(1e4) );