zoukankan      html  css  js  c++  java
  • `define compile error

    Model Technology ModelSim ALTERA vlog 10.1d Compiler 2012.11 Nov  2 2012
    -- Compiling module cordic_atan
    ** Error: cordic_atanp2.sv(146): near "[": syntax error, unexpected '[', expecting ')'
    `define ATAN_ITER(x)     cordicatan_micro  #(                         
                                            .wid            (wi)                   
                                        ,   .wa             (wo)                   
                                        ,   .ITER_SHIFT     (x)           
                                        ,   .ITER_ATAN      (atan_``x )   
                                    )  cordicatan_iter``x  (              
                                              .i_clk        (clk)                  
                                        ,     .i_enable     (e[x])        
                                        ,     .i_xold       (x[x])        
                                        ,     .i_yold       (y[x])        
                                        ,     .i_aold       (z[x])        
                                        ,     .o_nxt_en     (e[x+1])      
                                        ,     .o_xnew       (x[x+1])      
                                        ,     .o_ynew       (y[x+1])      
                                        ,     .o_anew       (z[x+1])      
                                    );

    note x[x]

    that 's why

  • 相关阅读:
    Playwright安装及基本用法
    生成随机数、随机字符串
    xmind2testcase使用
    jmeter5.0二次开发环境搭建(IDEA)
    pytest配置文件pytest.ini
    pytest+allure2生成测试报告
    pytest生成html报告-使用pytest-html插件方式
    pytest一些简单参数
    pytest简单搭建和入门
    python3学习-元组
  • 原文地址:https://www.cnblogs.com/testset/p/3550072.html
Copyright © 2011-2022 走看看