diff --git a/xc7/arch.h b/xc7/arch.h index 9e687146..c64b9634 100644 --- a/xc7/arch.h +++ b/xc7/arch.h @@ -898,7 +898,7 @@ struct Arch : BaseCtx DelayInfo getDelayFromNS(float ns) const { DelayInfo del; - del.delay = ns; + del.delay = delay_t(ns * 1000); return del; }