From 6e3d76ad8095238cd9c188f449a51cb91b23bd09 Mon Sep 17 00:00:00 2001 From: Zane Kaminski Date: Tue, 8 Oct 2024 07:20:23 -0400 Subject: [PATCH] Reformat DoutOE equation in IOBM --- cpld/IOBM.v | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpld/IOBM.v b/cpld/IOBM.v index c20315c..c8dfc81 100644 --- a/cpld/IOBM.v +++ b/cpld/IOBM.v @@ -105,8 +105,8 @@ module IOBM( always @(negedge C16M) begin nDinLE = IOS==4 || IOS==5; end reg DoutOE = 0; always @(posedge C16M) begin - DoutOE <= (IOS==0 && IOREQr && !IORW && !C8Mr) || - (DoutOE && (IOS==2 || IOS==3 || IOS==4 || IOS==5)); + DoutOE <= ((IOS==0 && IOREQr && !IORW && !C8Mr) || + (DoutOE && (IOS==2 || IOS==3 || IOS==4 || IOS==5))); end assign nDoutOE = !(AoutOE && (DoutOE || (IOS0 && !IOREQr)));