aboutsummaryrefslogtreecommitdiffstats
path: root/host/usrp_e_utils/usrp-e-wb-test.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-07-02 20:16:19 -0700
committerJosh Blum <josh@joshknows.com>2011-07-02 20:16:19 -0700
commit9d63ff21342825a7e9ebcae648d039e397153e51 (patch)
tree9b71df01e19e079cf144aa912d8693a8508f86b6 /host/usrp_e_utils/usrp-e-wb-test.cpp
parent1ef40895952f94ccd21fca48033b5a14d7e4ff30 (diff)
downloaduhd-9d63ff21342825a7e9ebcae648d039e397153e51.tar.gz
uhd-9d63ff21342825a7e9ebcae648d039e397153e51.tar.bz2
uhd-9d63ff21342825a7e9ebcae648d039e397153e51.zip
usrp: removed register defs in regs.hpp that were covered by cores
Diffstat (limited to 'host/usrp_e_utils/usrp-e-wb-test.cpp')
-rw-r--r--host/usrp_e_utils/usrp-e-wb-test.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/host/usrp_e_utils/usrp-e-wb-test.cpp b/host/usrp_e_utils/usrp-e-wb-test.cpp
index efd9312c1..eab4caede 100644
--- a/host/usrp_e_utils/usrp-e-wb-test.cpp
+++ b/host/usrp_e_utils/usrp-e-wb-test.cpp
@@ -88,20 +88,20 @@ int main(int, char *[]){
//make random values
int random_test32 = ::random();
int random_test16 = ::random() & 0xffff;
- int random_secs = ::random();
+ //int random_secs = ::random();
//set a bunch of registers
poke16(E100_REG_MISC_TEST, random_test16);
poke32(E100_REG_SR_MISC_TEST32, random_test32);
- poke32(E100_REG_TIME64_TICKS, 0);
- poke32(E100_REG_TIME64_IMM, 1); //immediate
- poke32(E100_REG_TIME64_SECS, random_secs);
+ //poke32(E100_REG_TIME64_TICKS, 0);
+ //poke32(E100_REG_TIME64_IMM, 1); //immediate
+ //poke32(E100_REG_TIME64_SECS, random_secs);
//read a bunch of registers
if (
(peek16(E100_REG_MISC_TEST) == random_test16) and
(peek32(E100_REG_RB_MISC_TEST32) == random_test32) and
- (peek32(E100_REG_RB_TIME_NOW_SECS) == random_secs) and
+// (peek32(E100_REG_RB_TIME_NOW_SECS) == random_secs) and
// (peek32(E100_REG_RB_TIME_NOW_TICKS) < 1000000) and
true) num_pass++;
else num_fail++;