hello,
I try to right a code that in every, say, clock change(not only a rise)
it will change the out bit from 1 to 0 or from 0 to 1.
the architecture part is
1 | architecture arc_wat of wat is
|
2 | signal a:std_logic:='1';
|
3 | begin
|
4 |
|
5 | outb<=a;
|
6 |
|
7 |
|
8 | process(clk)
|
9 | begin
|
10 | a<=not(a);
|
11 | end process;
|
12 |
|
13 |
|
14 | end arc_wat;
|
I tried to declare a in the proccess and to move the outb<=a; to the
process as well-still doesnt work-> in the simulation outb is
undefined...
I tried to simplify a bigger problem, and yet i can't see why it is'nt
working.
anyone see where is my error?
thank you!!!