From 90ba79ae2c2e25713b6c3953b7087438c9950942 Mon Sep 17 00:00:00 2001 From: Junaid Ahmed <67728633+junaidahmed-lm@users.noreply.github.com> Date: Tue, 22 Sep 2020 17:24:07 +0500 Subject: [PATCH] Update beh_ib_func.scala --- src/main/scala/lib/beh_ib_func.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/lib/beh_ib_func.scala b/src/main/scala/lib/beh_ib_func.scala index 76dfcbc1..b1e707a1 100644 --- a/src/main/scala/lib/beh_ib_func.scala +++ b/src/main/scala/lib/beh_ib_func.scala @@ -216,7 +216,7 @@ object beh_ib_func { obj.io.clk := clk obj.io.en := en obj.io.scan_mode := scan_mode - withClock(clk) { + withClock(l1clk) { RegNext(din,0.U) } }