Forum Discussion
Altera_Forum
Honored Contributor
20 years agoCreating ptf file and coe generator
Project is a simple master with and 1 control port. when i build design i have error: <div class='quotetop'>QUOTE </div> --- Quote Start --- 'Master 'test_master_0/x_master&#...
Altera_Forum
Honored Contributor
20 years agoI resolved it by swap e_avalon_master->adds and e_port->adds.
$module->add_contents (
e_port->adds(@x_ports),
e_avalon_master->add
({
name => "x_master",
type_map =>
{
clock => "clk",
reset_n => "reset_n",
x_address => "address",
x_write => "write",
x_writedata => "writedata",
x_read => "read",
x_readdata => "readdata",
x_waitrequest => "waitrequest",
},
}),
);