diff --git a/modules/common/gc_ds182x_interface.vhd b/modules/common/gc_ds182x_interface.vhd
index a4c0e912aeeb6f32867f88ce28f26cdfa1fa83bc..d851d1929000f7d7a2c37fae481407f739474b19 100644
--- a/modules/common/gc_ds182x_interface.vhd
+++ b/modules/common/gc_ds182x_interface.vhd
@@ -49,7 +49,7 @@ end gc_ds182x_interface;
 
 architecture arch of gc_ds182x_interface is
 
-  constant c_CLOCK_FREQ_KHZ = freq * 1000;
+  constant c_CLOCK_FREQ_KHZ : integer := freq * 1000;
 
 begin