1 2 3 4 5 6 7 8 9 10 11 12 13 14
// SPDX-License-Identifier: LGPL-3.0-or-later // See Notices.txt for copyright information #[allow(unused_imports)] use fayalite::{hdl_module, int::UInt}; #[hdl_module] pub fn my_module(a: i32, m: u32, (m, _): (i32, u32)) { #[hdl] let m: UInt<8> = m.input(); #[hdl] let o: UInt<8> = m.output(); } fn main() {}