diff options
Diffstat (limited to 'src/mem/ruby/config/MOESI_CMP_directory.rb')
-rw-r--r-- | src/mem/ruby/config/MOESI_CMP_directory.rb | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/mem/ruby/config/MOESI_CMP_directory.rb b/src/mem/ruby/config/MOESI_CMP_directory.rb index 34f7c1776..1e8a82fab 100644 --- a/src/mem/ruby/config/MOESI_CMP_directory.rb +++ b/src/mem/ruby/config/MOESI_CMP_directory.rb @@ -1,15 +1,6 @@ require "cfg.rb" - -def log_int(n) - assert(n.is_a?(Fixnum), "log_int takes a number for an argument") - counter = 0 - while n >= 2 do - counter += 1 - n = n >> 1 - end - return counter -end +require "util.rb" class MOESI_CMP_directory_L1CacheController < L1CacheController |