diff options
author | Josh Blum <josh@joshknows.com> | 2011-06-19 21:28:26 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-06-19 21:28:26 -0700 |
commit | 4fd68de836395c08d69f0a2286286c39b9da7b17 (patch) | |
tree | 932d20e78c5d0336952020a7c23231db5a18f9eb /usrp2/top/E1x0/u1e.v | |
parent | f5e84501dca3baabcffa908a5f53b5123f7be73b (diff) | |
download | uhd-4fd68de836395c08d69f0a2286286c39b9da7b17.tar.gz uhd-4fd68de836395c08d69f0a2286286c39b9da7b17.tar.bz2 uhd-4fd68de836395c08d69f0a2286286c39b9da7b17.zip |
e100: added proc_int and buffer for async messages
Redirected the tx_err stream into a buffer_int2,
and connected interrupt when a packet is written.
The proc_int is muxed into the aux spi miso
to use when its not being selected for spi.
Diffstat (limited to 'usrp2/top/E1x0/u1e.v')
-rw-r--r-- | usrp2/top/E1x0/u1e.v | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usrp2/top/E1x0/u1e.v b/usrp2/top/E1x0/u1e.v index 1ec214e76..dbd6173f3 100644 --- a/usrp2/top/E1x0/u1e.v +++ b/usrp2/top/E1x0/u1e.v @@ -94,7 +94,8 @@ module u1e assign cgen_sclk = overo_gpio65; assign cgen_sen_b = overo_gpio128; assign cgen_mosi = overo_gpio145; - assign overo_gpio147 = cgen_miso; + wire proc_int; //re-purpose gpio for interrupt when we are not using aux spi + assign overo_gpio147 = (cgen_sen_b == 1'b0)? cgen_miso : proc_int; wire _cgen_sen_b; //assign cgen_sen_b = _cgen_sen_b; //replaced by aux spi @@ -155,7 +156,7 @@ module u1e .io_tx(io_tx), .io_rx(io_rx), .tx_i(tx_i), .tx_q(tx_q), .rx_i(DA), .rx_q(DB), - .pps_in(PPS_IN) ); + .pps_in(PPS_IN), .proc_int(proc_int) ); // ///////////////////////////////////////////////////////////////////////// // Local Debug |