VHDL simulation problem

damy7522

damy7522

@damy7522-rWZmxI Oct 26, 2024
In model sim, when I compile a program of d-ff, the output does not match when I change the inputs value with respect to clk edge. It shows the correct output when I change the input, with not respect to clk edge means it works as a latch. I attached a file of simulation when i change the input with respect of clk edge. Here reset is active low and these problems do not occur in verilog, using the same software. So please tell me the solution and explain the difference between (clk='1' and clk'event) and (rising_edge(clk)).

----
Admin Note: I've formatted your post to make it more readable. Please avoid SMS language and long trails of dots between words.

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • Jeffrey Arulraj

    Jeffrey Arulraj

    @jeffrey-xA7lUP Oct 4, 2012

    Rising clock edge refers to Positive edge triggered flip flop
  • [Prototype]

    [Prototype]

    @prototype-G9Gn5k Aug 30, 2013

    Could you please paste your VHDL code snippet.