From 83a9dc2939b53e9ed90f3950afbac897acb94f00 Mon Sep 17 00:00:00 2001 From: Derek Hower Date: Fri, 25 Sep 2009 17:51:12 -0500 Subject: ruby: more helpful config error message --- src/mem/ruby/config/TwoLevel_SplitL1UnifiedL2.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mem/ruby/config/TwoLevel_SplitL1UnifiedL2.rb b/src/mem/ruby/config/TwoLevel_SplitL1UnifiedL2.rb index 1476ce34b..c3c92bd9d 100644 --- a/src/mem/ruby/config/TwoLevel_SplitL1UnifiedL2.rb +++ b/src/mem/ruby/config/TwoLevel_SplitL1UnifiedL2.rb @@ -57,7 +57,7 @@ end net_ports = Array.new iface_ports = Array.new -assert((protocol == "MESI_CMP_directory" or protocol == "MOESI_CMP_directory"), __FILE__+" cannot be used with protocol #{protocol}"); +assert((protocol == "MESI_CMP_directory" or protocol == "MOESI_CMP_directory"), __FILE__+" cannot be used with protocol '#{protocol}'"); require protocol+".rb" -- cgit v1.2.3