Java程序辅导

C C++ Java Python Processing编程在线培训 程序编写 软件开发 视频讲解

客服在线QQ:2653320439 微信:ittutor Email:itutor@qq.com
wx: cjtutor
QQ: 2653320439
matlabtb Search Help Documentation Toggle navigation Documentation Home HDL Verifier Examples Functions and Other Reference Release Notes PDF Documentation Verification with Cosimulation MATLAB Cosimulation HDL Verifier Functions matlabtb On this page Syntax Description Arguments Examples Using matlabtb with the -socket Argument and Time Parameters Applying Rising Edge Clocks and State Changes with matlabtb Specifying a MATLAB Function Name and Sensitizing Signals with matlabtb matlabtb Schedule MATLAB test bench session for instantiated HDL module collapse all in page Syntax matlabtb [] [-socket ] [-rising [,...]] [-falling [,,...]] [-sensitivity [,,...]] [-mfunc ] [-use_instance_obj] [-argument] Description The matlabtb command has the following characteristics: Starts the HDL simulator client component of the HDL Verifier™ software. Associates a specified instance of an HDL design created in the HDL simulator with a MATLAB® function. Creates a process that schedules invocations of the specified MATLAB function. Cancels any pending events scheduled by a previous matlabtb command that specified the same instance. For example, if you issue the command matlabtb for instance foo, all previously scheduled events initiated by matlabtb on foo are canceled. This command is issued in the HDL simulator. MATLAB test bench functions mimic stimuli passed to entities in the HDL model. You force stimulus from MATLAB or HDL scheduled with matlabtb. Notes   The communication mode that you specify for matlabtb must match the communication mode you specified for hdldaemon when you established the server connection. For socket communications, specify the port number you selected for hdldaemon when you issue a link request with the matlabtb command in the HDL simulator. Arguments Specifies the instance of an HDL module that the HDL Verifier software associates with a MATLAB test bench function. By default, matlabtb associates the instance with a MATLAB function that has the same name as the instance. For example, if the instance is myfirfilter, matlabtb associates the instance with the MATLAB function myfirfilter (note that hierarchy names are ignored; for example, if your instance name is top.myfirfilter, matlabtb would associate only myfirfilter with the MATLAB function). Alternatively, you can specify a different MATLAB function with -mfunc. Note:   Do not specify an instance of an HDL module that has already been associated with a MATLAB function (via matlabcp or matlabtb). If you do, the new association overwrites the existing one. Specifies a combination of time specifications consisting of any or all of the following: ,... Specifies one or more discrete time values at which the HDL simulator calls the specified MATLAB function. Each time value is relative to the current simulation time. Even if you do not specify a time, the HDL simulator calls the MATLAB function once at the start of the simulation. Separate multiple time values by a space. For example: matlabtb vlogtestbench_top 10 ns, 10 ms, 10 sec The MATLAB function executes when time equals 0 and then 10 nanoseconds, 10 milliseconds, and 10 seconds from time zero. Note:   For time-based parameters, you can specify any standard time units (ns, us, and so on). If you do not specify units, the command treats the time value as a value of HDL simulation ticks. -repeat