⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 oneshot.hs

📁 Cores are generated from Confluence a modern logic design language. Confluence is a simple, yet high
💻 HS
字号:
-- | Rising and falling one-shots.module Language.Atom.Common.OneShot  ( oneShotRise  , oneShotFall  ) whereimport Language.Atom-- | One-shot on a rising transition.oneShotRise :: Name -> Term Bool -> System (Term Bool)oneShotRise name input = scope name $ do  last <- bool "last" False  rule "updateLast" $ do    alwaysActiveWhenEnabled    last <== input  return $ input &&. inv (value last)-- | One-shot on a falling transition.oneShotFall :: Name -> Term Bool -> System (Term Bool)oneShotFall name input = oneShotRise name $ inv input

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -