2024年3月28日發(作者:常平隱賢山莊)
今天有用UE查看verilog程序,下載的UE是破解版的,打開后灰蒙蒙的一片,很不
爽的,于是搜索一番,下面是一段用于verilog在UE中高亮顯示的程序,可以用的。以備
后用。
1、 代碼保存成”.uew”文件放到UE的wordfiles文件夾下。這個wordfiles文件
夾可以在UE的:高級/配置/編輯器顯示/語法著色/文檔完整目錄名稱中找到。如果找不到
就是沒有按照默認方式安裝,那就查找吧。
2、 在UE中按照路徑:高級/配置/編輯器顯示/語法著色/語言選擇里面找到保存的
uew文件點應用,確定就可以了。注意:如果找不到文件可以先把文檔目錄路徑任意改一
下,然后再改回來就可以了。
3、 原文地址
/?uid=20697149&do=blog&cuid=640466
/L14"Verilog 1364-2001" Line Comment = // Block Comment On = /* Block
Comment Off = */ Block Comment On Alt = (* Block Comment Off Alt = *) String
Chars = " File Extensions = V VL VMD
/Delimiters = ~!@%^&*()-+=|{}[]:;"<> ,
/Function String = "%[ ^t]++^(config[ ^t^p]+[a-zA-Z0-9_]+^)"
/Function String 1 =
"%[ ^t]++^(module[ ^t^p]+[a-zA-Z0-9_]+^)[ ^t^p]++[(;#]"
/Function String 2 = "%[ ^t]++^(task[ ^t^p]+[~(;]+^)[ ^t^p]++[(;#]"
/Function String 3 = "%[ ^t]++^(function[ ^t^p]+[~(;]+^)[ ^t^p]++[(;#]"
/Function String 4 = "%[ ^t]++^(primitive[ ^t^p]+[~(;]+^)[ ^t^p]++[(;#]"
/Function String 5 = "begin[ ^t^p]++^(:[ ^t^p]++[a-zA-Z0-9_]+^)"
/Indent Strings = "begin" "ca" "fork" "specify" "table" "config"
/Unindent Strings = "end" "endca" "join" "endspecify" "endtable"
"endconfig"
/Open Fold Strings = "module" "task" "function" "generate" "primitive" "begin"
"ca" "fork" "specify" "table" "config" "`ifdef"
/Clo Fold Strings = "endmodule" "endtask" "endfunction" "endgenerate"
"endprimitive" "end" "endca" "join" "endspecify" "endtable" "endconfig" "`endif"
/C1"Keywords"
always and assign automatic
begin buf bufif0 bufif1
ca cax caz cell cmos config
本文發布于:2024-03-28 11:51:06,感謝您對本站的認可!
本文鏈接:http://www.newhan.cn/zhishi/a/88/61266.html
版權聲明:本站內容均來自互聯網,僅供演示用,請勿用于商業和其他非法用途。如果侵犯了您的權益請與我們聯系,我們將在24小時內刪除。
本文word下載地址:UE-verilog_hlight.doc
本文 PDF 下載地址:UE-verilog_hlight.pdf
| 留言與評論(共有 0 條評論) |