Цитата(akorud @ Oct 17 2013, 17:08)

Насколько я помню задать нельзя. Адрес в конфигурационном векторе используется для flow control пакетов, о чем честно написано в документации.
ну я не увидел здесь запрета на передачу.
а как же тогда (pg051 стр. 27)
Configuration Vector Signal Definition
Table 2-13 describes the configuration vectors, which use direct inputs to the core to
replace the functionality of the MAC configuration bits when the Management Interface is
not used. The configuration settings described in Tables 2-24 to 2-30 are included in the
vector.
значит можно просто задать
tx_mac_config_vector = {48'b...,16'b..., 15'b0010_0000_0000_001, mac_tx_reset};
а далее в том же на стр.59 в tx_configuration_vector Bit Definitions 79:32 написано
Transmitter Pause Frame Source Address[47:0]. This MAC Address is used by the
MAC core to match against the destination address of any incoming flow control
frames, and as the source address for any outbound flow control frames.
The bits in this vector field are ordered so that the least significant bit of the MAC
Address (IEEE802.3 definition) is stored in the least significant bit of this vector field.
Consequently, bit 0 of this field differentiates between an individual or group
(multicast) address.
The transmission order within a MAC frame is to send the least significant bit of the
MAC Address first. Consequently,
bits 7-0 of this vector field represent the first byte to
appear in frame transmissionразве это не про передачу.
но с адресом это можно и просто в пакете самому передать, как я сейчас и делаю. а вот как быть с портом. по какому передается и что задать на стороне приема в bind в addr.sin_port=htons( ??? );