mirror of
https://github.com/alexforencich/verilog-ethernet.git
synced 2025-01-28 07:03:08 +08:00
Update parametrization
This commit is contained in:
parent
9c01e114b4
commit
152486bebd
@ -31,7 +31,8 @@ THE SOFTWARE.
|
||||
*/
|
||||
module gmii_phy_if #
|
||||
(
|
||||
parameter TARGET_XILINX = 0
|
||||
// target ("SIM", "GENERIC", "XILINX", "ALTERA")
|
||||
parameter TARGET = "GENERIC"
|
||||
)
|
||||
(
|
||||
input wire clk,
|
||||
@ -70,7 +71,7 @@ wire phy_gmii_tx_clk_int;
|
||||
|
||||
generate
|
||||
|
||||
if (TARGET_XILINX) begin
|
||||
if (TARGET == "XILINX") begin
|
||||
|
||||
// use Xilinx clocking primitives
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user