[Oberon] RISC5 implementation issues.

Magnus Karlsson magnus at saanlima.com
Tue Feb 16 21:11:45 CET 2016


On 2/16/2016 11:52 AM, Walter Gallegos wrote:
> Magnus,
>
> /always @ (posedge CLK50M) clk <= ~clk;
>
> /This is also a bad practice.  clk edge are not aligned with CLK50M in 
> a uncontrolled fashion. So, this is a kind of asynchronism for the 
> rest of FPGA.
>
> Walter
>
No, not bad practice at all!

The input signal CLK50M is only used in one place and that is to create 
the signal clk.  The signal clk does not need to be aligned with CLK50M 
in any fashion since it's never used by any logic clocked by CLK50M.
If you believe there is a problem here then point us to the line in the 
code where this problem exist.

Magnus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.inf.ethz.ch/pipermail/oberon/attachments/20160216/fb98a20e/attachment-0001.html>


More information about the Oberon mailing list