root / usrp2 / top / u1e / tb_u1e.v @ b115e4d7
History | View | Annotate | Download (716 Bytes)
| 1 |
`timescale 1ns / 1ps |
|---|---|
| 2 |
////////////////////////////////////////////////////////////////////////////////// |
| 3 |
|
| 4 |
module tb_u1e(); |
| 5 |
|
| 6 |
wire [2:0] debug_led; |
| 7 |
wire [31:0] debug; |
| 8 |
wire [1:0] debug_clk; |
| 9 |
|
| 10 |
|
| 11 |
// GPMC |
| 12 |
wire EM_CLK, EM_WAIT0, EM_NCS4, EM_NCS6, EM_NWE, EM_NOE; |
| 13 |
wire [15:0] EM_D; |
| 14 |
wire [10:1] EM_A; |
| 15 |
wire [1:0] EM_NBE; |
| 16 |
|
| 17 |
reg clk_fpga = 0; |
| 18 |
always #100 clk_fpga = ~clk_fpga; |
| 19 |
|
| 20 |
u1e_core u1e_core(.clk_fpga(clk_fpga), .debug_led(debug_led), .debug(debug), .debug_clk(debug_clk), |
| 21 |
.EM_CLK(EM_CLK), .EM_D(EM_D), .EM_A(EM_A), .EM_NBE(EM_NBE), |
| 22 |
.EM_WAIT0(EM_WAIT0), .EM_NCS4(EM_NCS4), .EM_NCS6(EM_NCS6), |
| 23 |
.EM_NWE(EM_NWE), .EM_NOE(EM_NOE) ); |
| 24 |
|
| 25 |
endmodule // u1e |