simulink-port-trace

所属分类:仿真建模
开发工具:matlab
文件大小:5KB
下载次数:0
上传日期:2015-05-18 15:22:13
上 传 者sh-1993
说明:  通过Simulink设计以编程方式跟踪端口
(Trace Ports Programatically through a Simulink Design)

文件列表:
@SystemPortTrace (0, 2015-05-18)
@SystemPortTrace\SystemPortTrace.m (4959, 2015-05-18)
@SystemPortTrace\buildBusNames.m (765, 2015-05-18)
@SystemPortTrace\traceStep.m (6700, 2015-05-18)
exampleSystemPortTrace.m (339, 2015-05-18)

# simulink-port-trace Trace Ports Programatically through a Simulink Design Unlink the built in commands, simulink-port-trace will expand busses and find the driver for each signal in the bus. The user can specify the blocks to stop the trace on. The result returned is a table showing the location of the final source/sink the trace ended on. The end goal for my particular application was to automatically generate a table that described where the inputs/outputs of my block were being driven from in the design Below is an example use case: ```matlab stopBlocks.type = { 'Constant', ... 'Constant', ... 'Inport', ... 'Outport' }; stopBlocks.parent = { 'tb_dig_top/dig_top_1720/dig_rtl/volitile', ... 'tb_dig_top/dig_top_1720/dig_rtl/eeprom', ... 'tb_dig_top/dig_top_1720', ... 'tb_dig_top/dig_top_1720' }; sp = SystemPortTrace(stopBlocks); sp.verbose = 0; sp.traceSystem('tb_dig_top/dig_top_1720/dig_matlab'); ```

近期下载者

相关文件


收藏者