ex_adder: driver.cpp

File driver.cpp, 210 bytes (added by fpecheux, 15 years ago)
Line 
1// File : driver.cpp
2#include "driver.h"
3
4void driver::prc_driver()
5{
6        sc_uint<3> pattern;
7        pattern=0;
8
9        while (1)
10        {
11                d_a=pattern[0];
12                d_b=pattern[1];
13                d_cin=pattern[2];
14                wait(5,SC_NS);
15                pattern++;
16        }
17}
18