component metalmusings_encoder;
pin io bit index-c-enable;
pin in u32 index-status;
pin out u32 index-latch-enable;

function _;
license "GPL";
;;

//main function
FUNCTION(_) {
    index_latch_enable = index_c_enable;
    index_c_enable = index_status;
}
