A Collection of useful Simulink utilities.
See the examples in this readme for use cases.
Create a bus from a comma seperated table. Usful when you have a block that you might not be able to change the pins on (such as a IP supplied externally) and want to orginize the signals into a collection of busses and vectors
-
Limitations
- Vectors must be the last thing
-
Library Elements
- CsvIface
- Reads the Csv into an object
- IfaceBus
- Creates a simulink diagram from a CsvIface Object
- CsvIface
Utilities for creation of blocks
Reads information from the model and can be used to resize
- resize - Resize a block based on a standard port pitch
- replace_block - Replace a destination block with one from another source
- create_autobus - automatically create a bus that connects to a block
- create_autoport - automatically create a port(s) that connects to a block
- atuoconnect_ports - automatically connect 2 subsystems using the port names
A class for tracing the src/dst of a port(s) in a system. It is specifically designed to stop at defined block types/ block paths and report the name
Create a simulink wrapper around a verilog block
To run an example, just clone the repo! The Example systems were created with Matlab R2015b
- Csv to Bus interface Creator
- SlBlockUtil combined with csv to bus interface