function tclcmd = paritycmds_clk
% PARITYCMDS_CLK - 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_CLK model 
%
% See also VSIM

%   Copyright 2009-2020 The MathWorks, Inc.
%

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