From 1e38d058817f820a9dd5bb86724ef501f3bebbf1 Mon Sep 17 00:00:00 2001
From: Clo91eaf <Clo91eaf@qq.com>
Date: Thu, 9 May 2024 18:20:43 +0800
Subject: [PATCH] Refactor Dut eval function for better performance

---
 src/dut.rs | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/src/dut.rs b/src/dut.rs
index e651145..c2a6fc9 100644
--- a/src/dut.rs
+++ b/src/dut.rs
@@ -53,17 +53,6 @@ impl Dut {
     self.top.reset_toggle();
   }
 
-  fn eval(&mut self) {
-    self.clock_toggle();
-    self.top.eval();
-    self.top.trace_at(Duration::from_nanos(self.ticks * 2));
-
-    self.clock_toggle();
-    self.top.eval();
-    self.top.trace_at(Duration::from_nanos(self.ticks * 2 + 1));
-    self.ticks += 1;
-  }
-
   /// drive the instruction SRAM interface
   pub fn step(&mut self, inst: u32, data: u64) -> anyhow::Result<(SramRequest, SramRequest, DebugInfo)> {
     match self.ticks {