ice40: Speedup Arch::predictDelay() with pass-by-ref

This commit is contained in:
Eddie Hung 2018-08-08 19:52:39 -07:00
parent 5dd7a74b87
commit 41e05c95aa

View File

@ -121,7 +121,7 @@ struct model_params_t
int delta_sp4;
int delta_sp12;
static const model_params_t &get(ArchArgs args)
static const model_params_t &get(const ArchArgs& args)
{
static const model_params_t model_hx8k = {588, 129253, 8658, 118333, 23915, -73105, 57696,
-86797, 89, 3706, -316, -575, -158, -296};