XPS_Block_Class_Methods - david-macmahon/wiki_convert_test GitHub Wiki

display

void display (xps_block b)

Displays information about the XPS_Block object b and its field values to the Matlab command window.


drc

[double result, string msg] = drc (xps_block blk_obj, array xps_objs)

Runs design-rule checks on xps_block object blk_obj given an array xps_objs of all other xps_block objects in the design.

If result is non-zero, the toolflow halts execution with an error and displays msg to the Matlab command window.


elaborate


gen_borf_info

[string str, double loc] = gen_borf_info (double loc, xps_block blk_obj, double real_address)

gen_borf_info is used to generate a table of core information used by BORPH in the core_info.tab file.


gen_c_core_info


gen_cmds_info


gen_m_core_info


gen_mhs_ip

[string str, double opb_addr_end, double plb_addr_end, double opb_addr_start] = gen_mhs_ip (xps_block blk_obj, double opb_addr_start, double plb_addr_start, string plb_name, string opb_name)

gen_mhs_ip is used to write the MHS instantiation of the pcore(s) specified by blk_obj.

It returns a string str that is the complete text(including newlines) that should be appended to the MHS file in order to add an instance of a pcore. Given starting addresses plb_addr_start and opb_addr_start for the PLB and OPB buses plb_name and opb_name, it should return opb_addr_end and plb_addr_end as the next available address locations on the OPB and PLB buses after having reserved the required amount of address space for its pcore(s). That is, if the pcore requires 0x100 (256) bytes of addressable memory space, then given opb_addr_start=0xd0000100, gen_mhs_ip should return opb_addr_end=0xd0000200.


gen_mhs_xsg

[string str, double opb_addr_end, double plb_addr_end] = gen_mhs_xsg (xps_block blk_obj, double opb_addr_start, double plb_addr_start, string plb_name, string opb_name)

gen_mhs_xsg is used to help write the MHS instantiation of the pcore representing the Simulink design.

Specifically, it returns a string str that is the portion of the XSG pcore instantiation that defines the interface to the pcore(s) specified by blk_obj.


gen_mpd


gen_mss


gen_src_files


gen_src_main


gen_ucf


get


probe_bus_usage


set