From: Derek Hower Date: Fri, 25 Sep 2009 22:51:12 +0000 (-0500) Subject: ruby: more helpful config error message X-Git-Tag: Calvin_Submission~10 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=83a9dc2939b53e9ed90f3950afbac897acb94f00;p=gem5.git ruby: more helpful config error message --- 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"