forked from Jec222/EE4352_Lab6
-
Notifications
You must be signed in to change notification settings - Fork 0
/
a.out
executable file
·79 lines (79 loc) · 2.21 KB
/
a.out
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
#! /usr/local/Cellar/icarus-verilog/10.3/bin/vvp
:ivl_version "10.3 (stable)" "(v10_3)";
:ivl_delay_selection "TYPICAL";
:vpi_time_precision + 0;
:vpi_module "system";
:vpi_module "vhdl_sys";
:vpi_module "v2005_math";
:vpi_module "va_math";
S_0x7fb9eb401c70 .scope module, "Tb_mem" "Tb_mem" 2 1;
.timescale 0 0;
v0x7fb9eb401dd0_0 .var "A", 3 0;
v0x7fb9eb411e10_0 .var "B", 3 0;
v0x7fb9eb411eb0_0 .var "Cin", 0 0;
v0x7fb9eb411f60_0 .var "clock", 0 0;
v0x7fb9eb411ff0_0 .var/i "i", 31 0;
v0x7fb9eb4120e0_0 .var/i "seed", 31 0;
E_0x7fb9eb401a30 .event negedge, v0x7fb9eb411f60_0;
.scope S_0x7fb9eb401c70;
T_0 ;
%pushi/vec4 10000, 0, 32;
%store/vec4 v0x7fb9eb411ff0_0, 0, 32;
%end;
.thread T_0;
.scope S_0x7fb9eb401c70;
T_1 ;
%pushi/vec4 0, 0, 1;
%store/vec4 v0x7fb9eb411f60_0, 0, 1;
%pushi/vec4 0, 0, 4;
%store/vec4 v0x7fb9eb401dd0_0, 0, 4;
%pushi/vec4 0, 0, 4;
%store/vec4 v0x7fb9eb411e10_0, 0, 4;
%pushi/vec4 0, 0, 1;
%store/vec4 v0x7fb9eb411eb0_0, 0, 1;
T_1.0 ;
%delay 10, 0;
%load/vec4 v0x7fb9eb411f60_0;
%inv;
%store/vec4 v0x7fb9eb411f60_0, 0, 1;
%jmp T_1.0;
%end;
.thread T_1;
.scope S_0x7fb9eb401c70;
T_2 ;
%vpi_func 2 21 "$random" 32 {0 0 0};
%store/vec4 v0x7fb9eb4120e0_0, 0, 32;
%load/vec4 v0x7fb9eb411ff0_0;
T_2.0 %dup/vec4;
%pushi/vec4 0, 0, 32;
%cmp/s;
%jmp/1xz T_2.1, 5;
%jmp/1 T_2.1, 4;
%pushi/vec4 1, 0, 32;
%sub;
%wait E_0x7fb9eb401a30;
%vpi_func 2 24 "$random" 32, v0x7fb9eb4120e0_0 {0 0 0};
%pad/s 1;
%store/vec4 v0x7fb9eb411eb0_0, 0, 1;
%vpi_func 2 25 "$random" 32, v0x7fb9eb4120e0_0 {0 0 0};
%pad/s 4;
%store/vec4 v0x7fb9eb401dd0_0, 0, 4;
%vpi_func 2 26 "$random" 32, v0x7fb9eb4120e0_0 {0 0 0};
%pad/s 4;
%store/vec4 v0x7fb9eb411e10_0, 0, 4;
%jmp T_2.0;
T_2.1 ;
%pop/vec4 1;
%vpi_call 2 28 "$finish" {0 0 0};
%end;
.thread T_2;
.scope S_0x7fb9eb401c70;
T_3 ;
%vpi_call 2 31 "$monitor", $time, " A = %d ; B = %d; Cin= %d ", v0x7fb9eb401dd0_0, v0x7fb9eb411e10_0, v0x7fb9eb411eb0_0 {0 0 0};
%end;
.thread T_3;
# The file index is used to find the file name in the following table.
:file_names 3;
"N/A";
"<interactive>";
"random_1.v";