aboutsummaryrefslogtreecommitdiffstats
path: root/usrp2/gpmc/gpmc_sync.v
diff options
context:
space:
mode:
authorMatt Ettus <matt@ettus.com>2010-06-06 02:50:18 -0700
committerMatt Ettus <matt@ettus.com>2010-06-06 02:50:18 -0700
commit3122c8c3d9740a2fd5e68b99df627bc632d764da (patch)
treeebbef17b02ff670bcd9c84361476cf6f646ccca2 /usrp2/gpmc/gpmc_sync.v
parent761e22013c6715987c411216d012098e60684836 (diff)
downloaduhd-3122c8c3d9740a2fd5e68b99df627bc632d764da.tar.gz
uhd-3122c8c3d9740a2fd5e68b99df627bc632d764da.tar.bz2
uhd-3122c8c3d9740a2fd5e68b99df627bc632d764da.zip
added little endian capability for gpmc to fifo and fifo to gpmc, since ARM is LE.
Diffstat (limited to 'usrp2/gpmc/gpmc_sync.v')
-rw-r--r--usrp2/gpmc/gpmc_sync.v4
1 files changed, 2 insertions, 2 deletions
diff --git a/usrp2/gpmc/gpmc_sync.v b/usrp2/gpmc/gpmc_sync.v
index bac489ca0..61c54a793 100644
--- a/usrp2/gpmc/gpmc_sync.v
+++ b/usrp2/gpmc/gpmc_sync.v
@@ -57,7 +57,7 @@ module gpmc_sync
.rclk(fifo_clk), .dataout(tx18b_data),
.src_rdy_o(tx18b_src_rdy), .dst_rdy_i(tx18b_dst_rdy), .occupied(), .arst(arst));
- fifo19_to_fifo36 f19_to_f36
+ fifo19_to_fifo36 #(.LE(1)) f19_to_f36 // Little endian because ARM is LE
(.clk(fifo_clk), .reset(fifo_rst), .clear(0),
.f19_datain({1'b0,tx18b_data}), .f19_src_rdy_i(tx18b_src_rdy), .f19_dst_rdy_o(tx18b_dst_rdy),
.f36_dataout(tx_data_o), .f36_src_rdy_o(tx_src_rdy_o), .f36_dst_rdy_i(tx_dst_rdy_i));
@@ -70,7 +70,7 @@ module gpmc_sync
wire [15:0] rx_fifo_space, rx_frame_len;
wire dummy;
- fifo36_to_fifo19 f36_to_f19
+ fifo36_to_fifo19 #(.LE(1)) f36_to_f19 // Little endian because ARM is LE
(.clk(fifo_clk), .reset(fifo_rst), .clear(0),
.f36_datain(rx_data_i), .f36_src_rdy_i(rx_src_rdy_i), .f36_dst_rdy_o(rx_dst_rdy_o),
.f19_dataout({dummy,rx18_data}), .f19_src_rdy_o(rx18_src_rdy), .f19_dst_rdy_i(rx18_dst_rdy) );