| Version 1 (modified by , 17 years ago) (diff) | 
|---|
Standard usage
When using a VCI-AVALON component, you must define explicitely the three Avalon parameters:
address_width data_width burstcount_width
So you may factor out common parameters putting them at the end of the list of the VCI parameters as shown in the following platform_desc example:
todo = Platform('caba', 'top.cpp',
				uses = [
	Uses('iss_wrapper', iss_t = 'common:nios2_fast'),
	Uses('vci_ram'),
	Uses('vci_multi_tty'),
	Uses('avalon_switch_fabric'),
	Uses('vci_avalon_target_wrapper'),
	Uses('vci_avalon_initiator_wrapper'),
	Uses('vci_xcache'),
	],
	cell_size = 4,
	plen_size = 8,
	addr_size = 32,
	rerror_size = 1,
	clen_size = 1,
	rflag_size = 1,
	srcid_size = 8,
	pktid_size = 1,
	trdid_size = 1,
	wrplen_size = 1,
	nb_master = 1,
	nb_slave = 2,
	address_width = 32, 
	data_width = 32, 
	burstcount_width = 8
)


