From: Wayne Padgett on 13 Jul 2010 10:28 I am just beginning to use HDLcoder, and I have succeeded in producing code and a testbench for a simple model using makehdltb('rot13harness/rot13'), where 'rot13' is a subsystem with a table lookup block in it. If I convert rot13 to its own separate model and them reference it using a 'model' block, I can't get the testbench to generate. I can make HDL code for the rot13 model itself but when I try to make the testbench I get an error (where rot13 is the name of the model block that replaced the subsytem of the same name that worked): >> makehdltb('rot13harness/rot13') ??? Error using ==> getmodelnodename at 37 Could not find subsystem 'rot13' in the model 'rot13harness' Error in ==> C:\rw_apps\matlab\R2010a\toolbox\hdlcoder\hdlcoder\hdlcoderargs.p>hdlcoderargs at 69 Error in ==> C:\rw_apps\matlab\R2010a\toolbox\hdlcoder\hdlcoder\privmakehdltb.p>privmakehdltb at 22 Error in ==> makehdltb at 78 privmakehdltb(varargin{:}) Is there a simple way to make this work? Should it work?
|
Pages: 1 Prev: help with interp1: ??? Error using ==> interp1 at 261 The values Next: restoration of signal |