微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 嵌入式设计讨论 > FPGA,CPLD和ASIC > 如何用FPGA产生北斗中频信号

如何用FPGA产生北斗中频信号

时间:10-02 整理:3721RD 点击:
在做北斗信号的捕获算法验证,直接用matlab生成中频信号,保存为.coe格式,对40ms的数据进行处理,显示BRAM占用171%,请问有没有什么解决方法



   如果只是做算法,你做仿真就好了,没必要跑FPGA。做仿真直接把数据从文件中读出来就可以了。

$fsdbDumpfile
Description
To specify the FSDB file name created by the Debussy PLI. The default name
verilog.fsdb is used if not previously specified. This command is valid only
before $fsdbDumpvars is executed and is ignored if specified after
$fsdbDumpvars.
460 Debussy Command Reference
Syntax
$fsdbDumpfile("<FSDB name>");
Argument
<FSDB name>:
The name of the FSDB file generated by the Debussy PLI routine.
Example
$fsdbDumpfile("CPU.fsdb");
------------------------------------------------------------------------------------------
$fsdbDumpvars
Description
To dump signal-value-change information to the FSDB file instead of the VCD
file. The syntax usage of this task is exactly the same as for $dumpvars.
Syntaxes
$fsdbDumpvars;
$fsdbDumpvars([level] [, module | var]*);
$fsdbDumpvars("level=", level [, module | var]*);
$fsdbDumpvars("+no_functions" | ["level=", level] [, module |
var]*);
Arguments
<level>:
Specifies how may levels of the hierarchy to dump for the subsequent
scopes. If the subsequent arguments are variables, only these variables will
be dumped. If you want to specify this level argument as variable type, you
have specify the first argument as string literal level= and the second
argument as level argument.
<module | var>:
This definition gives either the module scope or variables that specify the
objects to dump.
Examples
$fsdbDumpvars;
Dump all variables in the module that contains this statement and in all
module instances below this module.
$fsdbDumpvars(0, system);
Dump all variables in the system module and in all module instances below
system.
$fsdbDumpvars(1, system.i_cpu, system.i_CPU.i_PCU.net1);
462 Debussy Command Reference
Dump all the variables in scope system.i_cpu and the variable
system.i_CPU.i_PCU.net1.
$fsdbDumpvars("level=", level_reg, system);
Dump all variables in the system module and in all module instances below
it up to the depth that level_reg variable indicates.
If you specify +no_functions string option in $fsdbDumpvars call, the functions
in the design will not be dumped. You can do it with either
$fsdbDumpvars("+no_functions","level=",0, system);
or
$fsdbDumpvars(0, "+no_functions",system);
The $fsdbDumpvars call dumps all children and descent scopes except
functions under the scope system.



   modelsim读写文件仿真,你的方式完全是在虐片子,10M的伪码速率,再奈奎斯特采样,怎么可能用RAM存,I服了U

小编你好,请问你能分享一下,matlab生成中频信号的程序嘛?在网上找了好久了

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top