This repository has been archived by the owner on Jun 30, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathtestfile.sv
93 lines (80 loc) · 1.45 KB
/
testfile.sv
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
always_ff @( clock ) begin : blockName
case
endcase
end
always_comb begin : tea
a =
end
// a is a variable
reg k; // after comment
always_comb begin
k = 33;
end
toInst u_toInst(
.a(a),
.b(b),
.c(c)
);
toInst
#(
.width(width),
.width2(width2)
)
u_toInst(
.a(a),
.b(b),
.c(c)
);
mod_name instance_name (.*);
toInst
#(
.width_sdajdads (width_sdajdads ),
.width2_asdf (width2_asdf )
)
u_toInst(
.aasdasd (aasdasd ),
.bdasdasf (bdasdasf ),
.cfafafafasf (cfafafafasf )
);
/*
dasdas
dasda
*/
// sdas
reg aa=15;
reg aaa= 33;
wire [13:fd0] aa;
wire [hkjghj-45: 0] bb;
wire [fsdfsfs-255: 0] vv; //sdfsfs
reg [12:ghjds+1] dd [35:15];//wire reg a = fdfds;
assign a={dd[15][24:0],dd[14][64:9]} ;
assign b=35848+fsfsf;
always_comb begin
a= 15;
addfdf = 33 ;
fff= 15 + gfdg;
dsfs[7487:46]=fsdfs[fsdf]+fsdfs+fsfsd;
end
always_ff(@posedge clk)begin
{a[65:314],b[fdsf:577]}<= 57;
c[15:0] <= df;
fsdf <= df+fsdfs;
if(fsdfsd)begin
dfdsf<= {df+fsdfsd, sfds[das:dasdas};
end
else begin
dfsdf <=fdfdsfsfs;
fdsfds<=dsfsdfs ;
end
end
aa
toInst
#(
.width_sdajdads (width_sdajdads ),
.width2_asdf (width2_asdf )
)
u_toInst(
.aasdasd (aasdasd ),
.bdasdasf (bdasdasf ),
.cfafafafasf (cfafafafasf )
);