use rust_hdl::prelude::*; use rust_hdl_bsp_ok_xem6010::xem6010; use rust_hdl_bsp_ok_xem6010::xem6010::XEM6010; use rust_hdl_ok_core::test_common::mux_spi::{test_opalkelly_mux_spi_runtime, OpalKellySPIMuxTest}; #[test] fn test_opalkelly_xem_6010_mux_spi() { let mut uut = OpalKellySPIMuxTest::new::(); uut.hi.link_connect_dest(); uut.connect_all(); xem6010::synth::synth_obj(uut, target_path!("xem_6010/mux_spi")); test_opalkelly_mux_spi_runtime( target_path!("xem_6010/mux_spi/top.bit"), env!("XEM6010_SERIAL"), ) .unwrap() }