• `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

  • 相关阅读:
    JSONRPC(jsonrpc4j)使用demo
    Java游戏服务器成长之路——感悟篇
    使用Echarts进行可视化的数据线呈现
    vb 获取本机MAC地址
    mysql的索引使用不当速度比没加索引还慢
    创业名言
    网络公司的转变
    用php来读取团购网站的api
    php中全局变量global的使用
    MongoDB被全球最大的分类信息网站Craigslist使用
  • 原文地址:https://www.cnblogs.com/testset/p/3550072.html
Copyright © 2020-2023  润新知