projects
/
soc-cxxrtl-sim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5277d5c
)
check the output is correct
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Thu, 8 Apr 2021 12:17:30 +0000
(13:17 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Thu, 8 Apr 2021 12:17:30 +0000
(13:17 +0100)
small_jtag_test/main.cpp
patch
|
blob
|
history
diff --git
a/small_jtag_test/main.cpp
b/small_jtag_test/main.cpp
index ef1e52323f895fad56bf1134830f44d976fed9c9..3ffa6a3c0f2420e6bb6b944a8f4912f42132d312 100644
(file)
--- a/
small_jtag_test/main.cpp
+++ b/
small_jtag_test/main.cpp
@@
-18,15
+18,14
@@
int main()
top.p_clk.set<bool>(true);
top.step();
-/*
- bool cur_led = top.p_led.get<bool>();
- uint32_t counter = top.p_counter.get<uint32_t>();
-
- if (cur_led != prev_led){
- cout << "cycle " << cycle << " - led: " << cur_led << ", counter: " << counter << endl;
- }
- prev_led = cur_led;
-*/
+ // check that the output is correct
+ /*
+ top.p_a.set<uint8_t>(5);
+ top.p_b.set<uint8_t>(3);
+ uint32_t f = top.p_f.get<uint32_t>();
+
+ cout << "f " << f << endl;
+ */
}
}