Maverick_ 10 Posted May 13 · Report post Добрый день Подскажите пожалуйста можно ли как то сделать ограничение на вывод в окно Transcript Для отладки я использую вставки в описании ------ for simulution ------------------------------------------------------------------------------------------- -- synthesis translate_off process (all) begin IF (CLK'EVENT AND CLK = '1') THEN --if reg_same_ready = '1' then if (reg_same_ready = '1') or (reg_same_ready_down = '1') or (reg_ready = '1') then report "Find data in the table IP_mask" severity note; report "index =: " & to_string(to_integer(unsigned(reg_index))) severity note; end if; end if; end process; -- synthesis translate_on -- synthesis translate_off process (all) begin IF (CLK'EVENT AND CLK = '1') THEN --if reg_same_ready = '1' then if (reg_error = '1') then report "Not find data in the table IP_mask" severity note; end if; end if; end process; -- synthesis translate_on у меня в окно Transcript Modelsim выводятся сообщения ** Note: Start new packet with IP_destination =: 82596CC9 # Time: 1920 ns Iteration: 1 Instance: /top_vhd_tst/i1/monitor_ip_header_inst # ** Note: Find data in the table IP_mask # Time: 1960 ns Iteration: 1 Instance: /top_vhd_tst/i1/binary_search_inst/core_binary_search_inst # ** Note: index =: 0 # Time: 1960 ns Iteration: 1 Instance: /top_vhd_tst/i1/binary_search_inst/core_binary_search_inst # ** Note: Find data in the table IP_mask # Time: 1970 ns Iteration: 1 Instance: /top_vhd_tst/i1/binary_search_inst/core_binary_search_inst # ** Note: index =: 15 # Time: 1970 ns Iteration: 1 Instance: /top_vhd_tst/i1/binary_search_inst/core_binary_search_inst # ** Note: Find data in the table IP_mask # Time: 2010 ns Iteration: 1 Instance: /top_vhd_tst/i1/binary_search_inst/core_binary_search_inst # ** Note: index =: 16 # Time: 2010 ns Iteration: 1 Instance: /top_vhd_tst/i1/binary_search_inst/core_binary_search_inst # ** Note: Find data in the table IP_mask # Time: 2050 ns Iteration: 1 Instance: /top_vhd_tst/i1/binary_search_inst/core_binary_search_inst # ** Note: index =: 17 # Time: 2050 ns Iteration: 1 Instance: /top_vhd_tst/i1/binary_search_inst/core_binary_search_inst # ** Note: Find data in the table IP_mask # Time: 2140 ns Iteration: 1 Instance: /top_vhd_tst/i1/binary_search_inst/core_binary_search_inst # ** Note: index =: 14 # Time: 2140 ns Iteration: 1 Instance: /top_vhd_tst/i1/binary_search_inst/core_binary_search_inst # ** Note: Find data in the table IP_mask # Time: 2180 ns Iteration: 1 Instance: /top_vhd_tst/i1/binary_search_inst/core_binary_search_inst # ** Note: index =: 13 # Time: 2180 ns Iteration: 1 Instance: /top_vhd_tst/i1/binary_search_inst/core_binary_search_inst # ** Note: Find work channel # Time: 2330 ns Iteration: 1 Instance: /top_vhd_tst/i1/binary_search_inst/search_work_channel_inst # ** Note: for index is work channel =: 16 # Time: 2330 ns Iteration: 1 Instance: /top_vhd_tst/i1/binary_search_inst/search_work_channel_inst # ** Note: Find work channel # Time: 2430 ns Iteration: 1 Instance: /top_vhd_tst/i1/binary_search_inst/search_work_channel_inst # ** Note: for index is work channel =: 14 # Time: 2430 ns Iteration: 1 Instance: /top_vhd_tst/i1/binary_search_inst/search_work_channel_inst Можно ли как то запретить вывод # Time: * ns Iteration: 1 * если да подскажите пожалуйста как это сделать ??? PS Просто эти строки затрудняют чтение выводимой мною информации Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
Flip-fl0p 0 Posted May 13 · Report post В файлике modelsim.ini править надо у меня такой вывод: ; MessageFormatNote = "** %S: %R\n Time: %T Iteration: %D%I\n" ; MessageFormatWarning = "** %S: %R\n Time: %T Iteration: %D%I\n" ; MessageFormatError = "** %S: %R\n Time: %T Iteration: %D %K: %i File: %F\n" ; MessageFormatFail = "** %S: %R\n Time: %T Iteration: %D %K: %i File: %F\n" ; MessageFormatFatal = "** %S: %R\n Time: %T Iteration: %D %K: %i File: %F\n" ; MessageFormatBreakLine = "** %S: %R\n Time: %T Iteration: %D %K: %i File: %F Line: %L\n" ; MessageFormatBreak = "** %S: %R\n Time: %T Iteration: %D %K: %i File: %F\n" ; MessageFormat = "** %S: %R\n Time: %T Iteration: %D%I\n" MessageFormat = "------------------------------------------------------------------------------------------------------\n ****** %R \n\t\t\t\t\t | process : %O\n\t\t\t\t\t | Time : %T\n\t\t\t\t\t | line : %L\n\t\t\t\t\t | Severity: %S\n------------------------------------------------------------------------------------------------------\n\n" Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
Maverick_ 10 Posted May 13 · Report post можешь своим modelsim.ini поделиться? пожалуйста Получается что если я уберу Time: %T Iteration: %D%I\n то не будет выводиться? Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
Flip-fl0p 0 Posted May 13 · Report post 1 час назад, Maverick_ сказал: можешь своим modelsim.ini поделиться? пожалуйста Получается что если я уберу Time: %T Iteration: %D%I\n то не будет выводиться? Вроде так. modelsim.ini Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
Maverick_ 10 Posted May 13 · Report post спасибо большое Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
slkhome 0 Posted May 20 · Report post On 5/13/2022 at 5:16 PM, Flip-fl0p said: Вроде так. modelsim.ini 127.61 kB · 4 downloads Подставил указанну строчку в *.ini и ничего не изменилось в выводе, вообще! Подставил и в локальный и в глобальный *.ini - ничего. В чем может быть проблема? Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
Flip-fl0p 0 Posted May 20 · Report post 6 часов назад, slkhome сказал: Подставил указанну строчку в *.ini и ничего не изменилось в выводе, вообще! Подставил и в локальный и в глобальный *.ini - ничего. В чем может быть проблема? Потому-что надо не подставлять строчку, а редактировать этот файл. Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
Maverick_ 10 Posted May 20 · Report post slkhome в моем случае у меня вообще все закоментировано я еще не правил... Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
slkhome 0 Posted May 30 · Report post On 5/20/2022 at 6:01 PM, Maverick_ said: Разобрался. Оказывается у меня в фоне был еще один Моделсим запущен. Поэтому даже если я правил файл, не подхватывались изменения. Когда все закрыл и запустил все заново - все заработало и подхватилось. Спасибо! Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...