惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Engineering at Meta
Engineering at Meta
D
Docker
IT之家
IT之家
博客园_首页
罗磊的独立博客
V
V2EX
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
美团技术团队
Y
Y Combinator Blog
博客园 - 聂微东
量子位
阮一峰的网络日志
阮一峰的网络日志
GbyAI
GbyAI
Microsoft Security Blog
Microsoft Security Blog
博客园 - Franky
Martin Fowler
Martin Fowler
Jina AI
Jina AI
大猫的无限游戏
大猫的无限游戏
C
Check Point Blog
月光博客
月光博客
G
Google Developers Blog
B
Blog
T
The Blog of Author Tim Ferriss
爱范儿
爱范儿

博客园 - 岁月长河

Powershell cmdlet 正则表达式篇 之三(BRE和ERE区别)及ELISP ISP architecture considering AHB 总线笔记 English Dictionary site for ODE and OALD vmic environment makefile the diference between include and import windows 工具命令 cmd python namespace shell cmd args ROE, ROC IP 链接及常用软件 vim 分屏 and command usages vim autocmd irun vcs option 记录 consonant combination
emacs. verilog mode guide, example
岁月长河 · 2026-02-04 · via 博客园 - 岁月长河

Cmd calling

command! -bar V  execute "!emacs --no-site-file   -l $AQARCH/tools/elisp/verilog-mode-init.el --batch " . bufname("%") . " -f verilog-auto -f save-buffer"
command! -bar VR execute "!emacs --no-site-file  -l $AQARCH/tools/elisp/verilog-mode-init.el --batch " . bufname("%") . " -f verilog-batch-delete-auto -f save-buffer"
nnoremap <silent> \p :execute "normal!" . "m`A;". '``'<CR>
command! -bar VSY  execute "!emacs --no-site-file  -l ~/scfile/my_module.el -l $AQARCH/tools/elisp/verilog-mode-init.el --batch " . bufname("%") . " -f verilog-auto -f  delete-dup-lines-separately -f save-buffer "
"inoremap \s <Esc>m`A;<Esc>``

command! -bar MV  execute "!emacs --no-site-file  -l /workspace/IPDHW01/apolloz/project/apolloz_isp9000_090424/project.isp/arch/XAQ2/tools/elisp/verilog-mode-init.el --batch " . bufname("%") . " -f verilog-auto -f save-buffer"
command! -bar MVR execute "!emacs --no-site-file  -l /workspace/IPDHW01/apolloz/project/apolloz_isp9000_090424/project.isp/arch/XAQ2/tools/elisp/verilog-mode-init.el --batch " . bufname("%") . " -f verilog-batch-delete-auto -f save-buffer"

usage

/*CAM_SYS_NOC AUTO_TEMPLATE (
//vi200 axi signals
.m\(14\|15\|16\|17\)_vi200_\(.*\)_awaddr ( {m\1_vi200_\2_awaddr[39:4],4'd0} ),
.m\(14\|15\|16\|17\)_vi200_\(.*\)_awuser ( {12'd0,m\1_vi200_\2_awuser[3:0]} ),
//s0_ddr signal
.s0_ddr_wid ( ),

.s\(2\|3\|4\)_\(.*\) (@"(if (equal vl-dir \\"output\\") \\"\\" (concat vl-width \\"'b0\\"))"),

.out_\(.*\) (@"(if (equal vl-dir \\"output\\") \\"\\" (concat vl-width \\"'b0\\"))"),

//mode: Verilog
//verilog-auto-output-ignore-regexp:
//"\\(vi200_pixel_ctrl\\|slcr_xbar.*_sel\\|pready_.*\\|prdata_.*\\|apm_.*\\|paddr_mi\\|csi.*_phy_.*_TXBITCLK\\|rxwordclkhs_test_out\\|scan_clk_gate_out\\|slcr_vi200_axi_high_addr\\|.*DIG_TEST\\)"
//verilog-library-directories: ("." "/ux/Nuclei_Vpi_SOC/users/zjxiao/nuclei_vpi_de/asic/rtl/csi_sys/rtl_v/csi_wrapper/" "/home/reltp/IP/VS_IPD_from2011/Verisilicon_HW_vi200_2_2_0_rc0f_obf_0x500000D5_20250121/Vivante_vi200_hardware_2_2_0_rc0f_obf/rtl/vi200" "/home/reltp/IP/VS_IPD_from2011/Verisilicon_HW_DW200_5_2_0_rc0h_obf_0x500000D6_20250121/Vivante_dw200_hardware_5_2_0_rc0h_obf/rtl/dw200" "/ux/Nuclei_Vpi_SOC/users/zjxiao/nuclei_vpi_de/asic/rtl/blocks/vsi_apb_bridge/rtl_v" "/ux/Verisilicon_IP/IPD/Verisilicon_HW_isp8000_8_5_0_rc0c_obf_0x500000F4_20250905/Vivante_isp8000_hardware_8_5_0_rc0c_obf/rtl/isp8000" "/ux/Nuclei_Vpi_SOC/users/zjxiao/nuclei_vpi_de/asic/rtl/blocks/vsi_apb2ahb/rtl" "/ux/Nuclei_Vpi_SOC/users/zjxiao/nuclei_vpi_de/asic/rtl/blocks/vs_axi_perf_mon/rtl" "./crm_new")
//verilog-auto-inst-param-value: t
//verilog-library-extensions:(".v" ".h")
//End:

/*sysram AUTO_TEMPLATE(
  .axi_npu_\(.*\)(@"(upcase \\"\1\\")"_DDR),
  .axi_npu_bid          (BID_DDR[3:0]), //TODO                      
  .axi_m4_int_\(\(ar\|r\).*\)(axi_rd2_int_\1_@[]),
);
*/

@ for inst number  

 /* InstModule AUTO_TEMPLATE \"_\\([a-z]+\\)\" (
        .ptl_mapvalidx        (@_ptl_mapvalid),
        .ptl_mapvalidp1x    (ptl_mapvalid_@),
        );
    */