Altera_Forum
Honored Contributor
15 years agomultiplexing input sources for TSE MAC transmit interface
Hi
I have two transmitting modules while only one TSE MAC port. My intention is to multiplex the input to the MAC TX depending on some signal. Seems pretty straight forward but I am having issues. My code for multiplexing is as follows.. assign mac_tx_data_1 = (owner == 1'b1) ? tx_data_0 : tx_data; assign mac_tx_valid_1 = (owner == 1'b1) ? tx_valid_0 : tx_valid; assign mac_tx_sof_1 = (owner == 1'b1) ? tx_sop_0 : tx_sof; assign mac_tx_eof_1 = (owner == 1'b1) ? tx_eop_0 : tx_eof; assign mac_rx_ready_1 = (owner == 1'b1) ? rx_ready_0 : rx_ready; The error I got is "Error: Cannot convert all sets of registers to RAM megafunctions when creating nodes. The resulting number of registers remaining in your design exceeds the number of registers in your device or the number specified by the assignment max_number_of_registers_from_uninferred_rams. This can cause longer compilation time or result in insufficient memory to complete Analysis and Synthesis." My intention is to create MUX whereas tool is trying to create RAM and even not successful with that. What can be the possible solutions.. thanks sawaak