function tclcmd = paritycmds_convclk
% PARITYCMDS_CONVCLK - Creates Tcl commands for Parity Checker Model with Clock
%   The returned cell array can be passed as parameters ('cmd') to
%   VSIMULINK.  This will lauching ModelSim and build the Verilog
%   source files included with the demo.  Also, the model will
%   be loaded for cosimulation with PARITY_CHECK_CONVCLK model
%
% See also VSIM

%   Copyright 2009-2020 The MathWorks, Inc.
%

tclcmd = { 
           'vlib work',... %create library (if necessary)
           'vlog paritychecker_convclk.v paritychecker_clk_dut.v', ...
           'vsimulink work.paritychecker_convclk -t 1ns', ... %setting resolution to 1ns
           'add wave /paritychecker_convclk/*', ...
           'echo Setting the HDL Simulator resolution to: $resolution' ...
         };
