function tclcmd = paritycmds_in(timeres)
% PARITYCMDS_IN - Creates Tcl commands for Parity Checker Model
%   The returned cell array can be passed as parameters ('tclcmd') to
%   HDLSIMULINK.  This will lauching Incisive and build the Verilog
%   source files included with the demo.  Also, the model will
%   be loaded for cosimulation with PARITY_CHECK.MDL 

% Examples of timeres include '1ns', '1ps'.

% Copyright 2009 The MathWorks, Inc.

% Startup commands
tclcmd = { 'exec ncvlog -64bit -linedebug paritychecker.v',...          % Compile design
          ['exec ncelab -64bit -TIMESCALE ' timeres '/' timeres ' -access +wc paritychecker'],... % Elaborate design
           'hdlsimulink -gui paritychecker'};              % Load SIMULINK(R) library
       