Go Back   Scooter Forums > Beyond Compare 3 Discussion > File Formats vs. Rules
Register FAQ Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
  #1  
Old 31-Jul-2012, 08:57 PM
junee74@gmail.com junee74@gmail.com is offline
New User
 
Join Date: Jul 2012
Posts: 1
Default How to RTL Code Highlight

Hi everyone.

I used this tool, compare to verilog rtl code.
But verilog rtl code doesn't support syntax coloring.

Let's me know how to enable this feature?

Thanks all.
Best Regards.
Reply With Quote
  #2  
Old 01-Aug-2012, 08:15 AM
Aaron Aaron is offline
Team Scooter
 
Join Date: Oct 2007
Location: Madison, WI
Posts: 5,416
Default

Hello,

We do not have a Verilog file format, but you can create your own custom format in the Tools menu -> File Formats. In the grammar tab, you would need to define new grammars for the syntax of rtl files. If rtl is similar to another format (c++? java?) you can copy on of these formats, and edit it to meet your needs.

The grammar names have their color controlled in the Tools menu -> Options, File Views, Display section. You can use existing names or create new/custom ones.

We have a KB article that goes into detail on defining new Grammar elements, and marking them as Unimportant. You can follow most of this guide, but instead of marking as Unimportant in the Importance tab of the Session Settings, instead go to the Display section and change their color.
http://www.scootersoftware.com/suppo..._unimportantv3
__________________
Aaron P Scooter Software
Reply With Quote
  #3  
Old 18-Mar-2013, 04:35 AM
Eric W Eric W is offline
New User
 
Join Date: Mar 2013
Posts: 1
Default Verilog

Here's the Verilog RTL grammar that I've created:

BCFileFormats.bcpkg
Reply With Quote
  #4  
Old 20-Mar-2013, 04:36 PM
Chris Chris is offline
Team Scooter
 
Join Date: Oct 2007
Location: Madison, WI
Posts: 3,792
Default

Eric, thanks for sharing the file format.
__________________
Chris K Scooter Software
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 06:41 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.