> sim RTL
ysyx_22040000 李心杨 Linux calcite 6.1.65 #1-NixOS SMP PREEMPT_DYNAMIC Sun Dec 3 06:32:13 UTC 2023 x86_64 GNU/Linux 19:32:07 up 22:30, 2 users, load average: 0.34, 0.57, 0.64
This commit is contained in:
parent
7013e53eb3
commit
a2204cebed
2 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ int main(int argc, char **argv, char **env) {
|
||||||
Verilated::commandArgs(argc, argv);
|
Verilated::commandArgs(argc, argv);
|
||||||
Vexample *top = new Vexample;
|
Vexample *top = new Vexample;
|
||||||
int round = 100;
|
int round = 100;
|
||||||
while (1) {
|
while (round--) {
|
||||||
int a = rand() & 1;
|
int a = rand() & 1;
|
||||||
int b = rand() & 1;
|
int b = rand() & 1;
|
||||||
top->a = a;
|
top->a = a;
|
||||||
|
|
Loading…
Reference in a new issue