L
Lee
Guest
Dear all,
When I do a big project, I find it is hard to deal with clock. The
most of time when I did a big project is spent on clock control
signals.
For example, when writing a control unit, if I use synchronous memory,
I need to provide address and write/read signal before the arrival of
edge of clock. At the same time, address and write/read signals are
under control of the same clock. In this situation, anybody know how
to deal with this kind of problem?
When I write verilog code, I add some delay statement(i.e. #2). But
when I synthesize the verilog code, the delay statement is ignored. So
to use delay statement is not correct for RTL, right?
Another way I can use may be to write State Machine. But I am not sure
if there is any other good way to do that. Can anybody share with me?
Thanks,
When I do a big project, I find it is hard to deal with clock. The
most of time when I did a big project is spent on clock control
signals.
For example, when writing a control unit, if I use synchronous memory,
I need to provide address and write/read signal before the arrival of
edge of clock. At the same time, address and write/read signals are
under control of the same clock. In this situation, anybody know how
to deal with this kind of problem?
When I write verilog code, I add some delay statement(i.e. #2). But
when I synthesize the verilog code, the delay statement is ignored. So
to use delay statement is not correct for RTL, right?
Another way I can use may be to write State Machine. But I am not sure
if there is any other good way to do that. Can anybody share with me?
Thanks,