3 @The skeleton was generated by VUTGenerator@
4 =======================================
5 module_name: vut_Teste_de_geracao
6 ---------------------------------------
9 ---------------------------------------
10 Description: <description>
11 =======================================
14 module vut_Teste_de_geracao();
34 reg [3:0] mem_a
[0:10];
35 reg [3:0] mem_d
[0:3];
36 reg [3:0] mem_e
[0:3];
37 reg [3:0] mem_f
[0:5];
38 reg [3:0] mem_g
[0:3];
46 Teste_de_geracao
test(
54 initial $readmemh("i_a.mem",mem_a
);
55 initial $readmemh("i_c.mem",mem_c
);
56 initial $readmemh("i_d.mem",mem_d
);
57 initial $readmemh("o_e.mem",mem_e
);
58 initial $readmemh("o_f.mem",mem_f
);
59 initial $readmemh("o_g.mem",mem_g
);
62 $dumpfile ("waveform.vcd");
82 $display("|VUT_OK| > All the signals are right-right!\n\n By Rodrigo Peixoto\n");
90 if (e
!== tmp_e
) begin
91 $display("|VUT_FAIL|> Error in e value at time %0dns!!!",$time);
94 if (f
!== tmp_f
) begin
95 $display("|VUT_FAIL|> Error in f value at time %0dns!!!",$time);
98 if (g
!== tmp_g
) begin
99 $display("|VUT_FAIL|> Error in g value at time %0dns!!!",$time);