summaryrefslogtreecommitdiffstats
path: root/models/miim_model.v
diff options
context:
space:
mode:
authorMatt Ettus <matt@ettus.com>2009-10-01 00:21:24 -0700
committerMatt Ettus <matt@ettus.com>2009-10-01 00:21:24 -0700
commit0a0655b56b84aa6557cdfaece206d0f5cf6ebeac (patch)
tree355546561a3484426c20de7482560a01ff5f913e /models/miim_model.v
parentac31c35bea6cad3cca5ac3d45d86a91d07e80dd8 (diff)
downloaduhd-0a0655b56b84aa6557cdfaece206d0f5cf6ebeac.tar.gz
uhd-0a0655b56b84aa6557cdfaece206d0f5cf6ebeac.tar.bz2
uhd-0a0655b56b84aa6557cdfaece206d0f5cf6ebeac.zip
fullchip sim now compiles again, after moving eth and models over to new simple_gemac
Diffstat (limited to 'models/miim_model.v')
-rw-r--r--models/miim_model.v14
1 files changed, 14 insertions, 0 deletions
diff --git a/models/miim_model.v b/models/miim_model.v
new file mode 100644
index 000000000..936d99a80
--- /dev/null
+++ b/models/miim_model.v
@@ -0,0 +1,14 @@
+
+// Skeleton PHY interface simulator
+
+module miim_model(input mdc_i,
+ inout mdio,
+ input phy_resetn_i,
+ input phy_clk_i,
+ output phy_intn_o,
+ output [2:0] speed_o);
+
+ assign phy_intn_o = 1; // No interrupts
+ assign speed_o = 3'b100; // 1G mode
+
+endmodule // miim_model