summaryrefslogtreecommitdiffhomepage
path: root/src/mdio.v
diff options
context:
space:
mode:
Diffstat (limited to 'src/mdio.v')
-rw-r--r--src/mdio.v5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mdio.v b/src/mdio.v
index 3339dcc..21dfa71 100644
--- a/src/mdio.v
+++ b/src/mdio.v
@@ -1,6 +1,7 @@
/*
* mdio.v
*
+ * Copyright (C) 2025 Private Island Networks Inc.
* Copyright (C) 2018, 2019 Mind Chasers Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
@@ -20,8 +21,6 @@
*/
-`timescale 1ns /10ps
-
module mdio(
input rstn,
input mdc, // clock
@@ -69,7 +68,7 @@ module mdio(
else if ( ld )
state <= 0;
else if ( run )
- state <= state + 1;
+ state <= state + 1'b1;
end
// register data for MDIO TX

Highly Recommended Verilog Books