-
-
Notifications
You must be signed in to change notification settings - Fork 27
/
image
executable file
·98 lines (98 loc) · 3.08 KB
/
image
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
#! /usr/bin/vvp
:ivl_version "10.3 (stable)";
:ivl_delay_selection "TYPICAL";
:vpi_time_precision + 0;
:vpi_module "system";
:vpi_module "vhdl_sys";
:vpi_module "v2005_math";
:vpi_module "va_math";
S_0x564c5ea160f0 .scope module, "image_tb" "image_tb" 2 1;
.timescale 0 0;
v0x564c5ea4c140_0 .var "camera_en", 0 0;
v0x564c5ea4c200_0 .var "clk", 0 0;
v0x564c5ea4c2d0_0 .net "data_out", 7 0, v0x564c5ea4bd20_0; 1 drivers
v0x564c5ea4c3d0_0 .net "data_valid", 0 0, v0x564c5ea4be10_0; 1 drivers
S_0x564c5ea39b00 .scope module, "UUT" "image" 2 8, 3 1 0, S_0x564c5ea160f0;
.timescale 0 0;
.port_info 0 /INPUT 1 "clk"
.port_info 1 /INPUT 1 "camera_en"
.port_info 2 /OUTPUT 1 "data_valid"
.port_info 3 /OUTPUT 8 "data_out"
P_0x564c5ea146a0 .param/l "M" 0 3 8, +C4<00000000000000000000000000000101>;
P_0x564c5ea146e0 .param/l "N" 0 3 8, +C4<00000000000000000000000000000101>;
v0x564c5ea39dd0_0 .net "camera_en", 0 0, v0x564c5ea4c140_0; 1 drivers
v0x564c5ea4bc60_0 .net "clk", 0 0, v0x564c5ea4c200_0; 1 drivers
v0x564c5ea4bd20_0 .var "data_out", 7 0;
v0x564c5ea4be10_0 .var "data_valid", 0 0;
v0x564c5ea4bed0 .array "mem", 0 75, 7 0;
v0x564c5ea4bfe0_0 .var/i "ptr", 31 0;
E_0x564c5ea01650 .event posedge, v0x564c5ea4bc60_0;
.scope S_0x564c5ea39b00;
T_0 ;
%vpi_call 3 15 "$readmemh", "../res/data.txt", v0x564c5ea4bed0 {0 0 0};
%pushi/vec4 0, 0, 32;
%assign/vec4 v0x564c5ea4bfe0_0, 0;
%end;
.thread T_0;
.scope S_0x564c5ea39b00;
T_1 ;
%wait E_0x564c5ea01650;
%load/vec4 v0x564c5ea39dd0_0;
%flag_set/vec4 8;
%jmp/0xz T_1.0, 8;
%pushi/vec4 1, 0, 1;
%assign/vec4 v0x564c5ea4be10_0, 0;
%ix/getv/s 4, v0x564c5ea4bfe0_0;
%load/vec4a v0x564c5ea4bed0, 4;
%assign/vec4 v0x564c5ea4bd20_0, 0;
%load/vec4 v0x564c5ea4bfe0_0;
%addi 1, 0, 32;
%assign/vec4 v0x564c5ea4bfe0_0, 0;
%jmp T_1.1;
T_1.0 ;
%pushi/vec4 0, 0, 1;
%assign/vec4 v0x564c5ea4be10_0, 0;
%pushi/vec4 0, 0, 32;
%assign/vec4 v0x564c5ea4bfe0_0, 0;
%pushi/vec4 0, 255, 8;
%assign/vec4 v0x564c5ea4bd20_0, 0;
T_1.1 ;
%load/vec4 v0x564c5ea4bfe0_0;
%cmpi/e 74, 0, 32;
%jmp/0xz T_1.2, 4;
%pushi/vec4 0, 0, 1;
%assign/vec4 v0x564c5ea4be10_0, 0;
%pushi/vec4 0, 0, 32;
%assign/vec4 v0x564c5ea4bfe0_0, 0;
T_1.2 ;
%jmp T_1;
.thread T_1;
.scope S_0x564c5ea160f0;
T_2 ;
%pushi/vec4 0, 0, 1;
%store/vec4 v0x564c5ea4c200_0, 0, 1;
%vpi_call 2 13 "$dumpfile", "../vcd/image.vcd" {0 0 0};
%vpi_call 2 14 "$dumpvars", 32'sb00000000000000000000000000000000, S_0x564c5ea160f0 {0 0 0};
%pushi/vec4 0, 0, 1;
%store/vec4 v0x564c5ea4c140_0, 0, 1;
%delay 2, 0;
%pushi/vec4 1, 0, 1;
%store/vec4 v0x564c5ea4c140_0, 0, 1;
%delay 1000, 0;
%vpi_call 2 19 "$finish" {0 0 0};
%end;
.thread T_2;
.scope S_0x564c5ea160f0;
T_3 ;
%load/vec4 v0x564c5ea4c200_0;
%inv;
%store/vec4 v0x564c5ea4c200_0, 0, 1;
%delay 1, 0;
%jmp T_3;
.thread T_3;
# The file index is used to find the file name in the following table.
:file_names 4;
"N/A";
"<interactive>";
"testbenches/image_tb.v";
"design/image.v";