I used Cycle Model Studio to compile the RTL code to SystemC code, and found that in "Generated files", the .clock and .cycle files are empty? what 's the possible reason that caused this issue?
PS: the RTL code is temporal logical and CMS version is 9.4.0
Thanks for asking about Cycle Model Studio.
The .clock and .cycle files are for information only. They don't impact the functionality of the generated model and it's not automatically an error if the files are empty.
The .clock file reports clocks found in the design and the .cycle file reports cyclic logic in the design.
Always check for alerts in the log files and don't hesitate to ask if you have more questions about CMS.
Thanks,
Jason
Thanks, Jason.
The background was that I used the .a and lib*.systemc.h/cpp files generated by CMS in my model code, and found that the external clock signal did not work in the model. So I suspect there are something wrong on ".a" or "ib*.systemc.h/cpp" files.
Firstly, I compared with other peoples's "ib*.systemc.h/cpp" files, there are just some differences on signal names. Then I compared CMS projects and I found the difference was my .clock files and .cycle files are empty.
In my design, there exists clock. So,it should be reflected on .clock files, right?
Also, you mentioned "alerts on log files", do you mean "log files" on compilation?
Hi,
Our support team will work with you directly to investigate the details of your design.
If there is a clock it should appear in the .clocks file. As an example you can look at the twocounter example which comes with Cycle Model Studio and see the two clocks in the design.
$ cp -r $CARBON_HOME/examples/twocounter . $ cd twocounter $ make $ more libtwocounter.clocks 1. MASTER: twocounter.clk1 Branch Depend: twocounter.clk1 2. MASTER: twocounter.clk2 Branch Depend: twocounter.clk2