fix doctests to use Expr<UInt<1>> instead of bool for example conditions
All checks were successful
/ test (push) Successful in 14m40s
All checks were successful
/ test (push) Successful in 14m40s
This commit is contained in:
parent
0edf380c79
commit
180ecad017
|
@ -11,7 +11,8 @@
|
|||
//! # use fayalite::{hdl_module, int::UInt, array::Array, clock::ClockDomain};
|
||||
//! # #[hdl_module]
|
||||
//! # fn module() {
|
||||
//! # let v = true;
|
||||
//! # #[hdl]
|
||||
//! # let v: UInt<1> = m.input();
|
||||
//! #[hdl]
|
||||
//! let cd: ClockDomain = m.input();
|
||||
//! #[hdl]
|
||||
|
|
|
@ -12,7 +12,8 @@
|
|||
//! # use fayalite::{hdl_module, int::UInt, array::Array, clock::ClockDomain};
|
||||
//! # #[hdl_module]
|
||||
//! # fn module() {
|
||||
//! # let v = true;
|
||||
//! # #[hdl]
|
||||
//! # let v: UInt<1> = m.input();
|
||||
//! #[hdl]
|
||||
//! let cd: ClockDomain = m.input();
|
||||
//! #[hdl]
|
||||
|
|
Loading…
Reference in a new issue