📄 readme
字号:
This is a very simple example to show how a usercan create a distribution of values when randomizingan object. In this case, a distribution is created for anenumerated data type. The distributed values that aregenerated will fall in the distribution that is applied.The following source files are part of this example: data.h The definition of a user-defined structure that has an enumerated type data_ext.h Extensions for the user-defined structures test.cc A test that uses the introspection interface to randomize the data objects; uses a scv_bag object to create the distribution Makefile Targets for sun-gnu, hppa-native and linuxA makefile for use with SystemC is provided with targets forthree different platforms: make sun-gnu # Gnu C++ compiler on Sun make hppa-native # HP C++ compiler on HP make linux # Gnu C++ compiler on Linux%%CATEGORIES notebook examples introspection randomization%%TBARGS ncsc --stop hdl_elab --sconly sctop%%LinePrefix all%%Files none %%REGSRC/test.cc %%REGSRC/test_reg.cc%%Files osci %%REGSRC/test.cc%%Files schdl %%REGSRC/test.cc%%Files ncsc %%REGSRC/test_reg.cc%%CheckTest all %%REGSRC/checktest.sh %%TBLOG %%REGSRC/tb_log.au%%REALCLEAN %%REGBLD/logfile.diff
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -